What are UTM codes?
UTM codes (Urchin Tracking Module) are snippets of text added to the end of a URL to track the source, medium, campaign, term, and content of website traffic. They help you attribute traffic and conversions to specific marketing campaigns, channels, and ad creatives.
Why use UTM codes?
Track campaign performance: UTM codes enable you to measure the effectiveness of individual marketing campaigns, channels, and ad creative.
Attribute conversions: UTM codes help you identify which campaigns, channels, and ad creative drove conversions (e.g., sales, leads, sign-ups).
Optimize marketing: With UTM code data, you can optimize your marketing strategies by identifying top-performing channels, campaigns, and ad creative.
How to use UTM codes
Choose the 5 standard UTM parameters:
utm_source
: Traffic source (e.g., Facebook, Google, Email)utm_medium
: Traffic medium (e.g., CPC, Email, Social)utm_campaign
: Campaign name or identifierutm_term
: Keyword or search term (for search engine campaigns)utm_content
: Ad creative or variation (e.g., image, headline, text)
Format the UTM code:
Start with
utm_
followed by the parameter name (e.g.,utm_source
)Add an equals sign (
=
) followed by the value (e.g.,utm_source=Facebook
)Separate parameters with ampersands (
&
)
Add the UTM code to your URL:
Append the UTM code to the end of your URL, preceded by a question mark (
?
)For example:
https://example.com?utm_source=Facebook&utm_medium=CPC&utm_campaign=SummerSale
Test and validate your UTM code:
Verify that the UTM code is correctly appended to your URL
Test your URL in a browser or analytics tool to ensure it tracks correctly
Integrate with Google Analytics:
Set up Google Analytics on your site
Configure UTM code tracking in Google Analytics (Settings > View > Tracking Info > Campaigns)
Best practices
Use consistent naming conventions for UTM parameters and values.
Keep UTM codes concise and readable.
Use UTM codes for all marketing campaigns.
Test and validate UTM codes before launching a campaign.
Monitor and analyze UTM code data regularly to optimize marketing strategies.