How to Create a Tracking Template in Google Ads?

Alexandre Airvault
January 19, 2026

What a Tracking Template Is (and When You Actually Need One)

A tracking template is an “advanced URL options” field that lets you add tracking information to ad clicks without changing the visible destination your users land on. Think of it as a wrapper around your landing page URL: when someone clicks, the system combines your tracking template with the final URL to produce the full landing page URL used for that click.

In day-to-day account management, you typically use tracking templates for one of two reasons. The first is when you work with a third-party click tracker (or an in-house redirect) and you need every click to ping that tracker. The second is when you want highly consistent, structured parameters across campaigns (including dynamic IDs) for downstream analytics, CRM attribution, or offline conversion matching.

If your needs are basic—like campaign-level reporting inside the platform or simple analytics tagging—you may not need a tracking template at all. Many advertisers can get what they need from native reporting plus a clean final URL suffix strategy.

Tracking Template vs. Final URL Suffix vs. Custom Parameters

These three features are easy to mix up, so here’s the practical difference.

The tracking template is where you place tracking logic, including optional redirects and dynamic placeholders. If you’re using a click measurement provider, this is usually where their required format goes (with your final URL inserted via a special placeholder).

The final URL suffix is for parameters that should simply be appended to the end of the landing page URL. It’s ideal for analytics tags (like UTM-style parameters) because it avoids unnecessary redirect complexity and stays clean and consistent across ads.

Custom parameters let you define your own named values (for example, internal taxonomy like “branding” vs. “leads”) and then reference them inside a tracking template or final URL setup. They’re especially useful when you want consistent naming that isn’t tied to platform IDs, or when you want to control your taxonomy at the campaign/ad group level without rewriting your tracking template everywhere.

Where You Can Set a Tracking Template (and Which One “Wins”)

You can set tracking templates at multiple levels, including account, campaign, ad group, keyword, and certain asset-related levels. When more than one tracking template exists, the system uses the most specific one available. In practice, that usually means keyword overrides ad, ad overrides ad group, ad group overrides campaign, and campaign overrides account.

This hierarchy matters a lot in real accounts because it’s common to inherit an old ad group template you forgot about, then wonder why your new account-level template isn’t being used. If you’re troubleshooting, make it a habit to add and review the “tracking template source” column so you can see exactly where the active template is coming from.

Step-by-Step: How to Create a Tracking Template in the Interface

Step 1: Build the Template String Correctly

The single most important rule: your tracking template must include a final URL insertion placeholder, otherwise your landing page URL can break. The most common placeholder is {lpurl}.

If your goal is to pass click-level data into your landing page for analytics or attribution, you’ll typically start with a simple structure like this:

{lpurl}?param1=value1&param2=value2

Then you replace values with dynamic placeholders as needed. For example, you might append device, campaign ID, ad group ID, match type, creative ID, or other click metadata. Keep your naming consistent and human-readable wherever possible, because you’ll thank yourself later when you’re building reports across multiple channels.

If you’re using a third-party click tracker, the format usually looks like: your tracking domain + redirect path + a parameter that receives the landing page URL (inserted via {lpurl}). In those cases, follow your provider’s required structure and confirm whether they expect an escaped vs. unescaped landing page insertion.

Step 2: Decide the Right Level (Account vs. Campaign vs. Ad Group vs. Ad/Keyword)

As a default best practice, set tracking as high in the hierarchy as you reasonably can (often at the account or campaign level). That makes ongoing maintenance dramatically easier and reduces the risk of fragmented tracking across ad groups.

There’s also an operational benefit: updating URL options at broader levels (like account/campaign/ad group) can often be done without triggering widespread ad re-review, while more granular edits (like at the ad, keyword, or certain asset levels) are more likely to require review workflows. In other words, if you want speed and stability, avoid per-ad tracking unless you truly need it.

Step 3: Enter the Tracking Template (Common Paths)

  1. Account level (recommended for global governance): Go to the Admin area, open account settings, find the tracking section, and enter your tracking template in the tracking template field. This is ideal when you want one standard across the whole account.
  2. Campaign level (recommended for channel/tactic separation): Go to Campaigns, open Settings, add the “Tracking template” column if it’s not visible, then click the pencil icon to enter your template. This is ideal when Brand vs. Nonbrand vs. Competitor campaigns need different tagging or different tracker routes.
  3. Ad group level (recommended for tightly themed structures): Go to Ad groups, add the “Tracking template” column, then edit the value in the table. This is useful if ad groups map to product lines or regions and you want to encode that structure cleanly.
  4. Ad level (use sparingly): Go to Ads, edit the ad, expand Ad URL options, and enter your tracking template. Only do this when you genuinely need per-ad differences that can’t be handled by custom parameters or naming conventions.
  5. Keyword level (use sparingly): Go to Search keywords, add the “Tracking template” column, then edit it per row. This is typically reserved for edge cases where a small set of keywords must be routed differently (for example, special landing experiences or unique attribution requirements).

Step 4: Use the Built-In “Test” Function Before You Launch

Whenever you edit a tracking template, use the platform’s Test button. The test combines your final URL with your tracking template and checks that the click resolves to a valid landing page URL. This is the fastest way to catch missing URL insertion placeholders, malformed query strings, and redirect formatting issues.

Also set expectations internally: tracking template changes may take 24–48 hours to fully reflect in ad serving after updates. If you’re doing an attribution migration, plan a staged rollout rather than flipping everything at once and expecting instant parity in your reports.

Best Practices and Troubleshooting (So Tracking Doesn’t Break Performance)

Parallel Tracking: The Rule, Not the Exception

Parallel tracking is the standard click measurement approach for most campaign types, and in many cases it’s mandatory. Practically, this means users are sent directly to your final URL while click measurement happens “in the background.”

From an advertiser standpoint, this is good news: it reduces landing page latency and can prevent lost visits. From a tracking standpoint, it means your tracking setup must be compatible with parallel tracking behavior—especially if you rely on redirects, cookies, or chained tracking hops.

One non-negotiable requirement: your tracking template URL and all redirect URLs must be HTTPS, and redirects must be server-side. If any part of the chain is not compliant, you can see broken measurement, inconsistent attribution, or failed redirects.

Anchors (#) and AJAX Fragments (#!): A Quiet Source of Tracking Bugs

If your final URL contains an anchor (#) or an AJAX fragment (#!), adding parameters via a tracking template can behave differently than you expect. In these cases, the safest approach is to place tracking parameters directly into the final URL (not appended later), ideally behind an {ignore} tag so the system treats the right portion as tracking data during processing.

This is one of those “it works fine until it doesn’t” issues—especially on single-page applications—so address it proactively if your site relies heavily on anchors or dynamic routing.

Common Mistakes Checklist (Fix These First)

  • Missing {lpurl} (or another final URL insertion placeholder): This is the fastest way to break landing page URLs at scale.
  • Using a tracking template when you only need appended parameters: If you don’t need redirects, a final URL suffix is often cleaner and easier to maintain.
  • HTTP anywhere in the redirect chain: Even one non-HTTPS hop can disrupt tracking and measurement behavior.
  • Multiple templates set at different levels: The most specific one wins, so “mystery” tracking usually comes from an unexpected lower-level override. Check the tracking template source column.
  • Overwriting analytics parameters unintentionally: If your final URL already contains parameters, confirm whether your template should start with “?” or “&” to avoid malformed URLs and duplicate keys.

How I’d Structure Tracking in a Real Account (Clean, Scalable, Report-Friendly)

For most mature accounts, I prefer a simple governance model: keep the tracking template reserved for true click tracking needs (especially third-party trackers), and keep analytics-style parameters in the final URL suffix so they’re consistently appended without forcing a redirect dependency. Then use custom parameters at the campaign or ad group level to encode internal taxonomy (product line, region, funnel stage) in a controlled way.

This approach gives you three big wins: faster troubleshooting (because overrides are predictable), fewer accidental URL breaks during launches, and cleaner reporting when you stitch paid media data to analytics and CRM outcomes.

Let AI handle
the Google Ads grunt work

Try our AI Agents now
Topic Key Takeaways from the Blog Relevant Google Ads Documentation
What a tracking template is A tracking template is an advanced URL options field that “wraps” your landing page URL. On click, Google Ads combines the tracking template with the final URL to create the landing page URL, letting you add tracking without changing what users see. Learn about final URLs and tracking templates
When you actually need a tracking template Most useful when (1) you rely on a third‑party or in‑house click tracker that must be hit on every click, or (2) you need highly consistent, structured parameters (often with dynamic IDs) for analytics, CRM, or offline conversion matching. If you only need basic reporting or simple tagging, you can often skip templates and rely on final URL suffixes. Set up tracking templates, final URL suffixes, and custom parameters
Tracking template vs. final URL suffix vs. custom parameters Tracking template: Holds tracking logic, redirects, and dynamic placeholders (for example with a click measurement provider).
Final URL suffix: Simply appends parameters to the landing page URL (ideal for analytics tags like UTMs).
Custom parameters: Named values (for example product line, funnel stage) you define at campaign/ad group level and reference in templates/suffixes for consistent taxonomy.
Add a final URL suffix
Set up tracking with ValueTrack parameters and custom parameters
Hierarchy: where templates can be set and which one wins Templates can be set at account, campaign, ad group, ad, keyword, and some asset levels. The most specific level wins: keyword > ad > ad group > campaign > account. Old lower‑level templates can silently override newer higher‑level settings, so the blog recommends using and checking the “tracking template source” column when troubleshooting. Account, campaign, and ad group URL options
Ad, ad group, and keyword URL options
Step 1 – Build the template string correctly Always include a final URL insertion placeholder (typically {lpurl}) or you risk breaking landing page URLs. Start from a pattern like {lpurl}?param1=value1&param2=value2, then swap values for dynamic placeholders (device, campaign ID, ad group ID, etc.). For third‑party trackers, use their required format with {lpurl} inserted and confirm whether it must be escaped. ValueTrack parameters and {lpurl} options
Examples of URL parameters and tracking templates
Step 2 – Choosing the right level (account/campaign/ad group/ad/keyword) Default best practice is to set tracking as high as possible (often account or campaign) for easier maintenance and fewer inconsistencies. Broader‑level URL changes are less likely to trigger extensive ad re‑review than ad- or keyword‑level edits, so avoid per‑ad or per‑keyword templates unless absolutely necessary. Account, campaign, and ad group‑level tracking templates
Ad and keyword‑level final URL settings
Step 3 – How to enter the tracking template The blog walks through common paths:
Account level: Use Admin → account settings → tracking section for global standards.
Campaign level: Use Campaigns → Settings and the “Tracking template” column (good for Brand vs. Nonbrand vs. Competitor separation).
Ad group level: Use the “Tracking template” column (useful when ad groups map to product lines or regions).
Ad/keyword level: Use sparingly via Ad URL options or the keyword table for true edge cases.
Set up tracking templates and final URL suffixes
Add a final URL suffix at different levels
Step 4 – Using the built‑in Test function Always use the Test button after editing templates. Google Ads will combine the final URL and tracking template and verify that the resulting landing page is valid, helping you catch missing {lpurl}, malformed query strings, or redirect issues. Expect changes to take 24–48 hours to fully reflect, so plan phased rollouts for major attribution changes. Testing and behavior of final URLs and tracking templates
Parallel tracking requirements Parallel tracking is standard and often mandatory. Users go directly to the final URL while tracking loads in the background. All tracking template and redirect URLs must be HTTPS and server‑side. Incompatible redirects or non‑HTTPS hops can break measurement or attribution. About parallel tracking
Ads redirect and {lpurl} behavior with parallel tracking
Anchors, AJAX fragments, and {ignore} If your final URL uses anchors (#) or AJAX fragments (#!), adding parameters via a tracking template can behave unpredictably. The blog recommends putting tracking parameters directly in the final URL and protecting them with {ignore} so Google can correctly distinguish the tracking portion from the landing path, especially for single‑page apps. Advanced ValueTrack usage (including {ignore})
Common mistakes to avoid • Omitting {lpurl} (or another insertion placeholder) and breaking landing pages at scale.
• Using a tracking template when a simple final URL suffix would suffice.
• Allowing any HTTP URL in the redirect chain, which can disrupt tracking.
• Forgetting about lower‑level templates that override higher‑level ones.
• Mis‑handling “?” vs “&” when the final URL already has parameters, leading to malformed URLs or overwritten analytics tags.
Configuration best practices for templates vs. suffixes
URL parameter and tracking examples
Recommended overall structure in a mature account Reserve tracking templates for true click‑tracking needs (especially third‑party trackers). Put analytics and reporting parameters in the final URL suffix instead of the template. Use custom parameters at campaign or ad group level to encode internal taxonomy (product, region, funnel stage). This keeps tracking easier to troubleshoot, reduces accidental URL breaks, and improves cross‑channel reporting. Template vs. final URL suffix guidance
Using custom parameters for internal taxonomy

Let AI handle
the Google Ads grunt work

Try our AI Agents now

If you’re setting up tracking templates in Google Ads—making sure you use {lpurl}, choosing the right level (account vs. campaign vs. keyword), testing changes, and avoiding conflicts from more specific overrides—it helps to have a reliable way to keep everything consistent as your account evolves. Blobr connects to your Google Ads and uses specialized AI agents to continuously review what’s happening across campaigns, surface practical fixes, and help you stay on top of details that can quietly impact measurement and performance (like URL and landing page alignment), so your tracking setup stays clean while you focus on higher-level decisions.

What a Tracking Template Is (and When You Actually Need One)

A tracking template is an “advanced URL options” field that lets you add tracking information to ad clicks without changing the visible destination your users land on. Think of it as a wrapper around your landing page URL: when someone clicks, the system combines your tracking template with the final URL to produce the full landing page URL used for that click.

In day-to-day account management, you typically use tracking templates for one of two reasons. The first is when you work with a third-party click tracker (or an in-house redirect) and you need every click to ping that tracker. The second is when you want highly consistent, structured parameters across campaigns (including dynamic IDs) for downstream analytics, CRM attribution, or offline conversion matching.

If your needs are basic—like campaign-level reporting inside the platform or simple analytics tagging—you may not need a tracking template at all. Many advertisers can get what they need from native reporting plus a clean final URL suffix strategy.

Tracking Template vs. Final URL Suffix vs. Custom Parameters

These three features are easy to mix up, so here’s the practical difference.

The tracking template is where you place tracking logic, including optional redirects and dynamic placeholders. If you’re using a click measurement provider, this is usually where their required format goes (with your final URL inserted via a special placeholder).

The final URL suffix is for parameters that should simply be appended to the end of the landing page URL. It’s ideal for analytics tags (like UTM-style parameters) because it avoids unnecessary redirect complexity and stays clean and consistent across ads.

Custom parameters let you define your own named values (for example, internal taxonomy like “branding” vs. “leads”) and then reference them inside a tracking template or final URL setup. They’re especially useful when you want consistent naming that isn’t tied to platform IDs, or when you want to control your taxonomy at the campaign/ad group level without rewriting your tracking template everywhere.

Where You Can Set a Tracking Template (and Which One “Wins”)

You can set tracking templates at multiple levels, including account, campaign, ad group, keyword, and certain asset-related levels. When more than one tracking template exists, the system uses the most specific one available. In practice, that usually means keyword overrides ad, ad overrides ad group, ad group overrides campaign, and campaign overrides account.

This hierarchy matters a lot in real accounts because it’s common to inherit an old ad group template you forgot about, then wonder why your new account-level template isn’t being used. If you’re troubleshooting, make it a habit to add and review the “tracking template source” column so you can see exactly where the active template is coming from.

Step-by-Step: How to Create a Tracking Template in the Interface

Step 1: Build the Template String Correctly

The single most important rule: your tracking template must include a final URL insertion placeholder, otherwise your landing page URL can break. The most common placeholder is {lpurl}.

If your goal is to pass click-level data into your landing page for analytics or attribution, you’ll typically start with a simple structure like this:

{lpurl}?param1=value1&param2=value2

Then you replace values with dynamic placeholders as needed. For example, you might append device, campaign ID, ad group ID, match type, creative ID, or other click metadata. Keep your naming consistent and human-readable wherever possible, because you’ll thank yourself later when you’re building reports across multiple channels.

If you’re using a third-party click tracker, the format usually looks like: your tracking domain + redirect path + a parameter that receives the landing page URL (inserted via {lpurl}). In those cases, follow your provider’s required structure and confirm whether they expect an escaped vs. unescaped landing page insertion.

Step 2: Decide the Right Level (Account vs. Campaign vs. Ad Group vs. Ad/Keyword)

As a default best practice, set tracking as high in the hierarchy as you reasonably can (often at the account or campaign level). That makes ongoing maintenance dramatically easier and reduces the risk of fragmented tracking across ad groups.

There’s also an operational benefit: updating URL options at broader levels (like account/campaign/ad group) can often be done without triggering widespread ad re-review, while more granular edits (like at the ad, keyword, or certain asset levels) are more likely to require review workflows. In other words, if you want speed and stability, avoid per-ad tracking unless you truly need it.

Step 3: Enter the Tracking Template (Common Paths)

  1. Account level (recommended for global governance): Go to the Admin area, open account settings, find the tracking section, and enter your tracking template in the tracking template field. This is ideal when you want one standard across the whole account.
  2. Campaign level (recommended for channel/tactic separation): Go to Campaigns, open Settings, add the “Tracking template” column if it’s not visible, then click the pencil icon to enter your template. This is ideal when Brand vs. Nonbrand vs. Competitor campaigns need different tagging or different tracker routes.
  3. Ad group level (recommended for tightly themed structures): Go to Ad groups, add the “Tracking template” column, then edit the value in the table. This is useful if ad groups map to product lines or regions and you want to encode that structure cleanly.
  4. Ad level (use sparingly): Go to Ads, edit the ad, expand Ad URL options, and enter your tracking template. Only do this when you genuinely need per-ad differences that can’t be handled by custom parameters or naming conventions.
  5. Keyword level (use sparingly): Go to Search keywords, add the “Tracking template” column, then edit it per row. This is typically reserved for edge cases where a small set of keywords must be routed differently (for example, special landing experiences or unique attribution requirements).

Step 4: Use the Built-In “Test” Function Before You Launch

Whenever you edit a tracking template, use the platform’s Test button. The test combines your final URL with your tracking template and checks that the click resolves to a valid landing page URL. This is the fastest way to catch missing URL insertion placeholders, malformed query strings, and redirect formatting issues.

Also set expectations internally: tracking template changes may take 24–48 hours to fully reflect in ad serving after updates. If you’re doing an attribution migration, plan a staged rollout rather than flipping everything at once and expecting instant parity in your reports.

Best Practices and Troubleshooting (So Tracking Doesn’t Break Performance)

Parallel Tracking: The Rule, Not the Exception

Parallel tracking is the standard click measurement approach for most campaign types, and in many cases it’s mandatory. Practically, this means users are sent directly to your final URL while click measurement happens “in the background.”

From an advertiser standpoint, this is good news: it reduces landing page latency and can prevent lost visits. From a tracking standpoint, it means your tracking setup must be compatible with parallel tracking behavior—especially if you rely on redirects, cookies, or chained tracking hops.

One non-negotiable requirement: your tracking template URL and all redirect URLs must be HTTPS, and redirects must be server-side. If any part of the chain is not compliant, you can see broken measurement, inconsistent attribution, or failed redirects.

Anchors (#) and AJAX Fragments (#!): A Quiet Source of Tracking Bugs

If your final URL contains an anchor (#) or an AJAX fragment (#!), adding parameters via a tracking template can behave differently than you expect. In these cases, the safest approach is to place tracking parameters directly into the final URL (not appended later), ideally behind an {ignore} tag so the system treats the right portion as tracking data during processing.

This is one of those “it works fine until it doesn’t” issues—especially on single-page applications—so address it proactively if your site relies heavily on anchors or dynamic routing.

Common Mistakes Checklist (Fix These First)

  • Missing {lpurl} (or another final URL insertion placeholder): This is the fastest way to break landing page URLs at scale.
  • Using a tracking template when you only need appended parameters: If you don’t need redirects, a final URL suffix is often cleaner and easier to maintain.
  • HTTP anywhere in the redirect chain: Even one non-HTTPS hop can disrupt tracking and measurement behavior.
  • Multiple templates set at different levels: The most specific one wins, so “mystery” tracking usually comes from an unexpected lower-level override. Check the tracking template source column.
  • Overwriting analytics parameters unintentionally: If your final URL already contains parameters, confirm whether your template should start with “?” or “&” to avoid malformed URLs and duplicate keys.

How I’d Structure Tracking in a Real Account (Clean, Scalable, Report-Friendly)

For most mature accounts, I prefer a simple governance model: keep the tracking template reserved for true click tracking needs (especially third-party trackers), and keep analytics-style parameters in the final URL suffix so they’re consistently appended without forcing a redirect dependency. Then use custom parameters at the campaign or ad group level to encode internal taxonomy (product line, region, funnel stage) in a controlled way.

This approach gives you three big wins: faster troubleshooting (because overrides are predictable), fewer accidental URL breaks during launches, and cleaner reporting when you stitch paid media data to analytics and CRM outcomes.