Google Ads ValueTrack parameters: the full list for tracking

November 19, 2026 · Hoplytic team · 2 min read

Google Ads fills in ValueTrack parameters on every click, so your tracker knows which campaign, ad group and ad it came from. Here is the full list we use, where it comes from, and how to set it up.

Short answer: Google Ads adds its own click ID (gclid) to every ad click by itself. For campaign and ad details, add ValueTrack parameters to the URL: {campaignid} (campaign ID), {adgroupid} (ad group ID), {keyword} (keyword), {device} (device).

Parameter on your linkGoogle Ads macroFilled with
campaign{campaignid}Campaign ID
adgroup{adgroupid}Ad group ID
kw{keyword}Keyword
device{device}Device

The parameter names on the left are your choice; the macros on the right must be copied exactly, brackets included.

The automatic click ID

Google Ads appends gclid to the landing URL on its own. You don't add a macro for it: your tracker reads it from the URL and stores it with the click. Keep it intact: link shorteners or redirects that drop query strings will lose it.

https://go.yoursite.com/vpn-offer?campaign={campaignid}&adgroup={adgroupid}&kw={keyword}&device={device}

Google Ads replaces each macro when someone clicks. Your tracker stores the values, creates its own click ID, and passes it to the affiliate network's sub-ID so the sale can be matched back to this exact ad.

Sending conversions back to Google Ads

Google Ads learns which clicks bought through offline conversion uploads (a daily scheduled file with the gclid).

Where this list comes from

Checked against Google Ads' own documentation (ValueTrack) in November 2026. Platforms rename macros now and then: if a value arrives empty or literal, check Google Ads' current list.

On Hoplytic

Pick Google Ads in the link maker and these ValueTrack parameters are added for you, and gclid is stored automatically. Reports can then group by any of them, for example campaign → ad → country, with cost, profit and ROAS. See every ad platform's macros or the guide to sub-ID tracking.

Questions people ask

What is the Google Ads click ID?

Google Ads adds gclid to the landing URL by itself. A tracker stores it with the click so the sale can be reported back to Google Ads later.

Why does my tracker show {campaignid} literally instead of a value?

The ad platform didn't fill it in. Usually the macro is misspelled, uses the wrong brackets, or the ad was created before the parameter was added. Copy the macro exactly as Google Ads writes it and check a live click.

More in Traffic sources and macros

Also: tracking glossary · ad platform macros · Markdown copy