Links
Tag paid media
Use ad platform macros and account-level parameters to tag thousands of ads at once.
Click IDs
You never add gclid, fbclid, msclkid or ttclid yourself: ad platforms append them at click time when auto-tagging is on, and your links leave them alone.
Parameters only
Paid teams rarely tag each ad. Instead they paste one parameter string at account or campaign level, and the platform adds it to every ad. The link builder shows Parameters only for exactly this, and it doesn't need a destination.
utm_source=google&utm_medium=cpc&utm_campaign={_campaign}&utm_content={creative}| Platform | Where to paste it |
|---|---|
| Google Ads | Final URL suffix, or tracking template |
| Microsoft Ads | Final URL suffix |
| Meta | URL parameters |
| TikTok | URL parameters |
| URL tracking parameters | |
| Tracking parameters | |
| Snapchat | URL parameters |
Note
Dynamic values
A macro is a placeholder the platform fills in at click time, like {campaignid}. Type one into any typed field, or use + Dynamic value under it to pick from a list. Formatting cleans the text around a macro but never the macro itself, and its braces stay unencoded in the URL.
Watch out
{_campaign} is a custom parameter. Check each platform's documentation: they rename macros from time to time.Macros by platform
Google Ads
| Macro | Filled in with |
|---|---|
{campaignid} | Campaign ID |
{_campaign} | Campaign name (custom parameter _campaign) |
{adgroupid} | Ad group ID |
{creative} | Ad ID |
{keyword} | Keyword |
{matchtype} | Match type |
{network} | Network |
{device} | Device |
{placement} | Placement |
Microsoft Ads
| Macro | Filled in with |
|---|---|
{CampaignId} | Campaign ID |
{Campaign} | Campaign name |
{AdGroupId} | Ad group ID |
{AdGroup} | Ad group name |
{AdId} | Ad ID |
{keyword} | Keyword |
{MatchType} | Match type |
{Network} | Network |
{Device} | Device |
Meta
| Macro | Filled in with |
|---|---|
{{campaign.id}} | Campaign ID |
{{campaign.name}} | Campaign name |
{{adset.id}} | Ad set ID |
{{adset.name}} | Ad set name |
{{ad.id}} | Ad ID |
{{ad.name}} | Ad name |
{{site_source_name}} | Site (fb, ig, an, msg) |
{{placement}} | Placement |
TikTok
| Macro | Filled in with |
|---|---|
__CAMPAIGN_ID__ | Campaign ID |
__CAMPAIGN_NAME__ | Campaign name |
__AID__ | Ad group ID |
__AID_NAME__ | Ad group name |
__CID__ | Ad ID |
__CID_NAME__ | Ad name |
__PLACEMENT__ | Placement |
| Macro | Filled in with |
|---|---|
{{CAMPAIGN_GROUP_ID}} | Campaign group ID |
{{CAMPAIGN_GROUP_NAME}} | Campaign group name |
{{CAMPAIGN_ID}} | Campaign ID |
{{CAMPAIGN_NAME}} | Campaign name |
{{CREATIVE_ID}} | Ad ID |
| Macro | Filled in with |
|---|---|
{campaignid} | Campaign ID |
{campaign_name} | Campaign name |
{adgroupid} | Ad group ID |
{adgroup_name} | Ad group name |
{adid} | Ad ID |
Snapchat
| Macro | Filled in with |
|---|---|
{{campaign.id}} | Campaign ID |
{{campaign.name}} | Campaign name |
{{adSet.id}} | Ad squad ID |
{{adSet.name}} | Ad squad name |
{{ad.id}} | Ad ID |
{{ad.name}} | Ad name |