Tracking templates in Google Ads allow you to append tracking parameters to your ad URLs without changing the final landing page your users see. They are essential for accurate attribution, offline conversion tracking, and advanced analytics setups, especially when syncing Google Ads data with tools like Salesforce or HubSpot.
In this guide, we’ll explain what tracking templates are, why they matter, and how to add them correctly at different levels in Google Ads.
A tracking template is a URL structure that Google Ads uses to send users to your landing page while dynamically adding tracking parameters.
Instead of modifying your Final URL, you define a Tracking template that can include:
{campaignid}, {keyword}, {device})Example:
/?url={lpurl}&utm_campaign={campaignid}&utm_keyword={keyword}
Google Ads then replaces the dynamic parameters automatically when the ad is clicked.
Tracking templates help you:
They’re especially useful if you manage tracking centrally and want changes to apply instantly without re-reviewing ads.
Google Ads lets you define tracking templates at multiple levels. Lower levels override higher ones.
Best practice:
Use the highest possible level to keep tracking consistent and easy to maintain.

Paste your tracking URL, using {lpurl} to reference the final landing page.
Example with UTMs:
{lpurl}?utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_term={keyword}&utm_content={creative}
Example with a redirect:
https://tracker.yoursite.com/redirect?url={lpurl}&utm_source=google&utm_medium=cpc&utm_campaign={campaignid}&utm_term={keyword}&utm_content={creative}
⚠️ Always include {lpurl} — it tells Google Ads where the user should ultimately land.
Custom parameters let you reuse values dynamically.
Example:
{lpurl}?utm_campaign={_campaign}&utm_content={_adgroup}
Then define:
_campaign = brand-search_adgroup = demo-requestThis is useful for structured and scalable tracking setups.
If the test fails, Google Ads will show validation errors you need to fix before saving.


If you’re tracking revenue or offline conversions:
gclid) to your CRMThis approach ensures clean data and reliable attribution across your entire funnel.