Installation

Install SourceTag on Bitrix24

Add SourceTag’s tracking script to your Bitrix24 website through the site’s script injection settings.

Step 1: Copy your script tag

In your SourceTag dashboard, go to your site’s detail page and copy the script tag. It looks like:

<script src="https://cdn.sourcetag.io/scripts/YOUR_SITE_ID/st.js" async></script>

Step 2: Add to Bitrix24

  1. Open your Bitrix24 site editor
  2. Go to your site’s settings
  3. Find the section for adding custom scripts or HTML to the page header
  4. Paste the script tag into the header scripts area
  5. Save your changes

The exact location of the script injection setting depends on your Bitrix24 plan and the site builder version you’re using. Look for options like “Custom HTML”, “Header scripts”, or “Analytics code” in your site settings.

Step 3: Publish

Publish your Bitrix24 site. The tracking script is now active on every page.

Step 4: Test

Visit your published site with UTM parameters:

https://yoursite.com/?utm_source=test&utm_medium=cpc&utm_campaign=bitrix24-test

Submit a form on your site and check your Bitrix24 CRM or wherever your form submissions are received. The submission should include hidden fields with attribution data.

Notes

  • The script works with Bitrix24’s built-in form widgets. Hidden fields are added automatically.
  • If your Bitrix24 forms feed into the CRM, attribution data will appear as additional fields in the lead or contact record.
  • Browser cookies are limited to 7 days on Bitrix24 sites (no server-side cookie option available currently).