Introduction
UTM (Urchin Tracking Module) parameters are essential for tracking the performance of your marketing campaigns in Modern Ai. By appending UTM parameters to your URLs, you can understand which platforms/campaigns/adsets/ads drive traffic and conversions. This document will guide you through setting up UTM parameters for different platforms and explain where they should be placed in the URL.
What are UTM Parameters?
UTM parameters are tags added to the end of your URL to help track the source, medium, campaign, term, and content associated with your marketing efforts. The primary UTM parameters are:
utm_source: Identifies the source of the traffic (e.g., Google, Facebook).
utm_campaign: Identifies the campaign name/id
utm_content: Identifies the ad set name/id
utm_term: Identified the ad name/id
UTM Parameter Structure
The general structure of a URL with UTM parameters looks like this:
https://www.example.com/page?utm_source=source&utm_campaign=campaign&utm_content=content&utm_term=term
Setting Up UTM Parameters
1. Identify Your Campaign Details
Determine the dynamic variables by platform for source, campaign name, content, and term you want to track. Dynamic variables differ by ad network, so it is imperative that you use the correct variable per platform
2. Construct the URL
Constructing the url involves putting together a few parts:
Start with your base URL (e.g., https://www.example.com/page).
Add a question mark (?) to indicate the start of the query parameters.
Append each UTM parameter in the format key={{value}}, separated by ampersands (&).
Example:
Base URL: https://www.example.com/page
Source: {{source}}
Medium: {{medium}}
Campaign: {{campaign.id}}
Term: {{term}}
Content: {{content}}
The final URL would be:
https://www.example.com/page?utm_source={{source}}&utm_campaign={{campaign.id}}&utm_content={{content}}&utm_term={{term}}
Platform Specific Guidelines
Google Ads
To set UTM parameters in Google Ads:
Go to your Google Ads dashboard and open the campaign or ad group you want to edit.
Click on an Ad and then select Edit.
Scroll to the Final URL Suffix field (under “Tracking”).
Paste your UTM string here.
UTM Values to Use:
utm_source: Google
utm_campaign: {campaignid}
utm_content: {adgroupid}
utm_term: {creative}
Example:
https://example.com/?utm_source=google&utm_campaign={campaignid}&utm_content={adgroupid}&utm_term={creative}
Facebook Ads (Meta Ads)
To set UTM parameters in Facebook Ads:
In Ads Manager, open the Ad you want to edit.
Scroll down to the Tracking section.
Locate the URL Parameters field.
Paste your UTM string here.
UTM Values to Use:
utm_source: Facebook
utm_campaign: {{campaign.id}}
utm_content: {{adset.id}}
utm_term: {{ad.id}}
Example:
https://example.com/?utm_source=facebook&utm_campaign={{campaign.id}}&utm_content={{adset.id}}&utm_term={{ad.id}}
TikTok Ads
To set UTM parameters in TikTok Ads:
In TikTok Ads Manager, open the ad you want to edit.
Under the Ad Details section, find the Tracking area.
Locate the URL Parameters or Tracking Parameters field.
Paste your UTM string here.
UTM Values to Use:
utm_source: TikTok
utm_campaign: __CAMPAIGNID__
utm_content: __AID__
utm_term: __CID__
Example:
https://example.com/?utm_source=tiktok&utm_campaign=__CAMPAIGN_ID__&utm_content=__AID__&utm_term=__CID__
Snapchat Ads
To set UTM parameters in Snapchat Ads:
Go to Ads Manager and open the ad setup screen.
In the Ad Details section, scroll to Delivery.
Find the URL Parameters field.
Paste your UTM string here.
UTM Values to Use:
utm_source: Snapchat
utm_campaign: {{campaign.id}}
utm_content: {{adset.id}}
utm_term: {{ad.id}}
Example:
https://example.com/?utm_source=snapchat&utm_campaign={{campaign.id}}&utm_content={{adset.id}}&utm_term={{ad.id}}
Pinterest Ads
To set UTM parameters in Pinterest Ads:
Open Pinterest Ads Manager and edit your ad or Pin promotion.
Scroll to the Destination URL section.
Click Add tracking or go to the Tracking Parameters field.
Paste your UTM string here.
UTM Values to Use:
utm_source: Pinterest
utm_campaign: {campaignid}
utm_content: {adgroupid}
utm_term: {adid}
Example:
https://example.com/?utm_source=pinterest&utm_campaign={campaignid}&utm_content={adgroupid}&utm_term={adid}
Taboola Ads
To set UTM parameters in Taboola:
Go to your Taboola campaign settings.
Scroll to the Tracking section.
Find the Tracking Code / URL Parameters field.
Paste your UTM string here.
UTM Values to Use:
utm_source: Taboola
utm_campaign: {campaign_id}
utm_content: {site_id}
utm_term: {campaign_item_id}
Example:
https://example.com/?utm_source=taboola&utm_campaign={campaign_id}&utm_content={site_id}&utm_term={campaign_item_id}
Outbrain Ads
To set UTM parameters in Outbrain:
Go to your Outbrain campaign.
Under the Tracking section, locate the Append to URL field.
Paste your UTM string here.
UTM Values to Use:
utm_source: Outbrain
utm_campaign: {{campaign_id}}
utm_content: {{campaign_name}}
utm_term: {{ad_id}}
Example:
https://example.com/?utm_source=outbrain&utm_campaign={{campaign_id}}&utm_content={{campaign_name}}&utm_term={{ad_id}}
Bing Ads
To set UTM parameters in Microsoft Ads:
In Microsoft Ads, edit your ad or campaign.
Go to the URL Options section.
In the Final URL Suffix field, paste your UTM string.
UTM Values to Use:
utm_source: Bing
utm_campaign: {{Campaignid}}
utm_content: {{AdGroupId}}
utm_term: {{AdId}}
Example:
https://example.com/?utm_source=bing&utm_campaign={CampaignId}&utm_content={AdGroupId}&utm_term={AdId}
Klaviyo
To set UTM parameters in Klaviyo:
In Klaviyo, click on Account (lower-left corner).
Select the Settings menu.
Click into the Other tab.
Then click on UTM Tracking.
You’ll see fields to set default UTM parameters for both Campaigns and Flows — enter your values here.
UTM Values to Use:
utm_source:
Campaign Value = Klaviyo
Flow Value = Klaviyo
Utm_medium:
Campaign Value = Email
Flow Value = Flow
utm_content:
Campaign Value = Campaign Name
Flow Value = Flow Message Name
If you have any questions or need further assistance, please reach out to our support team at [email protected].

