Google Ads · Tracking template

Shopping → Google Ads tracking template

Shopping-oriented UTMs including product_id and device.

Use this recipe on Google Ads. Open it in the builder to merge, validate tokens, or combine with other tools.

Was this recipe useful? 4.1 (22)

Tap a star to rate (1–5). You can change your rating later.

Tracking template
{lpurl}?utm_source=google&utm_medium=shopping&utm_campaign={campaignid}&utm_content={adgroupid}&device={device}&product_id={product_id}

How to install

  1. Open Google Ads → AdminAccount settingsTracking.
  2. Paste the template into the Tracking template field.
  3. Click Test, then Save.
  4. Replace any placeholders (account IDs, domains) before going live.

Why this stack

Shopping-oriented UTMs including product_id and device.

This Shopping → Google Ads recipe is built for Google Ads with shopping. Paste into Tracking template. If you also need UTMs beside a redirect, put UTMs in Final URL suffix instead.

Common pitfalls

  • Wrong field ownership — redirects must own Tracking template; UTMs / tw_* / nbt= usually belong in Final URL suffix (Google / Microsoft).
  • Duplicate keys (two utm_source values) silently overwrite each other in analytics.
  • Leaving placeholders like account IDs or domain tokens unreplaced breaks the click path.

Before you go live

  • Replace placeholders such as account IDs, tracker IDs, and domains.
  • Click through once from the ad preview and confirm the landing URL.
  • Confirm analytics or call-tracking tools still receive the expected query parameters.
  • Cross-check macros in the Google Ads parameter guide.

Need a variation? Open this stack in the template builder to merge another tool or validate tokens.

FAQ

Where do I paste the Shopping → Google Ads template?

Paste into the Tracking template field in Google Ads account (or campaign) settings.

Will this break my landing page URL?

Templates that start with {lpurl} or include u={lpurl} / url={lpurl} preserve your final URL. On Meta/TikTok/LinkedIn, you append macros to the destination URL directly. Always click-test after saving.

Where are the Google Ads macros documented?

See the Google Ads parameter reference on this site.