trackingtemplates.com

Tracking templates for Google, Meta, TikTok, Microsoft Ads & more

Copy-ready recipes and a live builder for ValueTrack, UTMs and URL macros — across every major ad platform and the tools on top of them.

Open the builder Check, merge or build a template for any network. Start building → Browse recipes HubSpot, Triple Whale, Hyros, Northbeam and more. View recipes → Parameter reference Macros for Google, Meta, TikTok, LinkedIn, Pinterest, Bing, Baidu. View parameters → Certified click trackers Directory of Google Ads click-tracking companies with copy-ready templates. Browse trackers →

Built for every major ad platform

Same job on every network: get campaign data into the click URL. Different syntax per platform.

Google Ads Microsoft / Bing Ads Facebook / Meta Ads TikTok Ads LinkedIn Ads Pinterest Ads Baidu Ads All parameter guides →

Featured tracking template recipes

Paste-ready stacks with install notes. Open any recipe in the builder to tweak it.

HubSpot → Google Ads
Google Ads · Official hsa_* template
4.5 (22)
Tracking template HubSpot’s auto-tagging-compatible template. Replace YOUR_GOOGLE_ADS_CUSTOMER_ID (no dashes).
Open →
HubSpot + ClickCease → Google Ads
Google Ads · CRM + click fraud (merged params)
4.2 (14)
Tracking template HubSpot base with ClickCease query keys appended. Replace ClickCease ID + domain.
Open →
ClickCease redirect → Google Ads
Google Ads · Third-party click monitor URL
4.4 (16)
Tracking template Full ClickCease redirect template. Unique per domain — paste from your ClickCease dashboard.
Open →
Triple Whale → Google Ads
Google Ads · Minimal tw_* attribution
4.6 (22)
Tracking template Documented minimal Triple Whale template: tw_source, tw_adid, tw_campaign.
Open →
Triple Whale → Microsoft Ads
Microsoft Ads · tw_source=bing on Bing / MSA
4.6 (19)
Tracking template Triple Whale attribution tokens mapped to Microsoft Advertising ValueTrack fields.
Open →
Hyros → Google Ads (Search)
Google Ads · {lpurl}&gc_id&h_ad_id
4.2 (23)
Tracking template Hyros Search/Display template using ampersand join for existing query strings.
Open →
Northbeam → Google Ads
Google Ads · Final URL suffix (nbt=)
4.0 (14)
Final URL suffix Paste into Final URL suffix, not Tracking template. Safe to append after existing UTMs.
Open →
WhatConverts → Google Ads
Google Ads · Lead-call attribution ValueTrack
4.4 (17)
Tracking template WhatConverts campaign / content / keyword mapping at account level.
Open →
HubSpot + Triple Whale → Google Ads
Google Ads · CRM + ecommerce attribution
4.2 (22)
Tracking template HubSpot hsa_* first, Triple Whale tw_* added without overwriting HubSpot UTMs.
Open →
UTMs → Microsoft Ads
Microsoft Ads · Campaign / AdGroup / Keyword names
4.5 (18)
Tracking template Readable Microsoft Ads UTMs using {Campaign}, {AdGroup}, {Keyword}.
Open →
ClickPatrol → Google Ads
Google Ads · Official redirect tracker
4.1 (21)
Tracking template ClickPatrol tracking template. Replace [[CLICKPATROL_ID]] with your uid from ClickPatrol.
Open →
UTMs → Facebook / Meta Ads
Facebook / Meta Ads · {{site_source_name}} + campaign macros
4.3 (20)
Tracking template Recommended Meta URL parameters for Facebook & Instagram with dynamic UTMs.
Open →
UTM IDs → Facebook / Meta Ads
Facebook / Meta Ads · Stable campaign / ad set / ad IDs
4.4 (22)
Tracking template ID-based Meta parameters for rename-safe reporting in GA4.
Open →
UTMs → TikTok Ads
TikTok Ads · __CAMPAIGN_NAME__ macros
4.2 (19)
Tracking template TikTok Ads UTM macros. Remember __AID__ is ad group and __CID__ is creative.
Open →
UTMs → LinkedIn Ads
LinkedIn Ads · {campaignId} + {creative}
4.2 (22)
Tracking template Sparse LinkedIn macros with classic UTMs. Pair with the Insight Tag.
Open →
UTM IDs → LinkedIn Ads
LinkedIn Ads · Campaign + creative IDs
4.3 (15)
Tracking template ID-focused LinkedIn UTMs for rename-safe reporting alongside the Insight Tag.
Open →
UTMs → Pinterest Ads
Pinterest Ads · Promoted pin tracking
4.2 (22)
Tracking template Pinterest Ads URL parameters with promoted pin ID for pin-level reporting.
Open →
UTMs → Baidu Ads
Baidu Ads · Tuiguang plan / keyword / idea
4.2 (22)
Tracking template Baidu Tuiguang starter UTMs. Confirm {planid} vs {campaignid} in your UI language.
Open →
Keyword UTMs → Microsoft Ads
Microsoft Ads · {Keyword} + match-friendly terms
4.1 (14)
Tracking template Microsoft Ads UTMs emphasizing {Keyword} and {MatchType} for Search reporting in GA4.
Open →
Placement UTMs → Facebook / Meta Ads
Facebook / Meta Ads · {{placement}} + campaign macros
4.1 (22)
Tracking template Meta URL parameters that keep placement (Feed, Stories, Reels…) in the query string for GA4 breakdowns.
Open →
Placement UTMs → TikTok Ads
TikTok Ads · __PLACEMENT__ + campaign macros
4.2 (20)
Tracking template TikTok Ads UTMs with placement macros for Feed vs search vs other inventory splits.
Open →

All recipes →

What a tracking template does

On Google and Microsoft it’s a dedicated field. On Meta, TikTok and others you build the same idea into the ad URL with platform macros.

1. Catch the click The ad platform fills macros — campaign, creative, keyword, device — into your URL at click time.
2. Hand off to tools Redirect tools or query tokens (UTMs, Triple Whale, Northbeam, Hyros…) ride along.
3. Land cleanly Your landing page still loads; analytics and attribution get the parameters they expect.
Example · Google / Microsoft style
{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}

Tracking template vs Final URL suffix

Google Ads and Microsoft Ads expose both fields. Knowing which one owns the redirect saves a lot of broken UTMs.

Tracking template For redirect tools. ClickCease, HubSpot and many Hyros setups start on the tool’s domain and pass {lpurl} through. HubSpot recipe →
Final URL suffix For query-only params — UTMs, Triple Whale tw_*, Northbeam nbt=. No redirect; the platform appends them to the final URL. Northbeam recipe →

UTMs across platforms

Same five keys everywhere — utm_source, utm_medium, utm_campaign, utm_content, utm_term — filled with each network’s macros.

Google Ads ValueTrack: {campaignid}, {keyword}, {creative}. Prefer Final URL suffix when a redirect owns Tracking template. Google parameters → Meta / TikTok / LinkedIn No Google-style tracking template field — put macros in the destination URL ({{campaign.id}}, __CAMPAIGN_ID__, …). Platform macros → Full reference Microsoft, Pinterest, Baidu and the rest — one cheat sheet per network. All guides →

Builder, not just a campaign URL builder

Static UTM builders are fine for email. Paid media needs live macros — and often two or three tools in one string.

Merge a stack Combine HubSpot, Triple Whale, Hyros, UTMs and similar tools without hand-editing query order. Open builder → Campaign URL builder Tag any landing page with utm_source / medium / campaign — then share a unique setup link. Build campaign URL → Validate tokens Check macros against Google, Meta, TikTok, Microsoft and the other supported networks. Parameter reference →

Tracking template FAQ

Short answers — Google, Microsoft and the social platforms.

What is a tracking template?

On Google Ads and Microsoft Ads it’s a URL field that can redirect a click through another tool before the landing page. On Meta, TikTok, LinkedIn and similar platforms you get the same outcome by putting dynamic macros in the ad’s destination URL. See the parameter reference for each network.

What's the difference between a tracking template and a Final URL suffix?

Tracking template = redirect through a third-party URL first (many fraud-filter and call-tracking setups, plus some attribution tools). Final URL suffix = query parameters only, appended to the landing page with no redirect (UTMs, Triple Whale, Northbeam). You can use both on Google and Microsoft.

Can I use UTMs with a redirect tool?

Yes. Keep the redirect in the tracking template and put UTMs in the Final URL suffix on Google/Microsoft. On Meta or TikTok, bake UTMs into the destination URL next to that platform’s macros.

Do Meta and TikTok have a tracking template field?

Not like Google. You build a URL with each platform’s macros ({{campaign.id}}, __CAMPAIGN_ID__, etc.) and paste it into the ad URL / URL parameters. Recipes and the parameter guides show the patterns.

Why does my HubSpot template break UTMs?

HubSpot’s Google template is a redirect. UTMs inside that redirect only survive if they’re forwarded. Safer: HubSpot in Tracking template, UTMs in Final URL suffix — or a combined recipe.

What if I paste a bad template?

Google often blocks save when {lpurl} is missing. Other platforms fail more quietly at click time. Always test in the builder before going live.