On this page
What this issue is
Dynamic remarketing shows past visitors the exact products they viewed. To do this, Google Ads needs to know which product each visitor looked at. Your site tells it by sending parameters (extra pieces of data) along with the remarketing tag on every page view.
The key one is ecomm_prodid, the product ID. Two others matter too: ecomm_pagetype (home, category, product, cart or purchase) and ecomm_totalvalue (the value of the product or cart). In GA4-style setups the same data travels as an items array, where each item has an id. This issue means the product ID is missing, empty, or does not match the ID in your Google Merchant Center feed.
Why it costs you leads or sales
Without a valid product ID, Google cannot match a visitor to a product in your feed. Audiences for "viewed product but did not buy" or "abandoned cart" stay empty or small. Ads fall back to generic creative, or do not serve at all. You pay to bring people to the site and then lose the cheapest chance to win them back.
The impact is usually moderate rather than dramatic, because remarketing is only one part of your ad mix. It matters most for shops with many products and long buying decisions.
- Visitor views productPage loads normally
- Remarketing tag firesecomm_prodid empty or wrong
- Product audience builtNo product match in feed
- Product ad shownGeneric ad or none
The product page view is sent without an ID, so the later steps cannot happen.
Example: product page visitors added to a dynamic audience per week, before and after fixing the ID. Numbers are illustrative.
How to check if your site has it
Open a product page with Tag Assistant
Go to tagassistant.google.com, connect your site and load a product page. Click the Google Ads remarketing or Google tag event.
Look for the product data
Check the event's data for ecomm_prodid (or items with id), ecomm_pagetype and ecomm_totalvalue. Empty values, undefined or the word null mean it is broken.
Check the network request
In Chrome DevTools, open Network and filter for googleads.g.doubleclick.net or collect. Open the request and look at the data parameter for ecomm_prodid.
Compare with your feed
In Merchant Center, open Products and copy the ID of the same product. It must match what the tag sends, character for character (case and prefixes included).
Check Google Ads diagnostics
In Google Ads, open Tools > Shared library > Audience manager > Your data sources. Look for warnings about missing parameters or ID mismatches.
| What you see | Likely cause |
|---|---|
| ecomm_prodid is undefined | Data layer not ready when the tag fires |
| ecomm_prodid is empty on all pages | Variable points to the wrong data layer key |
| ID present but audience stays empty | ID does not match the Merchant Center ID |
| ID is a number on some pages and SKU on others | Theme or app sends mixed ID formats |
| Only the home page sends data | Tag set up only on all pages without product data |
How to fix it
The rule is simple: send the same ID your Merchant Center feed uses, on every product, cart and purchase page, before the remarketing tag fires. How you do it depends on your platform.
Find out which ID your feed uses
In Merchant Center, check whether IDs look like shopify_US_123_456 (Google & YouTube app) or are plain product or variant IDs or SKUs.
Use the Google & YouTube app
If you use Shopify's Google & YouTube channel, its remarketing tag sends matching IDs for you. Make sure the app's tag is the only one running, and remove any older hand-pasted remarketing code from the theme or checkout settings.
If you use a custom tag
Build the ID in the same format as the feed. In theme Liquid, product.selected_or_first_available_variant.id gives the variant ID. Pass it as ecomm_prodid.
Pick the shop plugin's feed format
WooCommerce feed plugins can use post ID or SKU as the product ID. Check which one your feed uses.
Use a plugin that sends matching IDs
Choose a Google Ads remarketing or GA4 ecommerce plugin that has a setting for product ID type (ID or SKU) and set it to match your feed.
Or push the data layer yourself
Add a data layer push on product pages with the ID, then read it in Google Tag Manager.
Create a data layer variable
In Variables, add a Data Layer Variable for ecommerce.items.0.item_id (or your own key). Set a default value so you can spot empty results.
Edit the Google Ads Remarketing tag
Open your Google Ads remarketing tag. Under event settings, add the parameters ecomm_prodid, ecomm_pagetype and ecomm_totalvalue, or tick the option to use the data layer items.
Fire after the data is ready
Use a trigger such as a custom event (view_item) that fires after the data layer push, not on Container Loaded.
Preview and publish
Use Preview mode, check the variable value on a product page, then publish.
Send the event with items
Add a gtag event on product pages with the item ID in the same format as your feed. See the code example below.
Fill the cart and purchase pages too
Send an array of IDs on cart pages and purchase pages so those audiences also work.
Use CMS fields
In Webflow Ecommerce or CMS, add a custom code embed on the product template and bind the SKU or item ID field into the gtag event.
Match the feed
Make sure the same SKU is used as the ID in the product feed you upload to Merchant Center.
gtag('event', 'view_item', {
send_to: 'AW-XXXXXXXXX',
value: 49.99,
items: [{
id: 'SKU-12345',
google_business_vertical: 'retail'
}]
});How to confirm it's fixed
- Tag Assistant shows ecomm_prodid (or items.id) filled on a product page
- ecomm_pagetype shows product, cart and purchase on the right pages
- The ID equals the one in Merchant Center for the same product
- No duplicate remarketing tags fire on the same page
- Google Ads Audience manager shows the data source receiving events with no parameter warnings
- The product audience size starts to grow after a day or two
Before
- ecomm_prodid undefined
- Page type missing
- Audience stays empty
After
- ecomm_prodid matches the feed ID
- Page type set on every template
- Product audience fills up
How to prevent it happening again
- Document which ID format your feed uses and keep it in one place
- Re-test a product, cart and purchase page after every theme, app or plugin update
- Re-test after changes to your Merchant Center feed settings
- Keep only one remarketing setup per site (app, GTM or hard-coded)
- Check Audience manager warnings monthly
How FunnelGuard handles this
FunnelGuard detects this issue only partly. Its robot visitor runs your real journeys on a schedule and checks the tracking hits sent to Google Ads, so it can tell you when the Google Ads tracking on a product step is not firing at all and alert you with a screenshot and a likely cause.
What it does not do is judge whether ecomm_prodid is the right value. It cannot compare your IDs with your Merchant Center feed, and it cannot see whether your dynamic audiences are filling. You cover that by hand: check a product page in Tag Assistant after any change, compare the ID with Merchant Center, and review Audience manager warnings.
You can start with the free plan (1 site, 2 journeys, daily checks, no card), or ask for the free read-only website audit.
Questions people ask
What is ecomm_prodid in Google Ads?
ecomm_prodid is a dynamic remarketing parameter that holds the product ID of the item a visitor viewed. Google uses it to match the visitor to a product in your Merchant Center feed so it can show that product in an ad.
Why is my dynamic remarketing not showing products?
The most common reasons are a missing or empty ecomm_prodid, an ID that does not match your Merchant Center feed, or too few people in the audience. Check a product page in Tag Assistant and compare the ID with your feed.
How do I check if ecomm_prodid is being sent?
Load a product page with Google Tag Assistant connected and open the remarketing or Google tag event. Look for ecomm_prodid or items with an id. You can also find it in the data parameter of the request in your browser's Network tab.
Does the product ID need to match Merchant Center?
Yes. The ID sent by your tag must match the product ID in your feed exactly, including case and any prefix. A mismatch means Google cannot link the visit to a product.
Do I still need ecomm_pagetype and ecomm_totalvalue?
They are recommended. ecomm_pagetype lets you build audiences such as cart abandoners, and ecomm_totalvalue gives Google the value to work with. Product ID is the most important of the three.
Can I use GA4 items instead of ecomm parameters?
Yes, in many setups the Google tag reads the GA4 ecommerce items array, where each item id plays the role of ecomm_prodid. The id must still match your feed.
Can FunnelGuard check my dynamic remarketing parameters?
Only partly. FunnelGuard checks that Google Ads tracking fires on your journey steps, but it does not verify that the product ID matches your Merchant Center feed. Check that by hand in Tag Assistant.
Related issues
- TRK-153Remarketing tag missingFix guide
- TRK-154Remarketing firing without ad_personalization consentFix guide
- TRK-142Conversion Linker tag missingFix guide
- TRK-139Conversion value or currency missingFix guide
- TRK-140Conversion fires twice (gtag + GTM)Fix guide
- TRK-135Google Ads conversion tag missing on thank-you pageFix guide