Bitrix24Care

Set up UTM tags for Google and Facebook Ads

For the correct ad costs analysis, set up UTM tags in Bitrix24 and advertising services like Google Ads and Facebook.

In this article:


Set up UTM tags in Bitrix24

Go to CRM > Analytics > Sales Intelligence.

Click on Google Ads block and select Add source.

Log in to your Google account and select the ad account. Then, copy the utm_source and utm_content tags and add them to your website address when creating an ad.

Your site address will look like this: https://your_site/?utm_source=utm_tag_from_bitrix24&utm_content=cid|{campaignid}|gid|{adgroupid}|kwid|{targetid}

UTM tags and their meanings

  • utm_source: Shows where the visitor came from. For example, mail or advertising service.

  • utm_content: Differentiates similar content or links within the same ad.

  • {campaignid}: Marks the campaign your ad appeared in.

  • {adgroupid}: Shows the ad group your ad was part of.

  • {targetid}: Identifies the keyword.

You can set up UTM tags for Facebook ads in the same way.


Set up UTM tags in Google Ads

To send campaign data to your account, set up the appropriate UTM tags.

When creating a new ad campaign, enter your website address with the correct UTM tags in the Final URL field: https://example.com/?utm_source=google&utm_content=cid|{campaignid}|gid|{adgroupid}|kwid|{targetid}

You can also create a tracking template to apply the same final URL with UTM tags to an ad group, campaign, or account. The template will automatically apply to all ads, depending on its setting.

In the tracking template field, specify a link with your UTM tags: {lpurl}?utm_source=google&utm_content=cid|{campaignid}|gid|{adgroupid}|kwid|{targetid}.

The {lpurl} parameter is the URL that you put in the Final URL field of the ads. For example, if the ad contains the link to your page https://example.com/ as the final URL, it will replace {lpurl}.

To set up a tracking template for an account,

  1. Go to Admin (⚙️).
  2. Open the Account settings tab.
  3. Under Tracking, specify the options in the field.
The tracking template for the account will apply UTM tags to all ads.

To set up a tracking template for an ad campaign,

  1. Select the desired ad campaign.
  2. Open the Settings tab.
  3. Click Additional settings.
  4. Under Campaign URL Options, specify options in the field.
The campaign tracking template will apply UTM tags only to a specific campaign.

To set up a tracking template for an ad group,

  1. Select the desired group.
  2. Open the Settings tab.
  3. Click Additional settings.
  4. Under Ad group URL Options, specify the options in the field.
The ad group tracking template will apply UTM tags only to ads from a certain group.

The ad service interface may vary. To customize it, click the Appearance button.


Set up UTM tags in Facebook

UTM tags in Facebook ads transmit data to build a detailed ad spend report. Set up UTM tags during ad creation in Facebook Ads Manager.

Specify your site address and click Build a URL parameter.

Fill in the following fields:

  • Campaign source: Specify the parameter from utm_source.
  • Campaign content: Add the utm_content parameter.

Click Apply, and clicks on your ads will include the necessary parameters for detailed advertising cost analysis.


In brief

  • For the correct ad costs analysis, set up UTM tags in Bitrix24 and advertising services like Google Ads and Facebook.

  • In Bitrix24, connect Google Ads and Facebook as traffic sources, copy UTM tags, and add them to your website address.

  • For Google Ads, include UTM tags in the Final URL field or use a tracking template to apply the same final URL with UTM tags to an ad group, campaign, or account.

  • In Facebook Ads Manager, set up UTM tags during ad creation to ensure detailed ad spend reporting.

Was this information helpful?
Integration specialist assistance
That's not what I'm looking for
Complicated and incomprehensible text
The information is outdated
It's too short. I need more information
I don't like the way this tool works
Go to Bitrix24
Don't have an account? Create for free