Quick answer: A Google Ads tracking template is a URL pattern that tells Google Ads how to build a click-measurement URL around your landing page, using the
{lpurl}placeholder. Because parallel tracking is now required, use the tracking template only for third-party click trackers. Put UTM parameters in the Final URL Suffix, because that’s the only field guaranteed to reach your landing page.
If your GA4 reports show Google Ads traffic as “(not set)”, your UTMs are disappearing, or your third-party tracker is under-counting clicks, the cause is almost always a URL setup problem. This guide covers what a tracking template is, how it differs from the Final URL Suffix, 10 copy-paste examples, and how to test everything before you spend another dollar.
What Is a Google Ads Tracking Template?
Google Ads has three URL fields, and they do different jobs:
| Field | What it does | Example |
|---|---|---|
| Final URL | The landing page the user sees | https://example.com/shoes/ |
| Tracking template | Wraps the landing page for click measurement (usually a third-party tracker) | https://tracker.com/click?id={campaignid}&url={lpurl} |
| Final URL Suffix | Parameters added to the end of the landing page URL | utm_source=google&utm_medium=cpc |
The {lpurl} ValueTrack parameter is replaced with your Final URL at click time. Every tracking template needs it (or one of its variants), or Google Ads won’t know where to send the user.
Tracking Template vs Final URL Suffix: The 2026 Rule
Here’s what changed, and why so many older guides are now wrong.
With parallel tracking, the user goes straight to your Final URL while the tracking template loads quietly in the background. So:
- ❌ UTMs in the tracking template often never reach your landing page, and GA4 won’t see them.
- ✅ UTMs in the Final URL Suffix are added directly to the landing page URL, so GA4 always sees them.

Rule of thumb:
- Use the Final URL Suffix for analytics parameters (UTMs, custom IDs your site reads).
- Use the tracking template only for third-party click trackers and redirects.
- If you don’t use a third-party tracker, you can leave the tracking template empty or set it to just
{lpurl}.
10 Google Ads Tracking Template Examples (Copy & Paste)
Example 1: Minimal tracking template (no third-party tracker)
{lpurl}
Use this when you only need UTMs. Put the UTMs in the Final URL Suffix (Example 2).
Example 2: Standard UTM setup (Final URL Suffix)
utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative}&utm_term={keyword}
This is the setup we recommend for most advertisers. Note: the Final URL Suffix must not start with ?, & or #.
Example 3: Detailed UTM setup with match type and network
utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_content={creative}&utm_term={keyword}&matchtype={matchtype}&network={network}&device={device}
Useful when you analyze search-term quality or device performance in GA4 or your CRM.
Example 4: Campaign name via custom parameter
ValueTrack gives you the campaign ID, not the name. To pass a readable name, create a custom parameter {_campaign} at the campaign level (e.g. _campaign = summer_sale), then use:
utm_source=google&utm_medium=cpc&utm_campaign={_campaign}&utm_term={keyword}
Example 5: Third-party click tracker (redirect)
https://tracker.example.com/click?cid={campaignid}&agid={adgroupid}&kw={keyword}&url={lpurl}
The tracker logs the click and sends the user to {lpurl}. Under parallel tracking, the tracker URL must use HTTPS.
Example 6: Tracker with custom parameters
https://tracker.example.com/click?promo={_promo}&cid={campaignid}&url={lpurl}
Set _promo at the ad group or ad level to pass offer codes to your tracker.
Example 7: Device detection with conditional parameters
utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&device_type={ifmobile:mobile}{ifnotmobile:desktop}
Example 8: Location tracking
utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&loc={loc_physical_ms}
{loc_physical_ms} passes the geo-target ID of where the user physically was. This is great for local service businesses.
Example 9: Display / YouTube placement tracking
utm_source=google&utm_medium=display&utm_campaign={campaignid}&placement={placement}
Example 10: Lead-gen CRM setup (forms + offline conversions)
utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_term={keyword}&adgroup={adgroupid}
Keep auto-tagging on. Google Ads adds the gclid automatically, so don’t add {gclid} manually or you may get duplicates. Capture the gclid and UTMs in hidden form fields, then send them to your CRM for offline conversion import or Enhanced Conversions for Leads. Need help connecting form leads back to Google Ads? Get a free tracking audit.
💡 Not sure your setup is right? Get a free tracking audit and we’ll check your tracking template, Final URL Suffix and GA4 data for you.
ValueTrack Parameters Cheat Sheet
| Parameter | What it returns |
|---|---|
{lpurl} | Your Final URL |
{campaignid} | Campaign ID |
{adgroupid} | Ad group ID |
{creative} | Ad ID |
{keyword} | Keyword that triggered the ad (Search) |
{matchtype} | e = exact, p = phrase, b = broad |
{network} | g = Google Search, s = search partner, d = Display, ytv = YouTube |
{device} | m = mobile, t = tablet, c = computer |
{placement} | Site where the ad showed (Display) |
{targetid} | Keyword, audience or DSA target ID |
{loc_physical_ms} | Physical location ID |
{ifmobile:text} / {ifnotmobile:text} | Text depending on device |
{_yourname} | Your own custom parameter |
Some parameters return empty values in certain campaign types. For example, Performance Max doesn’t pass keyword data the same way Search does, so always test per campaign type.
Which Level Wins? (Account vs Campaign vs Ad Group vs Ad)
You can set a tracking template and Final URL Suffix at the account, campaign, ad group, ad, keyword and asset (e.g. sitelink) level.
The most specific level wins, and it does not merge. If a keyword has its own template, Google uses only that one and ignores the campaign and account templates completely.

Best practice:
- Set your standard UTM suffix once at the account level.
- Only override at lower levels when you have a specific reason.
- When debugging wrong tags, check the most specific level first.
How to Set Up a Tracking Template in Google Ads (Step-by-Step)
- In Google Ads, open Admin → Account settings.
- Expand Tracking.
- Enter
{lpurl}(or your tracker URL) in Tracking template. - Enter your UTM string in Final URL Suffix.
- Make sure Auto-tagging is on.
- Click Test, then Save.
For campaign level: Campaigns → Settings → Campaign URL options.

How to Test Your Tracking Template
- Use the Test button next to the tracking template field. It shows the final landing page URL that results.
- Click a real ad via Ad Preview (not a live search, so you don’t pay for clicks), then check the URL in the browser bar. Your UTMs and
gclidshould be there. - Check GA4: In Reports → Acquisition → Traffic acquisition, look at Session source/medium =
google / cpcand campaign values. - Check redirects: If you use a tracker, make sure the redirect chain lands on the same domain and content as your Final URL.
7 Common Tracking Template Mistakes
- UTMs in the tracking template instead of the Final URL Suffix, so they never reach GA4.
- Missing
{lpurl}in a tracker URL. - HTTP tracker URLs, which don’t work properly with parallel tracking.
- Final URL Suffix starting with
?or&. - Adding
{gclid}manually while auto-tagging is on, which duplicates it. - Forgetting lower-level overrides: an old keyword-level template silently replaces your account setup.
- Redirects or caching that strip parameters. Some WordPress caching plugins, CDN rules or redirects drop query strings before GA4 loads.
Do You Even Need a Tracking Template?
Probably not, if:
- You only use Google Ads + GA4.
- Auto-tagging is on, and you’ve linked Google Ads to GA4.
In that case, auto-tagging + the Final URL Suffix is enough.
Yes, if:
- You use a third-party click tracker or attribution tool.
- Your agency or affiliate platform requires redirect tracking.
FAQ
What is a tracking template in Google Ads?
A tracking template is a URL pattern that wraps your landing page for click measurement. It uses the {lpurl} parameter to insert your Final URL, and is mainly used for third-party click trackers.
Should I put UTM parameters in the tracking template or the Final URL Suffix?
Put them in the Final URL Suffix. With parallel tracking, the user goes straight to the Final URL, so UTMs in the tracking template often don’t reach your landing page.
What is {lpurl} in Google Ads?
{lpurl} is a ValueTrack parameter that Google Ads replaces with your Final URL when someone clicks your ad.
Which tracking template level takes priority?
The most specific level wins: keyword or ad overrides ad group, which overrides campaign, which overrides account. Templates don’t merge.
Do I need a tracking template if auto-tagging is on?
Not for Google Ads + GA4 reporting. Auto-tagging adds the gclid. You need a template only for third-party click tracking. Use the Final URL Suffix for UTMs.
Need Help Fixing Your Google Ads Tracking?
Broken tracking templates and missing UTMs mean Smart Bidding optimizes on bad data. We audit your Google Ads, GA4 and conversion setup and show you exactly what’s broken, for free.
Related: Running ads on ChatGPT too? Read our ChatGPT Ads Conversion Tracking guide, or see why Meta Ads shows more purchases than Shopify.
Tracking help for your type of business
If you run Google Ads for a local business, the real goal is tracking calls and booked jobs, not just clicks. See how this works for plumbers and HVAC companies, dental practices, cleaning businesses and law firms.
Pingback: Meta Ads Shows More Purchases Than Shopify? How to Fix It