Advertising Expense Tracking Configuration in Bitrix24
A marketer downloads expenses from Yandex.Direct to Excel, manually matches them with leads from CRM, calculates acquisition cost on a calculator. Once a month, with a two-week delay. Bitrix24 can link advertising expenses to deals automatically — you need to properly set up end-to-end analytics and UTM tag transfer.
End-to-End Analytics and CRM Tracking
Bitrix24 tracks a customer's path from ad click to closed deal through the CRM tracking mechanism. The crm.tracking.trace method captures the source of appeal: UTM tags, referrer, ad campaign identifier.
How it works:
- Visitor lands on site via ad link with UTM tags.
- Bitrix24 script (widget on site or code manually) reads
utm_source,utm_medium,utm_campaign,utm_content,utm_termand saves in cookie. - When lead is created (form, call, chat), tags are transferred to CRM via
crm.tracking.trace. - Lead is created with populated fields
UTM_SOURCE,UTM_MEDIUM,UTM_CAMPAIGN— these are built-in CRM fields, no need to create custom ones.
For correct tracking, all ad links must contain UTM tags. Without them, Bitrix24 will only determine the source domain — this is insufficient for ROI calculation by campaign.
Connecting Ad Accounts
Bitrix24 imports expenses from ad platforms through standard connectors:
- Yandex.Direct — connected via OAuth in CRM → End-to-end analytics → Yandex.Direct. Bitrix24 imports expense data by campaigns.
- Google Ads — similarly, OAuth authorization of Google Ads account. Expense import by campaigns and ad groups.
- Facebook / Instagram Ads — connection via Meta business account. Expenses sync automatically.
- VK Ads — connector in end-to-end analytics section.
After connection, Bitrix24 automatically matches expenses with leads and deals by UTM tags. In the end-to-end analytics report you see: spent X rubles on campaign → received Y leads → closed Z deals for W amount.
Attribution Models
A customer could see an ad in Direct, return via Google, then submit a form from search. Which channel gets the deal credit? Bitrix24 supports several models:
- First touch — deal is linked to the first source that brought the customer to the site. Good for evaluating acquisition channels.
- Last touch — the last source before lead creation is credited. Good for evaluating converting channels.
The model is selected in end-to-end analytics settings. In practice, for most B2B companies "first touch" is more useful: deal cycle is long, it's important to understand where the customer first heard about you.
ROI by Campaign
End-to-end analytics report in Bitrix24 shows:
- Expenses by each ad channel and campaign
- Number of leads, conversion to deal, amount of closed deals
- ROI = (revenue − expense) / expense × 100%
Data updates automatically when syncing with ad accounts. For correct ROI, managers must close deals with filled amount — otherwise revenue will be zero and ROI will go negative regardless of expenses.
What We Configure
- Installation of CRM tracking script on site (Bitrix24 widget or manual integration)
- Ad campaign tagging with UTM tags by unified standard
- Connection of ad accounts: Yandex.Direct, Google Ads, Meta, VK
- Selection of attribution model
- Verification of correct UTM transfer: test transition → lead creation → check
UTM_SOURCE,UTM_CAMPAIGNfields - Configuration of end-to-end analytics report with ROI calculation
- Marketer training: reading reports, data interpretation, common mistakes (empty UTM, unclosed deals)







