How to properly install Google Dynamic Shopping Remarketing?

Highlighted
New Member
4 0 0

Thanks Josh:

You are so nice.

Yes, my google shopping have run for more than 3 months, if I change the merchant center ID, maybe it will "kill" my google shopping ads.

I want to creat new shopify store for your remaketing code.

Thanks so much for your time and suggestion.

Best Regards 

Mike

0 Likes
Highlighted
New Member
1 0 0

Hi Josh, 

I followed the detailed guide you mentioned on how to set up Shopify remarketing and everything seems to work fine except I get an issue in Google Ads Tag page: "Issue: 100% of ecomm_prodid values received don't match your feed" even though I see ecomm_prodid values populated in Google Ads and I the same matching ecomm_prodid values in my Google Merchant center.

 

This is the full error text:

 

Fix your audience source that's sending a required parameter that doesn't match your feed
Your campaigns can't tailor dynamic ads based on user activity when the required parameter doesn't match your feed. Make sure the audience source is sending the required parameter correctly and your feed has the right items.

The values received from your audience source for the required parameter for your business type may be formatted differently than in your feed or missing from your feed. Click "Download" to see the top values received for the required parameter that aren't matching your feed. Note that Google Analytics refers to parameters for remarketing as Dynamic Attributes. Download
Issue: 100% of ecomm_prodid values received don't match your feed

There is a download link but when I click on that the document contains only a header with no rows populated.

Not sure what to do here because I don't find the error that useful and I'm not sure what to try to fix where.

 

0 Likes
Highlighted

When setting up the remarketing code, I have seen it take at least 2 weeks for the 100% missing values warning to disappear despite everything being setup correctly.

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
Highlighted
Tourist
5 0 2

Hi Josh,

Thank you very much for the guide. Its much clearer than any other guideline I found on the webs.

I have installed your code into my store and have a question:

Using the google tag assistance, i am now seeing two global site tag on my product page. (before I installed the code there were only one)

Would that cause a problem on my conversion tracking? Will it duplicate my conversion numbers?

Thank you for your time.

 

image.png

 

0 Likes
Highlighted

If that's your product page, why do you have two conversion setup on it, let alone one? Off topic though.

 

You have the Google Ads global site tag inserted in your theme somewhere. That is unnecessary. I can't help any further without seeing a store. With my setup, you will see a Google Ads Remarketing Tag and Global site tag (gtag.js). Anything else is from other sources.

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
Highlighted
Tourist
9 0 1

Hi Josh,

This code is great and easy instructions to install.

I am getting the error below when analyzing my tags.  Not sure where to place tags below "Pageview Hit"

This is from a product page.

 

Inkedremarketing_LI.jpg

0 Likes
Highlighted

What tool are you using to diagnose? If you look at the code, you will see send_page_view is set to false to not double up Google Analytics pageviews. Shopify sends its own pageview hit to Google Analytics if you have GA setup in Shopify.

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
Highlighted
Tourist
9 0 1

Hi Josh...This diagnostic is from Google Tag Assistant Chrome extension. 

 

Code does have the send_page_view command 

tag code.JPG

0 Likes
Highlighted

I believe you're seeing that by doing a recording then viewing the Google Analytics Report in the extension. You could remove

'send_page_view': false,

if you wanted but you will get bloated page view data.

 

However, I don't believe that means it is setup wrong. In a sense, it is a necessary evil to avoid bloated page view data. Google on this issue say:
(not set) values in the Landing Page report have not been an issue with setups I've done using that code. Maybe it would be an issue if a non interaction hit wasn't recorded. Plus it all still validates in Google Ads Audience Insights.

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
Highlighted
New Member
8 0 0

Hi Josh,

Forever we have had this error: 100% of ecomm_prodid values received in the past day didn't match your feed

Following are the theme.liquid and the Shopify additional script. Would you please tell me what is screwed up? Mega Appreciation!

 

theme liquid:

{% comment %}
Global site tag and Event snippet
{% endcomment %}

<!-- Global site tag (gtag.js) - Google Ads: 858260480 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-858260480"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag ('set', 'allow_ad_personalization_signals', false ) ;
gtag('js', new Date());

gtag('config', 'AW-858260480');
gtag('config', 'UA-71266512-1');
</script>

<script>
gtag('event', 'page_view', {
'send_to': 'AW-858260480',
'value': 'replace with value',
'items': [{
'id': 'replace with value',
'google_business_vertical': 'retail'
}, {
'id': 'replace with value',
'location_id': 'replace with value',
'google_business_vertical': 'custom'
}]
});
</script>

 

Shopify additional scripts:

<!-- START Google Ads dynamic remarketing by DigitalDarts.com.au v1.3 -->
{% assign UA-ID = "UA-PROPERTY_ID" -%}{%- comment -%}Google Analytics tracking ID.{%- endcomment -%}
{%- assign AW-ID = "AW-GOOGLE_CONVERSION_ID" -%}{%- comment -%}Google Ads conversion ID.{%- endcomment -%}
{%- assign product-id = "product-id_variant-id" -%}{%- comment -%}The format of the product IDs in the feed. 3 accepted values "sku" (SKU of the variant e.g. aga-012), "variant-id" (variant ID e.g. 21283160948841), or "product-id_variant-id" (product ID underscore then variant ID e.g. 28541777444969_21283160948841).{%- endcomment -%}
{%- assign product-id-prefix = "shopify_AU_" -%}{%- comment -%}Prefix to product-id. Leave blank if there's no prefix. This is likely needed if product-id_variant-id is selected so 123456_789012 becomes shopify_AU_28541777444969_21283160948841.{%- endcomment -%}
{%- assign price-decimal-fs = true -%}{%- comment -%}If the decimal separator is a full stop like in USD and AUD currencies, set to true. If it is a comma like in some European countries, set to false.{%- endcomment -%}
{%- comment -%}Change dimension1, dimension2, and dimension3 on line 15 to match your custom dimension number in Google Analytics.{%- endcomment -%}

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ UA-ID }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ UA-ID }}', { 'send_page_view': false, 'custom_map': {'dimension1': 'ecomm_prodid', 'dimension2': 'ecomm_pagetype', 'dimension3': 'ecomm_totalvalue'} });
gtag('config', '{{ AW-ID }}');
</script>

<script>
gtag('event', 'Dynamic Remarketing', { 'ecomm_pagetype': 'purchase'
{%- if product-id == "product-id_variant-id" -%}
, 'ecomm_prodid': [{% for item in checkout.line_items %}'{{ product-id-prefix }}{{ item.product_id }}_{{ item.variant_id }}'{% unless forloop.last %}, {% endunless %}{% endfor %}]
{%- elsif product-id == 'variant-id' -%}
, 'ecomm_prodid': [{% for item in checkout.line_items %}'{{ product-id-prefix }}{{ item.variant_id }}'{% unless forloop.last %}, {% endunless %}{% endfor %}]
{%- elsif product-id == 'sku' -%}
, 'ecomm_prodid': [{% for item in checkout.line_items %}'{{ product-id-prefix }}{{ item.sku }}'{% unless forloop.last %}, {% endunless %}{% endfor %}]
{%- endif -%}
, 'ecomm_totalvalue': {% if price-decimal-fs == true -%}{{ checkout.total_price | money_without_currency | remove: ',' }}{% else %}{{ checkout.total_price | money_without_currency | remove: '.' | replace: ',', '.' }}{%- endif -%}
, 'non_interaction': true });
</script>
<!-- END Google Ads dynamic remarketing by DigitalDarts.com.au -->

 

0 Likes