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 →

Also: Trackers · Parameters · Docs · Guides

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 (23)
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 (split fields)
4.1 (14)
Tracking template + Final URL suffix Two safe patterns: keep HubSpot in Tracking template and put ClickCease keys in Final URL suffix, or merge query params when no redirect owns the template.
Open →
ClickCease redirect → Google Ads
Google Ads · Third-party click monitor URL
4.6 (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.5 (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.2 (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=)
3.9 (18)
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.1 (17)
Tracking template WhatConverts campaign / content / keyword mapping at account level.
Open →
HubSpot + Triple Whale → Google Ads
Google Ads · CRM + ecommerce attribution
4.3 (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 →
ClickPatrol → Facebook / Meta Ads
Facebook / Meta Ads · source=f URL parameters
No ratings yet
Tracking template ClickPatrol Meta URL parameters with source=f, creative/ad set macros, and paid_social UTMs. Append to the destination URL — Meta has no Tracking template field.
Open →
ClickPatrol → Microsoft Ads
Microsoft Ads · source=b Final URL suffix
No ratings yet
Final URL suffix ClickPatrol Bing / Microsoft Advertising parameters with source=b. Paste into Final URL suffix (not a Google-style trck-001 redirect).
Open →
ClickPatrol → LinkedIn Ads
LinkedIn Ads · source=l URL parameters
No ratings yet
Tracking template ClickPatrol LinkedIn URL parameters with source=l, Campaign Manager macros, and paid_social UTMs. Append to the destination URL.
Open →
ClickPatrol → TikTok Ads
TikTok Ads · source=t URL parameters
No ratings yet
Tracking template ClickPatrol TikTok URL parameters with source=t. Remember __AID__ is ad group and __CID__ is creative.
Open →
ClickPatrol → Pinterest Ads
Pinterest Ads · source=p URL parameters
No ratings yet
Tracking template ClickPatrol Pinterest URL parameters with source=p, campaign/ad macros, and paid_social UTMs. Append to the pin destination URL.
Open →
UTMs → Facebook / Meta Ads
Facebook / Meta Ads · {{site_source_name}} + campaign macros
4.1 (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.5 (22)
Tracking template ID-based Meta parameters for rename-safe reporting in GA4.
Open →
UTMs → TikTok Ads
TikTok Ads · __CAMPAIGN_NAME__ macros
4.4 (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.2 (18)
Tracking template ID-focused LinkedIn UTMs for rename-safe reporting alongside the Insight Tag.
Open →
UTMs → Pinterest Ads
Pinterest Ads · Promoted pin tracking
4.5 (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
3.9 (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
3.9 (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.1 (20)
Tracking template TikTok Ads UTMs with placement macros for Feed vs search vs other inventory splits.
Open →
Spectacle UTM guidelines → Google Ads
Google Ads · google / cpc + ValueTrack
4.1 (17)
Final URL suffix GA4 channel-clean Google Ads suffix from Spectacle’s 2025 UTM guidelines: utm_source=google, utm_medium=cpc, campaign/term/content macros.
Open →
Spectacle sp_* + UTMs → Google Ads
Google Ads · sp_n=google_ads + classic UTMs
4.2 (11)
Final URL suffix Spectacle Google Ads suffix: classic google/cpc UTMs plus sp_pl / sp_agi / sp_ai / sp_kwi / sp_n for Spectacle ingestion.
Open →
Spectacle UTM guidelines → Meta Ads
Facebook / Meta Ads · paid_social + Meta macros
4.0 (9)
Tracking template Spectacle-style Meta URL parameters: utm_medium=paid_social, dynamic campaign/ad set/ad macros, source from {{site_source_name}}.
Open →
Spectacle UTM guidelines → LinkedIn Ads
LinkedIn Ads · linkedin / paid_social
4.4 (11)
Tracking template Spectacle-style LinkedIn UTMs: utm_source=linkedin, utm_medium=paid_social, campaign + creative macros.
Open →
Spectacle UTM guidelines → TikTok Ads
TikTok Ads · tiktok / paid_social
3.7 (6)
Tracking template Spectacle-style TikTok UTMs using paid_social medium (not cpc) plus campaign / AID / CID macros.
Open →
Spectacle UTM guidelines → Microsoft Ads
Microsoft Ads · bing / cpc
4.3 (17)
Tracking template Spectacle-style Microsoft Ads UTMs: utm_source=bing, utm_medium=cpc, Campaign / Keyword / AdId macros.
Open →
Spectacle UTM guidelines → Pinterest Ads
Pinterest Ads · pinterest / paid_social
4.4 (11)
Tracking template Spectacle-style Pinterest UTMs with paid_social medium and campaign / creative / promoted pin macros.
Open →
Calendly UTMs → Google Ads
Google Ads · Final URL suffix for booking attribution
No ratings yet
Final URL suffix Calendly stores only utm_source, utm_medium, utm_campaign, utm_term and utm_content. Paste this Google Ads Final URL suffix so those five keys land on your scheduling page, then pass them into the Calendly embed.
Open →
Calendly + gclid → Google Ads
Google Ads · Store {gclid} in utm_content
No ratings yet
Final URL suffix Calendly cannot add custom hidden fields for gclid. Map {gclid} into utm_content so the Google click ID is saved on the invitee (trades away creative ID in Calendly).
Open →
Calendly UTMs → Microsoft Ads
Microsoft Ads · bing / cpc for Calendly embeds
No ratings yet
Tracking template Microsoft Ads UTMs Calendly will store: utm_source=bing, utm_medium=cpc, CampaignId / Keyword / AdId macros.
Open →
Calendly UTMs → Meta Ads
Facebook / Meta Ads · paid_social + Meta macros
No ratings yet
Tracking template Meta URL parameters Calendly stores: paid_social medium plus campaign / ad set / ad name macros.
Open →
Calendly UTMs → LinkedIn Ads
LinkedIn Ads · linkedin / paid_social
No ratings yet
Tracking template LinkedIn UTMs for Calendly bookings: utm_source=linkedin, utm_medium=paid_social, campaign + creative macros.
Open →
Calendly UTMs → TikTok Ads
TikTok Ads · tiktok / paid_social
No ratings yet
Tracking template TikTok UTMs Calendly stores: paid_social medium plus campaign / AID / CID macros.
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.name}}, __CAMPAIGN_ID__, …). Platform macros → Full reference Microsoft, Pinterest, Baidu and the rest — one cheat sheet per network. All guides →

Which tool do you need?

Three jobs, three surfaces — pick by intent. None of these replace each other.

Template builder Live ad macros, merge stacks (HubSpot + Triple Whale + UTMs), redirects. Best for paid media. Open builder → Campaign URL builder Static UTMs for email, social, partners — then share a setup link. No platform macros. Build campaign URL → Tracking Standards Naming conventions, approved values, aliases, URL linting and platform template export. Open standards →

Looking up tokens? 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.