Google remarketing code getting errors

Highlighted
New Member
2 0 0

I've got some of the reamarketing code working but keep getting this error. 

Values for "ecomm_prodid" should match item identifiers in your Merchant Center feed.

 

However, I've checked the merchant centre and in the list the ids are like this:

shopify_GB_9801040202_35508845066

 

and the remarketing tag is presenting them like this:

Shopify_GB_9801040202_35508845066

 

This is the code in my theme :

<script type="text/javascript">
var google_tag_params = {
ecomm_prodid: shopify_GB_{{ product.id }}_{{ product.variants.first.id }},
ecomm_pagetype: 'product',
ecomm_totalvalue: {{ product.price | money_without_currency }}
};
</script>

 

 

so whats wrong?

 

Please help -its driving me nuts!

 

 

0 Likes
Highlighted

HI Sarah,

I suggest you setup Google Analytics and then create something called 'Audiences' inside GA. You can do better remarketing this way rather than with the dynamic remarketing code. Some more info on using audiences https://support.google.com/analytics/answer/3457161?hl=en

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required): https://www.digitaldarts.com.au/google-shopping
0 Likes