← All Guides

Google Ads Remarketing and Audiences Through GTM: The Remarketing Tag, Dynamic Remarketing Parameters, GA4 Audiences and Customer Match

How to set up Google Ads remarketing through Google Tag Manager, pass dynamic remarketing parameters for retail and other verticals from your dataLayer, build behavioural audiences in GA4 and share them with Google Ads, use Customer Match from first-party lists, and respect consent throughout.

Atiqul Islam
Written by Atiqul Islam

Tracking & analytics specialist. 278+ GTM, GA4 and server-side tracking projects for clients in the US, UK and Australia.

Rather not do this yourself? I set this up for clients every week. Free 15-minute audit, no obligation.

Book a Free Audit

Remarketing is where tracking turns into targeting. Three mechanisms work together in Google Ads: the remarketing tag for dynamic product ads, GA4 audiences for behaviour-based lists, and Customer Match for your own customer data. This guide sets up all three through GTM and GA4, with consent handled.

Mechanism 1: The Google Ads Remarketing Tag

In Google Ads, under Tools, then Data manager or Audience manager, then Your data sources, set up the Google Ads tag and choose whether to collect specific attributes for dynamic remarketing. Note the Conversion ID.

In GTM, create a Google Ads Remarketing tag with the Conversion ID. For basic remarketing, fire it on All Pages. For dynamic remarketing, add the Custom Parameters from Data Layer Variables and fire it on the relevant page types.

The tag has built-in consent checks; under Consent Mode it sends cookieless pings when consent is denied and full data when granted.

Mechanism 1b: Dynamic Remarketing Parameters

For retail, Google expects ecomm_prodid, ecomm_pagetype and ecomm_totalvalue. Push them from the dataLayer alongside your ecommerce events:

window.dataLayer.push({
  event: 'view_item',
  ecommerce: { /* GA4 ecommerce as usual */ },
  ecomm_pagetype: 'product',
  ecomm_prodid: ['SKU-401'],
  ecomm_totalvalue: 59.95
});

Page types: home, searchresults, category, product, cart, purchase, other. For cart and purchase, ecomm_prodid is the array of IDs and ecomm_totalvalue the total.

In the remarketing tag, map Custom Parameters: ecomm_pagetype, ecomm_prodid, ecomm_totalvalue to their variables. Use the Google Ads retail vertical in the tag settings, or the vertical for your business such as travel, education, real estate or jobs, each of which has its own parameter names documented by Google.

Product IDs must match the IDs in your Google Merchant Center feed, or the ads cannot render the products.

Mechanism 2: GA4 Audiences

GA4 audiences are built from events, parameters and user properties and sync to Google Ads through the link with personalised advertising enabled.

Audiences worth creating on most sites:

Audience Definition Use
Cart abandoners add_to_cart in 7 days and no purchase Remarketing with an incentive
Product viewers no cart view_item in 14 days and no add_to_cart Light touch remarketing
Guide readers content_read in 30 days Awareness to lead remarketing
Form starters form_start and no form_submit_success Lead recovery
Recent customers purchase in 180 days Exclude from acquisition, include in upsell
High-value customers purchase value over a threshold Lookalike seed where available

Create them under Admin, then Audiences, with the membership duration that suits the cycle. They appear in Google Ads Audience manager within a day and begin populating from creation; they are not backfilled.

Mechanism 3: Customer Match

Under Audience manager, then Customer lists, upload a file of hashed or plain emails, phones and addresses from your CRM or store. Google hashes plain values on upload. Use lists for: existing customers to exclude from acquisition, lapsed customers to win back, high-value segments to target and as seeds for similar segments where the feature exists. Schedule regular updates through Data Manager so the lists stay current.

Only use data from people who have a first-party relationship with the business and whose consent for this use is covered by your privacy policy.

Testing

  1. GTM Preview: on a product page, the remarketing tag fires with ecomm_prodid and ecomm_pagetype populated. Inspect the request in a tag debugger such as the Insighter Debugger extension.
  2. Google Ads, Your data sources: the Google Ads tag shows Active and, for dynamic, shows parameters received.
  3. Audience manager: audiences from GA4 appear with sizes growing daily.
  4. Diagnostics on the data source flag missing parameters or feed mismatches within a day or two.

Common Problems

Outcome

Visitors see ads for the products they looked at, behaviour-based lists recover carts and leads, existing customers are excluded from prospecting and targeted for the next purchase, and all of it respects the consent signals you collect.

Frequently Asked Questions

Do I still need the remarketing tag if GA4 is linked to Google Ads?

GA4 audiences cover most behavioural remarketing. The Google Ads remarketing tag is still needed for dynamic remarketing, where ads show the specific products a visitor viewed, because it carries the product IDs. Many accounts use both.

What are dynamic remarketing parameters?

Values sent with the remarketing event that identify what the visitor looked at: product IDs and the page type for retail, destination and dates for travel, listing IDs for real estate. Google matches them to your feed to build personalised ads.

How small can an audience be?

Display needs at least 100 active users in the last 30 days; Search and YouTube need 1,000. Audiences below the threshold are created but not served.

What is Customer Match?

Uploading hashed emails, phones or addresses of your customers or leads so Google Ads can target or exclude them, and build similar segments where available. It needs account eligibility and the data must come from your own first-party relationship.

Does remarketing need consent?

Yes. In the EU and UK, remarketing requires ad_storage and ad_personalization consent. With Consent Mode v2, the remarketing tag adapts automatically, and audiences only include consented users.

Want This Done Right the First Time?

Book a free 15-minute audit call. I'll review your setup, show you what is broken, and tell you exactly what it takes to fix it.

Chat Now