UTM Template For Dynamic UTM Tracking

Ready-to-use UTM templates for your ad campaigns. Copy these templates and use them in your Google, Meta, TikTok, Pinterest, or Bing ads to generate UTM parameters dynamically.

Google AdsGoogle Ads

{lpurl}?utm_source=google&utm_medium=paid&utm_campaign={campaignid}&utm_content={adgroupid}&utm_term={keyword}&gadid={creative}

To apply this UTM template in Google Ads, follow the steps below.

Step 1

Navigate to your Google Ads account and click on "Settings" in the left menu. Then select "Account Settings" and find the "Campaign URL options" section.

Google Ads account settings navigation with Campaign URL options highlighted
Step 2

In the Campaign URL options section, locate the "Tracking template" field. Paste the UTM template code provided above into this field and click "Save".

Google Ads tracking template field with UTM parameters

Meta (Facebook)Meta (Facebook)

utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content={{ad.name}}&fbadid={{ad.id}}

Add this template to your URL in the Website URL field when creating an ad. Remember to add "?" before the UTM parameters if it's the first parameter in your URL.

TikTokTikTok

?utm_source=tiktok&utm_medium=paid&utm_campaign=_CAMPAIGN_NAME_&utm_term=_AID_NAME_&utm_content=__CID_NAME_&ttadid=_CID_

Add this template to your landing page URL in TikTok Ads Manager when creating your campaign. TikTok will automatically replace the placeholder values with the actual campaign data.

PinterestPinterest

?utm_source=pinterest&utm_medium=paid&utm_campaign={campaign_name}&utm_term={adgroup_name}&utm_content={creative_id}&padid={adid}

Add this template to your destination URL when creating Pinterest ads. Pinterest will replace the variables with actual campaign values.

BingBing

{lpurl}?utm_source=bing&utm_medium=paid&utm_campaign={campaign}&utm_content={AdGroupld}&utm_term={AdGroup}&bingid={Campaignld}

In Microsoft Advertising, go to Shared Library > URL Options > URL Tracking Template and paste the template above. This will ensure all your ads have consistent UTM tracking.

Frequently Asked Questions (FAQ)

What is a UTM template for dynamic UTM tracking?

A UTM template for dynamic UTM tracking is a tool that allows marketers to automatically generate and apply UTM parameters to URLs based on predefined rules and variables. It simplifies the process of creating tagged URLs for multiple marketing campaigns across various channels.

What are UTM parameters?

UTM parameters are tags added to the end of a URL that help identify the source, medium, campaign name, and other attributes of the traffic coming to a website. They provide valuable information about the origin and characteristics of website visitors.

How can dynamic UTM templates be used for personalization on landing pages?

Dynamic UTM templates can be used to personalize the user experience on landing pages by leveraging the information captured through UTM tags. Marketers can dynamically adapt the content, messaging, or offers displayed on the landing page to match the specific campaign or source that brought the visitor to the site. This personalization enhances the relevance and effectiveness of the landing page.

What role does dynamic UTM tracking play in marketing attribution?

Dynamic UTM tracking plays a crucial role in marketing attribution by allowing marketers to accurately track the performance of each campaign and understand which channels, sources, or content pieces are driving the most traffic, conversions, or revenue. By consistently applying UTM tags to all marketing campaigns, marketers can gain data-driven insights to optimize their campaigns and allocate budgets more effectively.