Google Ads and Tag Assistant showing my remarketing event snippet as invalid
I just added a Remarketing event snippet for a dynamic remarketing campaign to product pages in my store. here is an example of the code rendered on the page:
<script async="" src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-XXXXXXXXX'); </script> <script> gtag('event', 'page_view', { 'send_to': 'AW-XXXXXXXXX', 'google_business_vertical' : 'retail', 'id' : 'YYYYYYYYYY', // Google Merchant Center ID 'ecomm_pagetype': 'product', 'ecomm_prodid': 'zzzzzzzzzzzzzz', 'ecomm_totalvalue': '255.00' }); </script>
This looks correct to me, but Google Tag Assistant extension says there's an error:
When I click 'Requests' and go to the 2nd one, it shows the following meta data:
which again, looks correct to me.
Also, when I go Google Ads --> Audience Manager --> Audience Sources --> Google Ads Tag, it tells me there's an issue: Issue: ecomm_prodid never received
This is very confusing since ecomm_prodid is present and has a vale in the meta data above. I'm not sure what else I could be doing wrong. If anyone can help troubleshooting or sees something wrong to begin with, I'd be most appreciative.
The scripts are being added to the tag of a Shopify theme... in case that matters.
Thanks!!