Setup
Step 2: Add URL parameters to your ads
The exact parameter string for each ad platform and where to paste it.
Ad platforms do not tell your website which ad was clicked. These parameters do. Wexlyn reads them on the landing page and creates a source for every ad automatically, named after the ad, grouped by ad set or ad group.
Copy the string for each platform below. Tracking → Sources → Auto-source parameters has the same list with copy buttons.
Google Ads
Account level → Settings → Tracking → Tracking template:
{lpurl}?gc_id={campaignid}&h_ga_id={adgroupid}&h_ad_id={creative}&h_keyword_id={targetid}&h_keyword={keyword}&h_placement={placement}
Performance Max and Smart campaigns cannot pass ad ids. Use their campaign-level tracking template:
{lpurl}?g_special_campaign=true&gc_id={campaignid}
Click Test in Google Ads after saving.
Meta (Facebook and Instagram)
Ad level → URL parameters field (not the website URL):
fbc_id={{adset.id}}&h_ad_id={{ad.id}}
Tip: in Ads Manager select all ads, Edit, open URL parameters, paste once, apply to all. Save a column preset that shows the URL parameters column so you can spot ads missing it.
TikTok
Ad level → Destination URL, append:
?ttc_id=__CAMPAIGN_ID__&h_ad_id=__CID__
Ad level → Destination URL, append:
?lnk_id={{CAMPAIGN_ID}}&h_ad_id={{CREATIVE_ID}}
Microsoft (Bing) Ads
Account level → Tracking template:
{lpurl}?h_campaign_id={CampaignId}&bng_id={AdGroupId}&h_ad_id={adid}
Performance Max: add &bng_special_campaign=true.
X (Twitter)
X has no dynamic parameters. Append the ad group id by hand:
?twt_id=YOUR_AD_GROUP_ID
Snapchat, Pinterest, Reddit, AppLovin
Each uses its own dynamic tokens; the Auto-source parameters modal in Tracking → Sources lists the current string for each.
Manual sources and emails
For anything that is not an ad (an email, a YouTube description, a partner link) use:
?el=Email-Name organic email or link source
?sl=Source-Name any manual source
?he={{contact.email}} passes the reader's email so the visit is matched to the lead
Add &htrafficsource=youtube or &hcategory=Newsletter to control the traffic source icon and category.
Check your work
Open an ad from the platform's preview and look at the landing page URL: every parameter above should be visible. Then check Tracking → Sources: a new source appears within a few minutes, named after the ad.