Atribu
Tracking

UTM Parameters

Tag your traffic sources so Atribu knows where your visitors come from

UTM Parameters

UTM parameters tell Atribu where your traffic comes from. They are small tags added to the end of your URLs that identify the traffic source, medium, and campaign.


What are UTM parameters?

When you share a link in an ad, email, or social post, you can add UTM parameters to the URL so Atribu knows exactly where the visitor came from. Here is an example:

URL with UTM parameters
https://yoursite.com/landing-page?utm_source=facebook&utm_medium=paid&utm_campaign=spring_sale&utm_content=video_ad_1

Everything after the ? is a set of key-value pairs that Atribu reads and stores with the visitor's session. This data powers your Traffic Sources breakdown and campaign-level attribution.


UTM parameters Atribu reads

ParameterWhat it tells AtribuExample values
utm_sourceWhere the traffic comes fromfacebook, google, newsletter, linkedin
utm_mediumHow they got therepaid, cpc, email, organic, social
utm_campaignWhich campaign sent themspring_sale, black_friday, webinar_march
utm_contentWhich ad or content variationvideo_ad_1, banner_blue, cta_bottom
utm_termWhich keyword (for search ads)marketing_tools, crm_software

Only utm_source and utm_medium are required

At minimum, always include utm_source and utm_medium. The other parameters are optional but highly recommended for detailed reporting.


Click IDs (automatic, no setup needed)

Ad platforms automatically append a click ID to your URLs when someone clicks an ad. These are separate from UTM parameters -- you do not need to set them up.

Click IDPlatformWhat it does
fbclidMeta (Facebook / Instagram)Automatically added by Meta to every ad click
gclidGoogle AdsAutomatically added by Google to every ad click
msclkidMicrosoft / Bing AdsAutomatically added by Microsoft to every ad click
ttclidTikTok AdsAutomatically added by TikTok to every ad click

Atribu detects these click IDs and uses them for two things:

  1. Channel classification -- A visit with fbclid is classified as Paid Social, even if UTM parameters are missing
  2. Ad-level attribution -- Click IDs help trace a specific click back to the exact ad that generated it

Click IDs take priority

If a visit has both a click ID and UTM parameters, the click ID takes priority for channel classification. This prevents misclassification when UTM tags are missing or incorrect. For example, a visit with gclid is always classified as Paid Search, regardless of what utm_medium says.


How UTM parameters feed into channels

Atribu automatically classifies each visit into a marketing channel based on UTMs, referrer, and click IDs:

What Atribu seesClassified as
utm_medium=paid or utm_medium=cpc with utm_source=facebookPaid Social
utm_medium=paid or utm_medium=cpc with utm_source=googlePaid Search
fbclid or ttclid in URL (no social referrer)Paid Social
gclid or msclkid in URLPaid Search
utm_medium=emailEmail
utm_medium=affiliateAffiliates
utm_medium=displayDisplay
Referrer from google.com, bing.com (no paid indicators)Organic Search
Referrer from facebook.com, instagram.com (no paid indicators)Organic Social
Other referrerReferral
No referrer, no UTMs, no click IDsDirect

Best practices

Always pair utm_source and utm_medium

These two parameters work together. utm_source identifies the platform, utm_medium identifies the type of traffic:

Good: source + medium together
?utm_source=facebook&utm_medium=paid
?utm_source=google&utm_medium=cpc
?utm_source=mailchimp&utm_medium=email

Use consistent, lowercase naming

Pick a convention and stick with it across all your campaigns:

Consistent naming
utm_source=facebook    (not Facebook, fb, or FB)
utm_medium=paid        (not Paid, cpc, or PPC)
utm_campaign=spring_sale  (not Spring Sale or SpringSale)

Atribu treats Facebook and facebook as different sources, so inconsistent casing leads to fragmented reports.

UTM parameters should only be used on links from external sources pointing to your site. Never add UTMs to links within your own website (like navigation menus or internal banners) -- this overwrites the original traffic source and breaks attribution.

External link (correct)
Email newsletter link: https://yoursite.com/sale?utm_source=newsletter&utm_medium=email

Internal link (never do this):
https://yoursite.com/pricing?utm_source=homepage&utm_medium=banner

Include utm_content for ad variations

When running multiple ad variations in the same campaign, use utm_content to distinguish them:

Distinguishing ad variations
?utm_source=facebook&utm_medium=paid&utm_campaign=spring_sale&utm_content=video_ad
?utm_source=facebook&utm_medium=paid&utm_campaign=spring_sale&utm_content=carousel_ad
?utm_source=facebook&utm_medium=paid&utm_campaign=spring_sale&utm_content=static_image

This lets you see which creative variation drives the most conversions.


Meta Ads and UTM parameters

When you connect your Meta Ads account to Atribu, campaign and ad data is synced automatically. Meta also appends fbclid to every ad click URL. For the best results, add UTM parameters to your Meta ad URLs:

Recommended Meta ad URL parameters
?utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_content={{ad.name}}

Meta's dynamic URL parameters ({{campaign.name}}, {{ad.name}}) are automatically replaced with the actual campaign and ad names when someone clicks.


Next steps

On this page