
Campaign Tracking Builder
Build Google Ads tracking templates with ValueTrack, ready-made social-ad URLs for Meta, LinkedIn and TikTok, and clean UTM links for email and organic — one consistent system so every rupee of spend is attributable. Free, no login.
Campaign naming
Use a convention: Type_Intent_Region → Search_Brand_India, PMax_Ecommerce, YouTube_Prospecting.
ValueTrack parameters
Tracking template
{lpurl} ?utm_source=google &utm_medium=cpc &utm_campaign={_CampaignName}_{campaignid} &utm_id={campaignid} &utm_term={keyword} &utm_content={creative}_{adgroupid} &campaign_type={_CampaignType} &business={_BusinessUnit} ®ion={_Region} &device={device} &network={network} &matchtype={matchtype}
Paste into Google Ads → Settings → Tracking template (account, campaign or ad-group level).
Final URL suffix
utm_source=google&utm_medium=cpc&utm_campaign={_CampaignName}_{campaignid}&utm_id={campaignid}&utm_term={keyword}&utm_content={creative}_{adgroupid}&campaign_type={_CampaignType}&business={_BusinessUnit}®ion={_Region}&device={device}&network={network}&matchtype={matchtype}Modern, parallel-tracking-safe. Use this field instead of the template when you can.
Custom parameters to create in Google Ads
{_CampaignName}Search_Brand_India{_CampaignType}Search{_BusinessUnit}LeadGen{_Region}IndiaAdd these at campaign level (Settings → Custom parameters) so the tokens resolve.
Example resolved URL
https://example.com/?utm_source=google&utm_medium=cpc&utm_campaign=Search_Brand_India_123456789&utm_id=123456789&utm_term=hotel booking software&utm_content=987654321_456789&campaign_type={_CampaignType}&business={_BusinessUnit}®ion={_Region}&device=m&network=g&matchtype=eA preview with sample values — this is what a real click produces.
Every click, traced from campaign down to creative
Good tracking captures each level of the funnel, so your reports can answer not just which channel, but which ad, keyword and audience actually drove the lead.
Campaign
Campaign name + ID. The top level — Search_Brand_India, PMax_Ecommerce.
utm_campaign · utm_idAd group & keyword
Which ad group and keyword triggered the click.
utm_content · utm_termCreative
The exact ad / creative that was shown.
{creative}Audience & device
Target ID, physical + interest location, and device.
{targetid} · {device}Network
Search, Display, YouTube or Partner network.
{network}Every token, and what it tracks
| Parameter | Tracks | Example |
|---|---|---|
{lpurl} | Final landing-page URL | https://example.com/ |
{campaignid} | Campaign ID | 234567890 |
{adgroupid} | Ad group ID | 99887766 |
{creative} | Ad / creative ID | 512233445 |
{keyword} | Keyword that matched | digital marketing agency |
{matchtype} | Match type (e / p / b) | e = exact |
{network} | Network (g / s / d / …) | g = Google Search |
{device} | Device (m / t / c) | m = mobile |
{placement} | Placement (Display / PMax) | website.com |
{targetid} | Keyword / audience target ID | kwd-123456 |
{loc_physical_ms} | Physical location (criteria ID) | 1007768 |
{loc_interest_ms} | Location of interest | 1007768 |
{feeditemid} | Extension feed item | 223344 |
{extensionid} | Extension ID | 556677 |
{gclid} | Auto-tagging click ID | EAIaIQobChMI… |
Consistent source & medium, every platform
Use the same values everywhere so your channels don't fragment. Keep them lowercase — UTM values are case-sensitive.
| Channel | utm_source | utm_medium | Dynamic tags |
|---|---|---|---|
| Google Ads (Search) | google | cpc | ValueTrack {keyword} {campaignid} |
| Meta (FB / IG) | facebook | paid_social | {{campaign.name}} {{ad.name}} |
| LinkedIn Ads | linkedin | paid_social | — (manual) |
| TikTok Ads | tiktok | paid_social | __CAMPAIGN_NAME__ |
| YouTube Ads | youtube | video | ValueTrack |
| Email / Newsletter | newsletter | email | — (manual) |
| Organic social / bio | instagram | organic_social | — (manual) |
Name it like you'll read it in a report
A convention like Type_Intent_Region keeps GA4 and Looker Studio clean and sortable. Decide it once, apply it everywhere.
Pattern: CampaignType_Intent_Region → Search_NonBrand_India
Search Campaign 1Search_Brand_IndiaFB ads newMeta_Prospecting_TopFunnelRetargetingDisplay_RemarketingYT video testYouTube_Prospectingutm_campaign=12345678Search_Brand_India_12345678Close the loop from click to closed-won
Turn on auto-tagging
Enable Google Ads auto-tagging so gclid is appended automatically and GA4 can stitch clicks to conversions. Don't add {gclid} by hand when it's on — you'll create duplicates.
Store the click ID with the lead
Capture gclid (plus gbraid / wbraid for iOS app + web) in a hidden form field and save it in your CRM. That's what powers offline conversion imports back into Google Ads.
One convention, every channel
Use the same source/medium/campaign naming across Google, Meta, LinkedIn, email and SMS. Consistent, lowercase values stop one channel splitting into five in GA4.
Tag organic — but only links you own
Tag bio links, QR codes and partner posts so they don't fall into direct/none. Never tag internal links between your own pages — that overwrites the real source.
Frequently asked questions
What's the difference between a UTM link and a Google Ads tracking template?
A UTM link is a finished URL with fixed utm_ values you paste into a post, email or ad. A Google Ads tracking template is a rule that uses ValueTrack tokens like {campaignid}, {keyword} and {creative}, which Google replaces with the real values at click time. So instead of hand-building one URL per ad, you set one template at the account, campaign or ad-group level and every ad inherits it — with the exact keyword, ad group, device and network filled in automatically.
What are ValueTrack parameters?
ValueTrack parameters are placeholders inside curly braces that Google Ads swaps for real data when someone clicks your ad. For example {campaignid} becomes the numeric campaign ID, {keyword} becomes the matched keyword, {device} becomes m, t or c, and {network} becomes g (Search), s (Search Partners) or d (Display). You put them in your tracking template or final URL suffix, and they resolve per click — so your analytics captures campaign, ad group, keyword, creative, device, network and location without any manual tagging.
Should I use the tracking template or the final URL suffix?
Prefer the final URL suffix. It carries your ValueTrack and UTM parameters while staying compatible with parallel tracking, and it won't be overwritten if a tracking template is set at a higher level. Use the tracking template field when you need account- or campaign-wide rules or a redirect through a click tracker. This builder generates both from the same settings so you can paste whichever your setup needs.
Do I need to add {gclid} to my URLs manually?
No — as long as Google Ads auto-tagging is enabled (it is by default), Google appends the gclid to every ad click automatically, and GA4 uses it to attribute conversions. You only add {gclid} yourself if auto-tagging is turned off, for example when you're passing the click ID into a third-party system. Adding it manually while auto-tagging is on can create duplicate parameters, so this builder keeps that toggle off by default with a warning.
How do Meta and TikTok dynamic parameters work?
Meta and TikTok have their own click-time macros, just like Google's ValueTrack. On Meta you use {{campaign.name}}, {{adset.name}} and {{ad.name}} in the ad's URL-parameters field, and Meta substitutes the real names when someone clicks. TikTok uses __CAMPAIGN_NAME__, __AID_NAME__ and __CID_NAME__. LinkedIn and X don't offer reliable macros, so there you type the campaign and creative names manually. Important: these macros must not be URL-encoded, which is why this builder leaves the braces and underscores intact.
How do I track organic traffic and conversions?
Analytics already detects organic search and much organic social on its own, so you don't tag those. What you do tag are links you place yourself — your Instagram or LinkedIn bio link, a link-in-bio page, QR codes, and partner or influencer posts — using utm_medium=organic_social or referral. Never add UTMs to internal links between your own pages, because that resets the visitor's original source. Combined with consistent paid tagging, this keeps GA4's channel report honest across paid, organic and direct.
Ready when you are
Let's build something worth talking about.
30-minute intro call. We'll listen, sketch the shape of a plan, and tell you honestly if we're the right partner — or who else might be.
