Tag your ads so every order is traced to the right campaign and ad
This is step 4 of the getting started guide. Each template takes about a minute to paste.
AskOrigin reads small tracking tags (UTM parameters) on the links in your ads to credit each order to the right campaign, ad set and ad. Without them, AskOrigin still tracks every visit and order and can tell that a visitor came from, say, Facebook Ads, but not which campaign or ad. Tags apply from the next click on; they don't change past orders.
Copy this tracking template. It captures the campaign, ad group, ad, keyword and Google's click IDs:
{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative}&utm_term={adgroupid}&utm_keyword={keyword}&gclid={gclid}&wbraid={wbraid}&gbraid={gbraid}How to apply (recommended: once for the whole account):
utm_source | Always "google" |
utm_medium | Always "cpc" (cost per click) |
{campaignid} | Google Ads campaign ID |
{creative} | Ad creative ID |
{adgroupid} | Ad group ID |
{keyword} | Matched keyword |
{gclid} | Google Click ID (primary) |
{wbraid} | Web-to-app click ID |
{gbraid} | App-to-web click ID |
Copy these URL parameters for your Meta ads:
utm_source={{site_source_name}}&utm_medium=paid&utm_campaign={{campaign.id}}&utm_content={{ad.id}}&utm_term={{adset.id}}How to apply:
{{site_source_name}} | Platform name (fb, ig, an, msg) |
utm_medium | Always "paid" |
{{campaign.id}} | Meta campaign ID |
{{ad.id}} | Ad creative ID |
{{adset.id}} | Ad set ID |
Copy these URL parameters for your TikTok ads:
utm_source=tiktok&utm_medium=paid&utm_campaign=__CAMPAIGN_ID__&utm_content=__CID__&utm_term=__AID__How to apply:
ttclid click ID to every ad-click URL — do not add it to the template yourself (unlike Google & Meta). Also note __AID__ is the ad group ID, not the ad ID.utm_source | Always "tiktok" |
utm_medium | Always "paid" |
__CAMPAIGN_ID__ | TikTok campaign ID |
__CID__ | Ad ID / creative (use __ADID_V2__ for Smart+ campaigns) |
__AID__ | Ad group ID |
ttclid | TikTok Click ID (auto-appended — no macro needed) |
AskOrigin tracks any traffic source that uses UTM parameters. For platforms like Pinterest Ads, Microsoft Ads, or email campaigns, use this general UTM structure:
utm_source={platform}&utm_medium={type}&utm_campaign={campaign_id}&utm_content={ad_id}&utm_term={adgroup_id}Replace the {placeholders} with the dynamic macros provided by each platform. As long as the UTM parameters are present in the landing page URL, AskOrigin will capture and attribute them.
Not sure where to paste? Email [email protected] or see the getting started guide for pictures and short videos.