Google Ads ValueTrack parameters
Google Ads ValueTrack inserts live campaign data into your tracking template or Final URL suffix. Use single curly braces like {campaignid} and {lpurl}.
This page is the parameter cheat sheet; open the builder to validate a full tracking template, or browse ready-made recipes for HubSpot, ClickPatrol, Triple Whale and more.
{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_term={keyword}&utm_content={creative}
- Use {lpurl} (or a redirect containing {lpurl}) in Tracking template.
- Final URL suffix takes query keys only — no {lpurl} prefix.
- {ignore} can prevent redirect loops when testing.
Parameter reference
| Parameter | Returns | |
|---|---|---|
{lpurl} |
Final URL (escaped) | |
{unescapedlpurl} |
Final URL (unescaped) | |
{lpurl+2} |
Final URL, double-escaped | |
{keyword} |
Keyword that matched the ad | |
{matchtype} |
Match type: b (broad), p (phrase), e (exact) | |
{network} |
Network: g (Google search), s (search partner), d (Display) | |
{device} |
Device: m (mobile), t (tablet), c (computer) | |
{devicemodel} |
Device model (e.g. Apple+iPhone) | |
{placement} |
Placement site (Display only) | |
{target} |
Placement category | |
{adposition} |
Position on page (e.g. 1t2 = page 1, top, position 2) | |
{campaignid} |
Campaign ID | |
{adgroupid} |
Ad group ID | |
{creative} |
Ad ID | |
{feeditemid} |
Feed-based extension ID | |
{targetid} |
ID that triggered ad (kwd, aud, pla, etc.) | |
{loc_interest_ms} |
Location of interest (criteria ID) | |
{loc_physical_ms} |
Physical location (criteria ID) | |
{adtype} |
Ad type (text, pla, dsa, etc.) | |
{copy:headline} |
Headline text | |
{param1} |
Custom parameter 1 | |
{param2} |
Custom parameter 2 | |
{random} |
Random Google-generated number | |
{ignore} |
Ignores tracking element (prevents redirect issues) | |
{ifmobile:x} |
Returns x if mobile | |
{ifnotmobile:x} |
Returns x if not mobile | |
{ifsearch:x} |
Returns x if Search network | |
{ifcontent:x} |
Returns x if Display network | |
{ifshopping:x} |
Returns x if Shopping |
Where to paste ValueTrack
- Google Ads → Admin → Account settings → Tracking.
- Paste a full template starting with
{lpurl}?into Tracking template, or paste query keys only into Final URL suffix. - Click Test, then save.
Tracking template vs Final URL suffix
Redirect trackers (ClickPatrol, ClickCease) must own Tracking template. Attribution tools that only need query keys (Northbeam nbt=, UTMs) belong in Final URL suffix so both keep working.
Common UTM pattern
The example above maps campaign, keyword and creative into classic UTMs for GA4. Expand with {device}, {network} or {matchtype} when you need more cuts.
FAQ
What is the difference between {lpurl} and Final URL suffix?
{lpurl} is used inside a Tracking template so Google builds the final click URL. Final URL suffix is only the query string Google appends — no {lpurl}.
Can I combine ValueTrack with ClickPatrol?
Yes. Put ClickPatrol in Tracking template and your ValueTrack/UTM string in Final URL suffix. See ClickPatrol + UTMs.
Why does Google show uncommon tokens as warnings in the builder?
The builder flags tokens outside the common Google set. Custom parameters like {_utmcampaign} (HubSpot) are still valid when your account defines them.
Need Google Ads stacks with ClickPatrol, Hyros or HubSpot? Browse recipes or build a template.