Created on 19 January, 2016 | Updated on 11 December, 2022
Adding Google Adwords Remarketing Tag To Shopify

How To Add Google Ads Remarketing Tag To Shopify

An easy step by step guide on how to add Google Ads remarketing tag to Shopify using the latest features.

Step 1) Get Your Audience Source Tag ID

Login to Google Ads, then in the top right corner click on the 3dot menu and select Audience Manager from the Shared Library section

Google Ads Audience Manager

From the left hand menu, click on Audience Source

Depending if you have an existing setup or not choose option 1 or 2.

Option 1: Click on setup tag

Google Ads Setup Tag

Option 2: Or click on the 3dot menu and choose edit source within the Adwords tag section

Google Ads Audience Sources

Select the following

  • Dynamic Remarketing
    • Collect specific attributes or parameters to personalize ads
  • Business Type
    • Retail
Google Ads Tag Data Source

Click on Install the tag yourself

Google Ads Install Tag Yourself

If you get a choice to choose the old or new one, click on the new one and copy the event code to a plain text editor. And copy the numeric source tag id as shown in the image below for later use. We will add the source tag id to the script below.

Google Ads Source Tag ID

Step 2) Adding The Tracking Code To theme.liquid

  • Login to your Shopify Admin Panel
  • Open up the theme editor by going to Online Store > Themes
  • Now choose Actions > Edit Code
Edit Shopify Theme

Click on theme.liquid inside the layout folder

Shopify Theme Liquid

From the code example below, edit the value between code settings start and end. Do not change anything else or you might break the functionality. I have highlighted below what you can edit.

Edit Remarketing Tag Options
  1. Copy the below code into a text editor and replace the fa_google_ads_audience_tag_id value to your audience tag id
  2. By default the code is set up for the US, if you targeting a different country, change the value of fa_product_id_alpha2_code to your target country alpha2. For example, the United Kingdom is GB. You can find the full list here: https://help.shopify.com/en/api/custom-storefronts/storefront-api/reference/enum/countrycode
  3. The following step requires you to check the product id in Google Merchant Center > Products > List. And see what ID you are using.
    1. If it looks like shopify_US_81191654332_1055121650148, then keep fa_product_id set to default
    2. If it looks like 1055121650148 then set the value fa_product_id to product_id
    3. If it looks like the main id 81191654332 then set the value fa_product_id to parent_id
    4. If it looks like a sku then set the value fa_product_id to sku

When you have updated the code settings, paste it in the theme.liqued file between the opening and closing head tag. <head></head>

<!-- Google Ads Remarketing Tag By FeedArmy Version 2.17 START -->
<!-- FeedArmy tutorial found at https://feedarmy.com/kb/adding-google-adwords-remarketing-tag-to-shopify/ -->

<!-- CODE SETTINGS START -->
<!-- CODE SETTINGS START -->

<!-- Please add your Google Ads Audience Source Tag ID -->
{% assign fa_google_ads_audience_tag_id = 123456789 %}

<!-- Please add your alpha2 code, you can find it here: https://help.shopify.com/en/api/custom-storefronts/storefront-api/reference/enum/countrycode -->
{% assign fa_product_id_alpha2_code = 'US' %}

<!-- set your product id values are default, product_id, parent_id, sku-->
{% assign fa_product_id = 'default' %}

<!-- CODE SETTINGS END -->
<!-- CODE SETTINGS END -->

<!-- ==================================== -->
<!-- DO NOT EDIT ANYTHING BELOW THIS LINE -->
{% if fa_google_coding %}{% assign fa_google_coding = true %}{%- else -%}{% assign fa_google_coding = false %}{%- endif -%}
{% if fa_google_coding == false %}
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-{{ fa_google_ads_audience_tag_id }}"></script>
{%- endif -%}
{%- assign fa_current_variant = product.selected_or_first_available_variant -%}
{%- if cart.currency.iso_code == 'GBP' or cart.currency.iso_code == 'USD' or cart.currency.iso_code == 'CAD' or cart.currency.iso_code == 'AUD' or cart.currency.iso_code == 'BWP' or cart.currency.iso_code == 'BND' or cart.currency.iso_code == 'DOP' or cart.currency.iso_code == 'GTQ' or cart.currency.iso_code == 'HKD' or cart.currency.iso_code == 'INR' or cart.currency.iso_code == 'ILS' or cart.currency.iso_code == 'YEN' or cart.currency.iso_code == 'KES' or cart.currency.iso_code == 'KOR' or cart.currency.iso_code == 'LBP' or cart.currency.iso_code == 'MYR' or cart.currency.iso_code == 'MXN' or cart.currency.iso_code == 'NPR' or cart.currency.iso_code == 'NZD' or cart.currency.iso_code == 'NIO' or cart.currency.iso_code == 'NGN' or cart.currency.iso_code == 'PKR' or cart.currency.iso_code == 'CNY' or cart.currency.iso_code == 'PHP' or cart.currency.iso_code == 'SGD' or cart.currency.iso_code == 'LKR' or cart.currency.iso_code == 'CHF' or cart.currency.iso_code == 'TWD' or cart.currency.iso_code == 'TSH' or cart.currency.iso_code == 'THB' or cart.currency.iso_code == 'UGX' or cart.currency.iso_code == 'KWD' -%}
{% if template contains 'product' %}
{%- assign fa_product_price = fa_current_variant.price | money_without_currency | remove:',' -%}
{% elsif template contains 'cart' %}
{%- assign fa_product_price = cart.total_price | money_without_currency | remove:',' -%}
{% endif %}
{%- else -%}
{% if template contains 'product' %}
{%- assign fa_product_price = fa_current_variant.price | money_without_currency | remove:'.' | replace: ',', '.' -%}
{% elsif template contains 'cart' %}
{%- assign fa_product_price = cart.total_price | money_without_currency | remove:'.' | replace: ',', '.' -%}
{% endif %}
{%- endif -%}

{%- if fa_product_id == 'default' -%}
{%- capture fa_product_id_value -%}shopify_{{ fa_product_id_alpha2_code }}_{{ product.id }}_{{ fa_current_variant.id }}{%- endcapture -%}
{%- elsif fa_product_id == 'product_id' -%}
{%- capture fa_product_id_value -%}{{ fa_current_variant.id }}{%- endcapture -%}
{%- elsif fa_product_id == 'parent_id' -%}
{%- capture fa_product_id_value -%}{{product.id }}{%- endcapture -%}
{%- elsif fa_product_id == 'sku' -%}
{%- capture fa_product_id_value -%}{{ fa_current_variant.sku }}{%- endcapture -%}
{%- endif -%}


<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'AW-{{ fa_google_ads_audience_tag_id }}');
</script>

{% if template contains 'collection' %}
{% assign fa_event = 'view_item_list' %}
{% elsif template contains 'product' %}
{% assign fa_event = 'view_item' %}
{% elsif template contains 'search' %}
{% assign fa_event = 'view_search_results' %}
{% elsif template contains 'cart' %}
{% assign fa_event = 'add_to_cart' %}
{% elsif template contains 'index' %}
{% assign fa_event = 'home' %}
{% else %}
{% assign fa_event = 'other' %}
{% endif %}

<script>
  gtag('event', '{{ fa_event }}', {
    'send_to': 'AW-{{ fa_google_ads_audience_tag_id }}',
  	  {% if template contains 'product' or template contains 'cart' %}'value': {{ fa_product_price }},{% endif %}
	{% if template contains 'product' %}
    'items': [{
			'id': '{{fa_product_id_value}}',
      'google_business_vertical': 'retail'
    }]
	{% elsif template contains 'cart' %}
	'items': [
	{% for item in cart.items %}
	{
		{% if fa_product_id == 'default' %}
			'id': 'shopify_{{ fa_product_id_alpha2_code }}_{{ item.product_id }}_{{ item.variant_id }}',
		{% elsif fa_product_id == 'product_id' %}
			'id': '{{ item.variant_id }}',
		{% elsif fa_product_id == 'parent_id' %}
			'id': '{{ item.product_id }}',
		{% elsif fa_product_id == 'sku' %}
			'id': '{{ item.sku }}',
		{% endif %}
      'google_business_vertical': 'retail'
    },
	{% endfor %}
	]
	{% endif %}
  });
</script>
<!-- Google Ads Remarketing Tag By FeedArmy Version 2.17 END -->

Now go to Settings > Checkout

Shopify Checkout Settings

Scroll down till you see Order Processing > Additional scripts

Shopify Checkout Additional Scripts

From the code example below, edit the value between code settings start and end. Do not change anything else or you might break the functionality. I have highlighted below what you can edit.

Edit Remarketing Tag Options
  1. Copy the below code into a text editor and replace the fa_google_ads_audience_tag_id value to your audience tag id
  2. By default the code is set up for the US, if you targeting a different country, change the value of fa_product_id_alpha2_code to your target country alpha2. For example, the United Kingdom is GB. You can find the full list here: https://help.shopify.com/en/api/custom-storefronts/storefront-api/reference/enum/countrycode
  3. The following step requires you to check the product id in Google Merchant Center > Products > List. And see what ID you are using.
    1. If it looks like shopify_US_81191654332_1055121650148, then keep fa_product_id set to default
    2. If it looks like 1055121650148 then set the value fa_product_id to product_id
    3. If it looks like the main id 81191654332 then set the value fa_product_id to parent_id
    4. If it looks like a sku then set the value fa_product_id to sku

When you completed the code paste it in the additional scripts settings and save.

<!-- Google Ads Remarketing Tag By FeedArmy 2021 Version 2.17 START -->
<!-- FeedArmy tutorial found at https://feedarmy.com/kb/adding-google-adwords-remarketing-tag-to-shopify/ -->

<!-- CODE SETTINGS START -->
<!-- CODE SETTINGS START -->

<!-- Please add your Google Ads Audience Source Tag ID -->
{% assign fa_google_ads_audience_tag_id = 123456789 %}

<!-- Please add your alpha2 code, you can find it here: https://help.shopify.com/en/api/custom-storefronts/storefront-api/reference/enum/countrycode -->
{% assign fa_product_id_alpha2_code = 'US' %}

<!-- set your product id values are default, product_id, parent_id, sku-->
{% assign fa_product_id = 'default' %}

<!-- CODE SETTINGS END -->
<!-- CODE SETTINGS END -->

<!-- ==================================== -->
<!-- DO NOT EDIT ANYTHING BELOW THIS LINE -->
{% if fa_google_coding %}{% assign fa_google_coding = true %}{%- else -%}{% assign fa_google_coding = false %}{%- endif -%}
{% if fa_google_coding == false %}
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-{{ fa_google_ads_audience_tag_id }}"></script>
{%- endif -%}a
{%- assign fa_current_variant = product.selected_or_first_available_variant -%}
{%- if checkout.currency == 'GBP' or checkout.currency == 'USD' or checkout.currency == 'CAD' or checkout.currency == 'AUD' or checkout.currency == 'BWP' or checkout.currency == 'BND' or checkout.currency == 'DOP' or checkout.currency == 'GTQ' or checkout.currency == 'HKD' or checkout.currency == 'INR' or checkout.currency == 'ILS' or checkout.currency == 'YEN' or checkout.currency == 'KES' or checkout.currency == 'KOR' or checkout.currency == 'LBP' or checkout.currency == 'MYR' or checkout.currency == 'MXN' or checkout.currency == 'NPR' or checkout.currency == 'NZD' or checkout.currency == 'NIO' or checkout.currency == 'NGN' or checkout.currency == 'PKR' or checkout.currency == 'CNY' or checkout.currency == 'PHP' or checkout.currency == 'SGD' or checkout.currency == 'LKR' or checkout.currency == 'CHF' or checkout.currency == 'TWD' or checkout.currency == 'TSH' or checkout.currency == 'THB' or checkout.currency == 'UGX' or checkout.currency == 'KWD' -%}
{% if template contains 'product' %}
{%- assign fa_product_price = fa_current_variant.price | money_without_currency | remove:',' -%}
{% elsif template contains 'cart' %}
{%- assign fa_product_price = cart.total_price | money_without_currency | remove:',' -%}
{% endif %}
{%- else -%}
{% if template contains 'product' %}
{%- assign fa_product_price = fa_current_variant.price | money_without_currency | remove:'.' | replace: ',', '.' -%}
{% elsif template contains 'cart' %}
{%- assign fa_product_price = cart.total_price | money_without_currency | remove:'.' | replace: ',', '.' -%}
{% endif %}
{%- endif -%}

{%- if fa_product_id == 'default' -%}
{%- capture fa_product_id_value -%}shopify_{{ fa_product_id_alpha2_code }}_{{ product.id }}_{{ fa_current_variant.id }}{%- endcapture -%}
{%- elsif fa_product_id == 'product_id' -%}
{%- capture fa_product_id_value -%}{{ fa_current_variant.id }}{%- endcapture -%}
{%- elsif fa_product_id == 'parent_id' -%}
{%- capture fa_product_id_value -%}{{product.id }}{%- endcapture -%}
{%- elsif fa_product_id == 'sku' -%}
{%- capture fa_product_id_value -%}{{ fa_current_variant.sku }}{%- endcapture -%}
{%- endif -%}


<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'AW-{{ fa_google_ads_audience_tag_id }}');
</script>

{% if template contains 'collection' %}
{% assign fa_event = 'view_item_list' %}
{% elsif template contains 'product' %}
{% assign fa_event = 'view_item' %}
{% elsif template contains 'search' %}
{% assign fa_event = 'view_search_results' %}
{% elsif template contains 'cart' %}
{% assign fa_event = 'add_to_cart' %}
{% elsif template contains 'index' %}
{% assign fa_event = 'home' %}
{% else %}
{% assign fa_event = 'other' %}
{% endif %}

<script>
  gtag('event', '{{ fa_event }}', {
    'send_to': 'AW-{{ fa_google_ads_audience_tag_id }}',
  	  {% if template contains 'product' or template contains 'cart' %}'value': {{ fa_product_price }},{% endif %}
	{% if template contains 'product' %}
    'items': [{
			'id': '{{fa_product_id_value}}',
      'google_business_vertical': 'retail'
    }]
	{% elsif template contains 'cart' %}
	'items': [
	{% for item in cart.items %}
	{
		{% if fa_product_id == 'default' %}
			'id': 'shopify_{{ fa_product_id_alpha2_code }}_{{ item.product_id }}_{{ item.variant_id }}',
		{% elsif fa_product_id == 'product_id' %}
			'id': '{{ item.variant_id }}',
		{% elsif fa_product_id == 'parent_id' %}
			'id': '{{ item.product_id }}',
		{% elsif fa_product_id == 'sku' %}
			'id': '{{ item.sku }}',
		{% endif %}
      'google_business_vertical': 'retail'
    },
	{% endfor %}
	]
	{% endif %}
  });
</script>
<!-- Google Ads Remarketing Tag By FeedArmy 2021 Version 2.17 END -->

Checking The Results

Currently as of writing, Google Tag Assistant does not check which values are added in the gtag remarketing code. So you will need to look at the source code, to confirm.

Important!
Google Tag Assistant will show a red label if you have an ad blocker installed on your browser. Disable or remove the ad blocker to see a blue icon.

You can check the results manually by right-clicking on the product landing page then choose view page source and search for FeedArmy (ctrl+f), then simply check the values that are added. You should see something like below.

<!-- Google Ads Remarketing Tag By FeedArmy START -->
<!-- FeedArmy tutorial found at https://feedarmy.com/adding-google-adwords-remarketing-tag-to-shopify/ -->
<!-- Please add your Google Ads Audience Source Tag ID -->
<!-- Please add your alpha2 code, you can find it here: https://help.shopify.com/en/api/custom-storefronts/storefront-api/reference/enum/countrycode
<!-- set your product id values are default, product_id, parent_id, sku-->
<!-- ------------------------------------ -->
<!-- DO NOT EDIT ANYTHING BELOW THIS LINE -->
<!-- Global site tag (gtag.js) - Ads. -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-123456789"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'AW-123456789');
</script>
<!-- Global site tag (gtag.js) - Ads. -->
<script>
  gtag('event', 'view_item', {
    'send_to': 'AW-123456789',
	'value': 490.00,
    'items': [{
	'id': 'shopify_US_244465464459_214781237805',
        'google_business_vertical': 'retail'
    }]
  });
</script>
<!-- Google Ads Remarketing Tag By FeedArmy END -->

Creating Your Audience Lists

Some audience lists will be automatically created, so check what you already have.

After a few days, you can create website visitor audience lists using the data collected in the code above. To do this log in to Google Ads and from the top right corner, click on the wrench > Audience Manager > click on the blue plus sign and choose Website Visitor.

Google Ads Create Audience List

In the visited page section choose event from the drop down, then set the operator to equals and the value (in this example) view_item_list and click on Create Audience.

Here is a full list of event values

  • view_item_list
  • view_item
  • view_search_results
  • add_to_cart
  • index
  • purchase
  • other

You can also choose the rule for the following groups

  • event
  • google_business_vertical
  • id
  • value

Change Log

  • V2.16: Updated currency detection, suggested by Mmarcus15
  • V2.15: Added Canada to the auto-detect list
  • V2.14: Fixed variants not listing the correct price

Need Help?
Do You have a question or need specialist support? Get in touch!

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

161 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Bruno
Bruno
1 month ago

Hello,

Why the EUR (Euro) currency is not set inside the code ?

Miguel
1 year ago

My catalog is {{ item.product_id }}{{ item.variant_id }} . So I have to remove the shopify{{ fa_product_id_alpha2_code}}_ on default section in both liquid and checkout scripts right ?

kalid
kalid
1 year ago

Hello, and thank you so much. I have a question, how can i implement this code in GTM? i tried to make an html tag but it doesnt works.

Thanks.

Ramu Ghimire
Ramu Ghimire
Reply to  Emmanuel Flossie
1 year ago

Hi, I did email to you, but I got message of address not found!! Could you please give me another email?

Anonymous
Anonymous
1 year ago

There is no data in “Shopping cart abandoners (Retail) (Google Ads)”

Andrea
Andrea
2 years ago

Hey Emmanuel, thanks for your code, just a question that has been bothering me for the last few days.

Situation: looking at the source of the pages of my website everything looks good, i see the firing happening and all the variable populated, the id is the same of the products on the merchant center

here below an example with the google ads id removed for privacy




Sérgio Chaves
Sérgio Chaves
2 years ago

It’s all ok… but I have this warning every time…. Also another store and never worked ok… maybe just me…. thanks anyway.

Sérgio Chaves
Sérgio Chaves
2 years ago

hi emanuel and everybody, is just to me to get warning in audience “did not receive more than 92% of product id, not possible to personalize ads because not set up the right parameter to ID. ?? campaign stop running.

T Harrison
T Harrison
2 years ago

Thank you for this! Is FeedArmy required in order to use this code?

Sérgio Chaves
Sérgio Chaves
3 years ago

Keep rocking Emmanuel, all is working great :)by the way, iam using automatic audiences, and did a purchase test clicking AD, convertion count, but now is still showing and iam excluding past converters, should i create manually a list of past converters instead automatic one?

Sérgio Chaves
Sérgio Chaves
3 years ago

Emanuel, why tag assistance always fail remarkting tag when try validate merchant ID? the product ID is corrected between merchant and tag. is that normal? i think i can ignore that tag assistance validation, but let me know.

Sérgio Chaves
Sérgio Chaves
Reply to  Sérgio Chaves
3 years ago

its normal i supose, right?

Sérgio Chaves
Sérgio Chaves
Reply to  Sérgio Chaves
3 years ago

yeah, google still use that warning even with google shoppig app tags, google is very complex and all bugged warnings haha

Hamza Maqsood
Hamza Maqsood
3 years ago

Issue: ecomm_prodid never receivedHow can i fix this issue , getting this error on Audience sources

Cormac O'Síocháin
Cormac O'Síocháin
3 years ago

With this point though, “Copy the below code into a text editor and replace the fa_google_ads_audience_tag_id value to your audience tag id”, I couldn’t find an audience tag id anywhere without creating a list. Is there a generic audience tag id associated with every individual Google Ads account, and where do I find it?

Cormac
Cormac
3 years ago

But where do you get an audience tag id without generating a list?

Cormac O'Síocháin
Cormac O'Síocháin
3 years ago

Hi there, just wondering about the audience list in Google Ads – I’m not sure what should be included in the URLs when dealing with Shopify – can you tell me is this correct, or what should I do differently? https://uploads.disquscdn.c

Dustin
Dustin
3 years ago

It looks like the product_id is just the top level product id. Is there are way to use the variant id? I believe in the older version of this code you had a available it was something like product.variants.first.id

Mose Coffee
Mose Coffee
3 years ago

Hello so I have a id that looks like this 2492510306364_22355641794620 without the shopify_US how do I support this?

Mose Coffee
Mose Coffee
Reply to  Mose Coffee
3 years ago

I think I got it, I just eliminate that from the code all together. Thanks for just being there lol.

Sérgio Chaves
Sérgio Chaves
3 years ago

for purchase convertion how we do this? i see link https://help.shopify.com/en… but again global tag? i only have to do the new code but ignore the global tag as in there already? thanks

Sérgio Chaves
Sérgio Chaves
Reply to  Sérgio Chaves
3 years ago

forget, found here: https://feedarmy.com/kb/add…:) ok it is 2 completely diferent codes… will do this now for purchase

Sérgio Chaves
Sérgio Chaves
Reply to  Sérgio Chaves
3 years ago

why get duplicated gtag if its only this code in theme liquid?

Sérgio Chaves
Sérgio Chaves
Reply to  Emmanuel Flossie
3 years ago

great! and now the last question, this line of code: // {{ checkout.total_price | money_without_currency | remove:’,’ }}this makes on checkout page appear text example, if checkout is total 12, on checkout page will appear text ” // 12 “this line is necessary or is a bug in code? let me know please. thank you :)its on checkout code here, i thinks this is to remove that line of code, but let me know<script async=”” src=”https://www.googletagmanage…{{ fa_google_ads_audience_tag_id }}”></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’, new Date()); gtag(‘config’, ‘AW-{{ fa_google_ads_audience_tag_id }}’);</script>{% if fa_prices_with_decimal_separator == true %}{% assign fa_product_price = checkout.total_price | money_without_currency | remove:’,’ %}{% else %}{% assign fa_product_price = checkout.total_price | money_without_currency | remove:’.’ | replace: ‘,’, ‘.’ %}{% endif %}this one —->>>> // {{ checkout.total_price | money_without_currency | remove:’,’ }} <<<—————— this one{% assign fa_event = ‘purchase’ %}<script>

Sérgio Chaves
Sérgio Chaves
Reply to  Sérgio Chaves
3 years ago

its on checkout code here, i thinks this is to remove that line of code, but let me know<script async=”” src=”https://www.googletagmanage…{{ fa_google_ads_audience_tag_id }}”></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’, new Date()); gtag(‘config’, ‘AW-{{ fa_google_ads_audience_tag_id }}’);</script>{% if fa_prices_with_decimal_separator == true %}{% assign fa_product_price = checkout.total_price | money_without_currency | remove:’,’ %}{% else %}{% assign fa_product_price = checkout.total_price | money_without_currency | remove:’.’ | replace: ‘,’, ‘.’ %}{% endif %}this one —->>>> // {{ checkout.total_price | money_without_currency | remove:’,’ }} <<<—————— this one{% assign fa_event = ‘purchase’ %}<script>

Sérgio Chaves
Sérgio Chaves
Reply to  Sérgio Chaves
3 years ago

help me here my friend 🙂

Sérgio Chaves
Sérgio Chaves
Reply to  Sérgio Chaves
3 years ago

help me here my friend. that line of code makes my checkout amount (text) on order page for customers, and is not suposed… hehe i have to delete that line? let me know 🙂

Mose Coffee
Mose Coffee
3 years ago

Hello, I’m using google shopping in conjunction with your given code will this interfere with my remarketing tag that you provide? Its detecting I have two gtags as will the remarting validation is stating “Some products are not valid” but when I check the code that you provide it is working.

cengiz
cengiz
3 years ago

Hi, I’ve done the application as you specified, but what could be the reason why the adwords panel counts as 2 times the conversions?

Eurico Paes
Eurico Paes
3 years ago

Hi, First of all thank you very much for this article, it really helped me setup all the tags.I would like to know of its possible for you to update the article since the snippet for new accounts have change.The new one looks like this<script> gtag(‘event’, ‘page_view’, { ‘send_to’: ‘xx-123456789’, ‘value’: ‘replace with value’, ‘items’: [{ ‘id’: ‘replace with value’, ‘google_business_vertical’: ‘retail’ }] });</script>Thank you in advance

Alex Czarto
Alex Czarto
3 years ago

Hi Emmanuel,I’ve streamlined some of this code here:https://github.com/Czarto/ShopifyScripts/blob/master/snippets/adwords-remarketing.liquidAs well as the code to include in the “Additional Checkout Scripts” settings here (including AdWords conversion tracking):https://github.com/Czarto/ShopifyScripts/blob/master/settings/checkout/adwords-conversion.liquidBoth of these allow you to specify your Google conversion Id at the top, and dynamically switches the product Id based on store currency (CAD, USD, and AUD for now, but simple to add more as needed)Best,Alex

Anonymous
Anonymous
3 years ago
John
John
3 years ago

Hey Emmanuel, many thanks for writing this. I followed everything to the T and have the following errors in my Google Ads Tag > Audience Sources (https://www.dropbox.com/s/j…. Are they to be ignored?Also, I accidentally clicked both Custom and Retail as business types and I can’t seem to go back and de-select Custom—do you know a way to rectify this?

MJL
MJL
3 years ago

Hi guys same issue, saying “Some products are not valid” how do we know if this is actually working?

UnckDeCamp
UnckDeCamp
3 years ago

Also, a few of your images broke 🙁

UnckDeCamp
UnckDeCamp
3 years ago

Did shopify or google just change something? My google ads account is saying I have a few errors and got me stumbling across this article. Great info, but I wish it had a changelog at the top saying what you updated, on what day, and why it got updated. Like this:January 31st, 2019 – Change step 6 from this to that. – Why? Because google or shopify changed something on their end and didn’t tell anyone.Thanks!

Karolina
Karolina
3 years ago

I have an update, so I have replaced “remove:’,'” with replace: ‘,’, ‘.’ in all the scripts (in theme.liquid, cart and checkout) and my remarketing stopped showing. Would you know why is that? Thank you! 🙂

161
0
Would love your thoughts, please comment.x
()
x