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.
Consent
- The remarketing tag: no additional consent required in GTM, relying on Consent Mode; or require
ad_storageif you run Basic mode. - GA4 audiences: only consented users with
ad_storageandad_personalizationgranted are eligible for ads personalisation. - Customer Match: governed by your own data policy and Google's customer match policies.
Testing
- GTM Preview: on a product page, the remarketing tag fires with
ecomm_prodidandecomm_pagetypepopulated. Inspect the request in a tag debugger such as the Insighter Debugger extension. - Google Ads, Your data sources: the Google Ads tag shows Active and, for dynamic, shows parameters received.
- Audience manager: audiences from GA4 appear with sizes growing daily.
- Diagnostics on the data source flag missing parameters or feed mismatches within a day or two.
Common Problems
- Dynamic ads show no products. Product IDs do not match the Merchant Center feed, or
ecomm_pagetypeis missing. - Audience size stuck at zero. GA4 link lacks personalised advertising, or the audience was just created and is filling.
- Audiences ineligible. Below the minimum size for the network.
- Remarketing serving in the EU without consent. Consent Mode not implemented; fix before anything else.
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.
