Setting up Bitrix24 CRM lead sources

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1173
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    811
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    564
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    745
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    655
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    976

Lead Source Configuration in Bitrix24 CRM

In the CRM all leads are tagged "Website" — whether from organic search, paid ads, or SEO. It's impossible to tell which channel is more effective. Proper lead source configuration is the foundation of marketing analytics.

The Source System in Bitrix24 CRM

In Bitrix24 the lead source is stored in the SOURCE_ID field (directory CRM_SOURCE) and in UTM fields: UTM_SOURCE, UTM_MEDIUM, UTM_CAMPAIGN, UTM_CONTENT, UTM_TERM.

These are two different levels of detail:

  • SOURCE_ID — broad channel: "Website", "Call", "Email", "Social media"
  • UTM fields — detailed source: specific campaign, ad, keyword

Both fields are needed. SOURCE_ID for quick grouping in reports, UTM — for precise ROI.

Configuring the Source Directory

The directory is edited at: CRM → Settings → Directories → Lead Source.

Standard values: Call, Email, Website, Advertising, Partner, Internal source, Other.

Add specific channels if they are significant in your business: "Exhibition", "Client referral", "Telegram channel", "Incoming chat." Don't fragment too finely — 7–10 sources is enough. Everything else is detailed with UTM tags.

Automatic Source Assignment

Leads from CRM forms: the source is set in the form settings (CRM → Lead Generation → CRM Forms → [Form] → CRM Settings → Source). Set a specific source, not "Website."

Leads from open channels (chat, VK, Telegram): the source is set in the open channel settings (Contact Center → Open Channels → [Channel] → CRM → Source).

Leads via REST API (crm.lead.add): pass SOURCE_ID and UTM fields explicitly:

$client->call('crm.lead.add', [
    'fields' => [
        'TITLE'          => 'Landing page application',
        'SOURCE_ID'      => 'WEB',
        'UTM_SOURCE'     => $_GET['utm_source'] ?? '',
        'UTM_MEDIUM'     => $_GET['utm_medium'] ?? '',
        'UTM_CAMPAIGN'   => $_GET['utm_campaign'] ?? '',
        'UTM_CONTENT'    => $_GET['utm_content'] ?? '',
        'UTM_TERM'       => $_GET['utm_term'] ?? '',
    ],
]);

Preserving UTM When Converting a Lead to a Deal

When converting a lead to a deal (crm.lead.convert) UTM fields are not automatically transferred to the deal. This is a known Bitrix24 behavior: UTMs are stored on the lead, the deal fields are empty.

Solution via automation: when converting a lead to a deal, the "Change Deal Fields" automation rule copies UTMs from the lead to the corresponding deal fields. Alternatively, via REST in the onCrmLeadConvert event handler.

This is critical for source analytics by deals — without UTM transfer all deals will have no source.

Sources in Reports

After proper configuration, CRM → Analytics → Sources shows: how many leads and deals came from each source, their conversion and total revenue. With connected end-to-end analytics — also the ROI of each channel.

Filtering the funnel by source allows comparison: leads from paid search convert to deals at 12%, from organic — 8%, from an exhibition — 25%. This is data for budget reallocation.

Setup Timeframes

Task Time
Configuring the source directory 30 min
Configuring forms and open channels 1–2 h
Configuring UTM transfer on conversion 1–2 h
Verifying data accuracy in reports 1 h

Full lead source configuration — 3–5 hours.