Set up lead source tracking
Set up the UTM codes
If you are already using web analytics tools, for example, Google Analytics, you are likely to have established tracking rules for the source and channel classification as well as UTM code you use. In this case, we recommend saving the website URLs and UTM codes you use to Creatio. To do this, use the following lookups:
- Lead channels. Contains the index of all resource types that provided new leads, e. g., "Social accounts," "Search-based advertising," or "Email." The Lead channel code field of the lookup page contains the "utm_medium" code values that match the channel. For example, "display," "cpm," and "banner" for the "Media advertising" channel. Creatio uses these values to identify the channel.
- Lead sources. Contains the index of specific resources from which the user was redirected, e. g., "Twitter," "Google," or "Creatio marketing." The Lead source code field of the lookup page contains the "utm_source" code values that match the source. For example, "facebook," "facebook.com," "fb," and "fb.com" for the "Facebook" source. Creatio uses these values to identify the source. Here you can also set up the default channel for the selected source. For example, the "Social accounts" channel for "Facebook" and "Search-based advertising" channel for "Google AdWords."
- Lead source URL. Contains the list of source websites (referrers) Creatio can identify. Here you can also set up the default source for the selected referrer. For example, the lookup contains the following URLs by default: "facebook.com" ("Facebook" source), "twitter.com" ("Twitter" source), "linkedin.com" ("Linkedin" source), etc.
The lookups above have the most common website URLs and codes preconfigured. You can expand the lookups with the values your company uses.
Since Creatio version 8.0.3, when a lead is registered from a landing page, the UTM codes that the landing page URL uses are passed to the "utm_campaign", "utm_content", "utm_medium", "utm_source," "utm_term" Creatio columns as strings. Creatio does not display these columns on the lead page, but you can use the columns for customization, for example, in charts and pivot tables. This functionality also lets you utilize UTM codes not included in the lookups. For example, codes from emails sent by your partners.
Add a lead channel
-
Open the System Designer, for example, by clicking in the top right. Go to the System setup block → Lookups.
-
Go to the Leads folder and open the Lead channels lookup.
-
Click New lead channel to add a record to the lookup. Enter the channel name in the row that appears, for example, "Partner sale," and click on the toolbar.
-
Click on the toolbar to open the page of the record you created.
-
Click the Add button on the Lead channel code tab. This opens a page. Enter the "utm_medium" code by which to identify the channel, for example, "affiliate." Save the page.
Similarly, you can add other "utm_medium" codes by which to identify the channel.noteLearn more about the rules that identify the lead source and channel in a separate article: Rules for determining lead sources (with examples).
As a result, Creatio will save the channel to the lookup. The lookup will be used to identify the channel during lead tracking. In this example, when Creatio receives the "http://site.com/page?utm_medium=affiliate" redirection URL, the lead channel will be set to "Partner sale."
Add a lead source
- Open the System Designer, for example, by clicking in the top right. Go to the System setup block → Lookups.
- Open the Lead sources lookup.
- Click New lead source button to add a record to the lookup. Take the following steps in the row that appears:
- Enter the source name, for example, "Admitad.com."
- Click in the Default channel field and select a channel in the dialog that opens, for example, "Partner sale." The lead channel will be set to this value if Creatio cannot retrieve the "utm_medium" code value from the redirection URL but can retrieve the "utm_source" code value.
- Click on the toolbar to save the record.
- Click the toolbar button to open the page of the record you created.
- Click the Add button on the Lead source code tab. This opens a page. Enter the "utm_medium" code by which to identify the channel, for example, "admitad." Save the page.
Similarly, you can add other "utm_source" codes by which to identify the source.
As a result, Creatio will save the source to the lookup. The lookup will be used to identify the channel and source during lead tracking. In this example, when Creatio receives the "http://site.com/page?utm_source=admitad" redirection URL, the lead source and channel will be set to "Admitad.com" and "Partner sale," respectively.
Add a source website
- Open the System Designer by clicking in the top right. Go to the System setup block → Lookups.
- Open the Lead sources lookup.
- Add a record to the lookup. Take the following steps in the row that appears:
- Enter the source URL in the URL field, for example, "mysite.com."
- Click in the Lead source field and select a source in the dialog that opens, for example, "Admitad.com". The lead source will be set to this value if Creatio cannot retrieve the UTM codes from the redirection URL but can retrieve the referrer.
- Click on the toolbar to save the record.
Similarly, add other referrers by which to identify the lead sources.
As a result, Creatio will save the referrer to the lookup. The lookup will be used to identify the channel and source during lead tracking. In this example, when Creatio receives the "http://mysite.com/" referrer, the lead source and lead channel will be set to "Admitad.com" and "Partner sale," respectively.
Embed a cookie tracking script into your website
To ensure lead source tracking operates as intended, insert a special code snippet that tracks cookies into the source code of each page on your website.
The setup of lead source tracking is done by the website administrator. To insert the tracking code, you need access to the HTML source code of your website and permission to edit it.
-
Copy the following code snippet that tracks cookies:
<script src="https://webtracking-v01.creatio.com/JS/track-cookies.js"></script>
-
Insert the tracking code into the HTML source code of each page on your website. You can paste the code anywhere before the closing tag at the end of the page. If you do not insert the code into each page on your website, Creatio will be unable to track every resource from which prospects were redirected to the website.
After you set up lead source tracking for your website, the lead source and channel will become available in Creatio. You will be able to view tracking data in the History tab on the lead and connected contact page.