Most local businesses I work with never need one. Google says the same: “Most advertisers won’t need to set up a tracking template”, because the normal reports already show clicks by campaign, ad group, keyword and device. It becomes useful when you want that information per lead, outside Google Ads: in your CRM, your form tool or your call tracking software. This guide covers URL tracking: each option, copy-and-paste examples, and shows how to set one up and test it without breaking your pages. Google’s rules come from Google Ads Help; my own advice is marked as mine.
Key takeaways:
- A template at account, campaign or ad group level must include
{lpurl}, or Google says the page address will break. - Which one wins: keyword, then ad, then ad group, then campaign, then account.
- Parallel tracking is mandatory for Search and Performance Max: visitors go straight to your page while tracking loads in the background.
- For UTM tags I use the final URL suffix, which Google attaches to the end of the page address.
- In GA4, auto-tagging wins over manual tags, so UTMs mainly help other tools that read your links.
- Changes take 24–48 hours to reach serving ads. Use the Test button first.
What a tracking template in Google Ads does
Google’s definition: “The tracking template is where you put tracking information. You can use URL parameters to customize your final URL. When someone clicks on your ad, this information is used to create your landing page URL.”
Keeping tracking separate from the destination means the page address stays clean and the template carries the extras. Its setup page calls templates “an advanced feature” for anyone with a third-party click tracker or their own click tracking, and notes that customer-level templates don’t work with Smart campaigns.
In my experience there are three good reasons to use a tracking template on a local business account:
- You want the search and campaign on each lead. A form that saves these values tells you which search brought in a job, not just which campaign got clicks.
- Your call tracking or CRM tool asks for it. Some of these tools read the values in the link to attribute calls and forms. Google says to follow your provider’s preferred format.
- You send booked jobs back to Google Ads later.
{gclid}puts Google’s click ID in the link, which some CRMs need for offline conversion imports (more in my GCLID guide).

Tracking template vs final URL suffix vs custom parameter
All three live in the same place, which Google calls URL options. Its tracking overview describes them like this:
| Field | What Google says it does | When I use it |
|---|---|---|
| Tracking template | Holds tracking details that are added when an ad is clicked. Click trackers on another domain must go here | When a click tracker or call tracking tool asks for one |
| Final URL suffix | Values “attached to the end of your landing page URL”, at account, campaign, ad group, ad, keyword and sitelink level | UTMs, so they arrive on the page your visitor loads |
| Custom parameter | A field you name and fill yourself, written {_name}. Up to 8 per level, at any level except the account | Rarely: a service label such as {_service}=drain |
Google adds that changes at the account, campaign or ad group level don’t send individual ads back for approval. At the ad level (or keyword or sitelink level), they go through review again. That’s one reason I keep templates high up.
ValueTrack parameters for lead generation
ValueTrack parameters are the codes in braces. Google’s ValueTrack page says they “collect information about the source of your ad clicks”, and if Google can’t fill one in, it’s left blank. The full list includes hotel and Shopping codes. These are the ones I use on lead accounts:
| Code | What Google returns | Why it helps |
|---|---|---|
{lpurl} | Your final URL. Required in account, campaign and ad group templates | Each ad still lands on its own page |
{campaignid} / {adgroupid} | The two IDs | Which campaign and service group the lead came from |
{keyword} | The account keyword that matched the search. Blank for AI Max keywordless matches, DSA and Performance Max | The search behind a real job, not just a click |
{matchtype} | e, p, b, or a for AI Max keywordless | Spot leads from broad match |
{device} | m (mobile), t (tablet) or c (computer) | Compare lead quality by device |
{network} | g (Google search), s (search partners), x (Performance Max) and others | Separate search partner leads |
{loc_physical_ms} | “The ID of the geographical location of the click” | Leads from outside your service area |
{gclid} | The Google click identifier | For CRMs that send jobs back to Google Ads |
Join parameters like these with an ampersand: {lpurl}?matchtype={matchtype}&device={device}. Google warns that spaces cause links to “break,” and two-word searches arrive with %20 in place of the space.
Google Ads tracking template examples
These are the setups I’d start from on a local service account. Rename the parameters to whatever your CRM or form tool expects.
Example 1: one template for the whole account
{lpurl}?campaignid={campaignid}&adgroupid={adgroupid}&kw={keyword}&device={device}
This template allows you to track campaign, service group, search and device for each click, and it’s close to Google’s own example. A phone click on “emergency plumber” would land on something like example.com/drains/?campaignid=111&adgroupid=222&kw=emergency%20plumber&device=m. Set once for the whole account, it covers every Google Ads campaign unless a lower level has its own. The campaign ID arrives as a number, so keep a list of IDs and campaign names.
Example 2: UTMs at the end of the page address
utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_term={keyword}
No {lpurl} and no question mark here: Google automatically attaches the suffix to the end of the address. GA4’s URL builder help says to “always use utm_source, utm_medium, and utm_campaign” and that values are case sensitive, so keep all UTM fields lowercase. Google’s ValueTrack table names the destination, the template and custom parameters as places for its codes, so after saving a suffix with {campaignid}, click a real ad and check the resulting URL has the values filled in.
Example 3: the search on every form lead
Use Example 1 or 2, then add a hidden field to your lead form that reads kw (or utm_term) from the link, if your form tool supports it; look for “hidden fields” in its help pages. In my experience this is the most useful thing a template lets you do as a local business: after a few months you can see which searches bring jobs, not just form fills. If visitors move to a second page before sending the form, the values drop out of the address unless your site stores them.
Example 4: a third-party click tracker
https://tracker.example/click?u={lpurl}
A tracker on another domain belongs in the tracking template field, never in the destination; Google says cross-domain redirects “must be set up in the ‘Tracking template’ field”. When {lpurl} isn’t at the very start, Google escapes it, and anything after it needs %3F instead of a question mark. Use the exact format your provider gives you.
Want to see which searches bring jobs, not just clicks? See If We're a Fit — free Google Ads audit →
How to set a tracking template at the campaign level or account level
Most accounts need just a tracking template at the account level; in my experience account-level tracking is the easiest to keep tidy. Google’s suffix page and ValueTrack setup page give the paths:
- For the whole account: Admin > Account settings, then open the Tracking section. Enter the template and, if you use one, the suffix. Save.
- For one campaign: open the campaign settings and use Campaign URL options under Additional settings. Or add the “Tracking template” column (Columns > Modify columns > Attributes) and click the pencil next to a specific campaign.
- Type
{lpurl}, a question mark, then your parameters separated by ampersands. - Click Test, then Save.
Each campaign type has its own rules. Performance Max can also take a template per asset group (under More options), and Dynamic Search Ads always need a code that inserts the destination, such as {lpurl}, at every level.

Which template wins: account, campaign, ad group or keyword-level template
Google’s rule: “If you define multiple tracking templates at different levels, the most specific template is used. The keyword tracking template is the most specific followed by the ad, ad group, campaign, then account.” In short, Google Ads uses the most specific one it finds. The same goes for custom fields: an ad’s {_color}=blue beats {_color}=red set one level up.
This is where old accounts go wrong. A campaign set up years ago by an agency still has its own template with different tracking, pointing at a tracker nobody pays for, so the new single account-level template never applies to it. Before changing the tracking setup, add the “Tracking template source” column, which shows where each template comes from, and look for existing templates lower down.
Parallel tracking and redirects
Google’s page on it says parallel tracking “is mandatory for Search, Shopping, Display, Video, and Performance Max campaigns”. People go “directly from your ad to your final URL while click measurement happens in the background”, which Google says “helps load your landing page more quickly”. What that means for your setup:
- The template and every redirect after it “need to be HTTPS to work”, and redirects must be server-side. Google uses HTTPS for the first tracking call even if you typed http.
- Google’s suffix example shows the suffix arriving on the page (
example.com/?x=y) while the template runs in the background. That’s why I put UTMs there. - Ask your click tracking or call tracking provider whether they support it. If not, Google says “your click measurement could stop working.”
How to test your tracking template and landing page
I always click Google Ads’ Test button first. Google says it combines your page address with your tracking to check the ad leads to a real page. Its test results page lists the messages; these are the ones I see most:
| Message | What Google says it means | What I check |
|---|---|---|
| Page found | A landing page was found | Still click a real ad and read the address bar |
| Page not found | For example a 404. Can also mean Google AdsBot is blocked | A missing {lpurl}, a typo, or a site that rejects unknown query parameters |
| Final URL mismatch | The chain leaves your domain. Causes “Destination mismatch” disapprovals | An old tracker domain in the chain |
| HTTP redirect in tracking chain | The chain has an http:// address | Switch every step to https:// |
| JavaScript redirect in tracking chain | The chain has a JavaScript redirect | Ask the provider for a server-side one |
Google adds that the test “doesn’t check for Google Ads policies violations” and “doesn’t catch all parallel tracking errors”. Edits also take 24–48 hours to reach serving ads, so I check a real click the next day to see how the template behaves live.
Why tracking parameters break
- No
{lpurl}in a high-level template. Google: without a code that inserts the destination, “your landing page URL will break.” - A fixed address with AI Max. Google warns that with AI Max’s final URL expansion, a template with a fixed address instead of
{lpurl}can send people to that one page, and unusual patterns likefoo={lpurl}valuecan cause 404s. Safe forms:{lpurl}?,{lpurl}&,{lpurl}#or{lpurl}alone. - A site that rejects unknown values. Google notes “a small percentage of websites” show an error page when auto-tagging adds the GCLID. In my experience the same sites often break on template values too.
- Two question marks. If the destination already has one, Google swaps the template’s question mark for an ampersand. Problems start, in my experience, when someone also adds tags by hand in the destination. Keep final URLs clean.
- Duplicate UTM values. The same utm_source in the destination and in the suffix gives two values in one address. Keep them in one place.
- Blank search values. Not an error:
{keyword}is empty for Performance Max, Dynamic Search Ads and keywordless AI Max matches.
UTM parameters, auto-tagging and GA4
Keep auto-tagging on. It adds the GCLID to every click, and Google Ads conversion tracking relies on it whether you use Google Tag Manager or the Google tag (see my conversion tag guide). Google’s auto-tagging page is clear about adding manual tags as well: “in Google Analytics 4 (GA4), auto-tagging is prioritized over manual tagging due to the absence of an override option.”
So with Google Ads and Google Analytics linked, GA4 reports your ad traffic from the Google Ads data. UTMs are worth adding for the other tools that read your links: a CRM, a form tool, a call tracking tool or a second analytics package. If none of them needs these, I leave them off. For calls, my call tracking guide covers the Google-only options.
Frequently asked questions
What is a tracking template in Google Ads?
It’s a setting that adds tracking details to the address people land on after clicking your ad. It usually starts with {lpurl} (your page address) followed by ValueTrack codes, which Google fills in for each click.
What is an example of a tracking template?
A common one is {lpurl}?campaignid={campaignid}&adgroupid={adgroupid}&device={device}. In Google’s own example, a mobile click ends with values like device=m.
What is the difference between a tracking template and a URL suffix?
The template builds the tracking address and holds click trackers. The suffix is a set of values Google attaches to the end of the page address. Because tracking runs in parallel, the visitor loads the page with the suffix while the template runs in the background.
Do I need a tracking template?
Usually not. Google says most advertisers don’t, because the standard reports show clicks by campaign, ad group, keyword and device. In my view you need one when a call tracking tool, CRM or click tracker asks for it, or when you want the search stored with each lead.
Should I use UTM tags on Google Ads if auto-tagging is on?
Keep auto-tagging on either way. Google says GA4 prioritises auto-tagging over manual tags, so if your Google Ads account is linked to GA4, UTMs won’t change how GA4 reports these clicks. Add them only if another tool, such as your CRM, reads them.
How long do tracking changes take?
Google says 24–48 hours to reach serving ads. Changes made higher up, for the account or campaign, don’t send ads back for review; changes at ad, keyword or sitelink level do.
Sources
- Google Ads Help, Tracking template: Definition (7197008). Accessed 26 Nov 2026.
- Google Ads Help, Set up your tracking template (10070427). Accessed 26 Nov 2026.
- Google Ads Help, About tracking in Google Ads (6076199). Accessed 26 Nov 2026.
- Google Ads Help, Learn about final URLs and tracking templates (6273460). Accessed 26 Nov 2026.
- Google Ads Help, Add a Final URL suffix (9054021). Accessed 26 Nov 2026.
- Google Ads Help, About ValueTrack parameters (2375447). Accessed 26 Nov 2026.
- Google Ads Help, Set up tracking with ValueTrack parameters (6305348). Accessed 26 Nov 2026.
- Google Ads Help, Create custom parameters for advanced tracking (6325879). Accessed 26 Nov 2026.
- Google Ads Help, About parallel tracking (7544674). Accessed 26 Nov 2026.
- Google Ads Help, Test your landing page (6328603). Accessed 26 Nov 2026.
- Google Ads Help, About auto-tagging (3095550). Accessed 26 Nov 2026.
- Google Analytics Help, URL builders: Collect campaign data with custom URLs (10917952). Accessed 26 Nov 2026.
Setup steps are from Google Ads Help and Google Analytics Help as of 26 Nov 2026. Google changes menus and names often, so the wording in your account may differ. The examples, the settings I use and other advice marked as mine are my professional opinion.
Disclaimer: This page is general information about Google Ads, not legal, tax, medical or financial advice, and not advice tailored to your business. Figures are third-party benchmarks or Google Keyword Planner estimates as of the dates shown, and Google’s products and policies change, so check the linked sources before relying on them. Statements without a cited source, and views marked “in my experience”, are my professional opinion. Results vary and nothing here guarantees results. PPCfolks is independent and not affiliated with or endorsed by Google. See the terms.