Bitrix24 Helpdesk

Set up UTM parameters for Google and Facebook Ads

Set up UTM parameters in both Bitrix24 and your ad platforms to track ad costs accurately.

Set up UTM parameters in Bitrix24

  1. Go to CRM > Analytics > Sales Intelligence.
  2. Open the Google Ads block and click Add source.
  3. Sign in to your Google account and select an ad account.
  4. Copy the utm_source and utm_content parameters.
  5. Add these parameters to your website URL when you create an ad.

Example URL: https://your_site/?utm_source=utm_tag_from_bitrix24&utm_content=cid|{campaignid}|gid|{adgroupid}|kwid|{targetid}

UTM parameters explained

  • utm_source: Shows where the visitor came from (for example, an ad platform or email).

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

  • {campaignid}: Identifies the campaign.

  • {adgroupid}: Identifies the ad group.

  • {targetid}: Identifies the keyword.

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


Set up UTM parameters in Google Ads

Add UTM parameters to send campaign data to Bitrix24.

When you create an ad, enter your URL with UTM parameters in the Final URL field: https://example.com/?utm_source=google&utm_content=cid|{campaignid}|gid|{adgroupid}|kwid|{targetid}

Use a tracking template

You can apply UTM parameters automatically with a tracking template. This works at the ad group, campaign, or account level.

In the tracking template field, enter: {lpurl}?utm_source=google&utm_content=cid|{campaignid}|gid|{adgroupid}|kwid|{targetid}.

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

Set a tracking template

For an account

  1. Go to Admin (⚙️).
  2. Open the Account settings tab.
  3. In the Tracking section, enter the template..
This template applies to all ads in the account.

For a campaign

  1. Select a campaign.
  2. Open the Settings tab.
  3. Click Additional settings.
  4. In Campaign URL Options, enter the template.
This template applies only to that campaign.

For an ad group

  1. Select an ad group.
  2. Open the Settings tab.
  3. Click Additional settings.
  4. In Ad group URL Options, enter the template.
This template applies only to that ad group.

The Google Ads interface may vary. To adjust the layout, click Appearance.


Set up UTM parameters in Facebook

Set UTM parameters when you create ads in Facebook Ads Manager.

  1. Enter your website URL.
  2. Click Build a URL parameter.
  3. Fill in the fields:
    • Campaign source: Add the utm_source value.
    • Campaign content: Add the utm_content value.
  4. Click Apply.

Your ads will now include UTM parameters for detailed cost tracking.


In brief

  • Set up UTM parameters in Bitrix24 and your ad platforms to track ad costs accurately.

  • In Bitrix24, connect Google Ads and Facebook, then copy and use the UTM parameters.

  • In Google Ads, add parameters in the Final URL or use a tracking template.

  • In Facebook Ads Manager, add UTM parameters during ad setup to track performance.

Go to Bitrix24
Don't have an account? Create for free