Attribution
UTM and tracking parameters for your ads
Click ids tell ROASaurus which platform a visit came from; UTMs tell it which campaign, ad set and ad. Use utm_source, utm_medium, utm_campaign, utm_id (campaign id), utm_term (ad set) and utm_content (ad), filled by each platform's dynamic values.
ROASaurus reads the UTMs on the landing page of each click. Spend is matched to campaigns by utm_id (the campaign id) or utm_campaign (the campaign name), and creatives by utm_content. Without UTMs, an order is still credited to the platform when the click id is there, but not to a campaign.
Before you start
- Edit access to your ad accounts.
- Set the parameters before launch where you can: on Meta, editing an ad's URL parameters later can restart learning.
Steps
Meta (Facebook and Instagram)
In each ad, under Tracking › URL parameters, paste:
utm_source=facebook&utm_medium=paid&utm_campaign={{campaign.name}}&utm_id={{campaign.id}}&utm_term={{adset.name}}&utm_content={{ad.name}}You should see: The preview URL with your campaign, ad set and ad names filled in.
TikTok
In the ad's destination URL, choose Build URL parameters and enter:
utm_source=tiktok&utm_medium=paid&utm_campaign=__CAMPAIGN_NAME__&utm_id=__CAMPAIGN_ID__&utm_term=__AID_NAME__&utm_content=__CID_NAME__
Google Ads
Keep auto-tagging on (it adds
gclid). At account level, set the Final URL suffix to:utm_source=google&utm_medium=cpc&utm_id={campaignid}&utm_term={adgroupid}&utm_content={creative}Campaigns are matched to spend by their id.Microsoft Advertising
Keep auto-tagging (it adds
msclkid) and set the final URL suffix to:utm_source=bing&utm_medium=cpc&utm_id={CampaignId}&utm_term={AdGroupId}&utm_content={AdId}ROASaurus recognises Microsoft traffic bymsclkidorutm_source=bing.Other platforms
Use the platform's own name as
utm_source:pinterest,snapchat,reddit,x,linkedin,amazon,applovin,criteo,spotify. Fillutm_campaignwith the campaign name as it is in the ad account, so spend lines up.Check the result
Click one of your ads, then open Marketing › Channels & campaigns › Attribution after an order, or Profit › Orders › Profit per order filtered by UTM source.
You should see: The campaign by name in the By campaign table, with its spend.
Rules that keep reports clean
- Write
utm_sourceandutm_mediumin lower case and the same way every time:facebook, notFacebookon some ads. - Meta fills names as they were when the ad was published; renaming a campaign later does not change the URL. The campaign id in
utm_idstays right. - For creative reports, put the ad name in
utm_content. Name ads likehook: Problem | creator: Anna | format: UGCto group by hook, creator and format: Creative analytics. - Email and SMS: add UTMs in your email tool (
utm_source=klaviyo,utm_medium=email) so those orders are not direct.
Common problems
A campaign shows spend but no orders
utm_id or a utm_campaign that differs from the name in the ad account.Orders show under "other"
utm_source is a value ROASaurus does not map to a platform. Use one of the names above.Next step
See profit per campaignStill stuck? Email us.