Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Dynamic remarketing ecomm_prodid missing: how to find and fix it

TRK-155Low impactPartlyBy FunnelGuardPublished Updated
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.

Where dynamic remarketing breaks
  1. Visitor views productPage loads normally
  2. Remarketing tag firesecomm_prodid empty or wrong
  3. Product audience builtNo product match in feed
  4. Product ad shownGeneric ad or none

The product page view is sent without an ID, so the later steps cannot happen.

Product-level audience sizeExample numbers
Product-level audience size (example)ecomm_prodid missing: 0 visitors; ecomm_prodid fixed: 1,800 visitors06901,38001,800ecomm_prodid missingecomm_prodid fixedvisitors

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

Check the parameters on a product page
  1. 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.

  2. 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.

  3. 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.

  4. 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).

  5. 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.

Common signs and what they usually mean
What you seeLikely cause
ecomm_prodid is undefinedData layer not ready when the tag fires
ecomm_prodid is empty on all pagesVariable points to the wrong data layer key
ID present but audience stays emptyID does not match the Merchant Center ID
ID is a number on some pages and SKU on othersTheme or app sends mixed ID formats
Only the home page sends dataTag 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.

Fix by platform
  1. 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.

  2. 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.

  3. 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.

gtag event with product ID for dynamic remarketingjavascript
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

Confirmation checklist
  • 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
Remarketing tag data

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

Prevention habits
  • 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.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.