Implement Google AdWords Dynamic Remarketing for Shopify

Standard

Are you looking to Use dynamic remarketing to show commercials tailor-made to your website viewers?

Tag your website for dynamic remarketing to Shopify

To exhibit dynamic advertisements to persons who have visited your web page, add the dynamic remarketing tag with customized parameters to your website. The dynamic remarketing tag collects knowledge, such because the IDs of the products or services that folks viewed for your site, the types of pages considered to corresponding to looking cart pages, and the complete value of items.

More factors to use dynamic remarketing Tags for Shopify Dynamic Remarketing Campaign

  • High performance layouts: AdWords calls which advertising layout that is dynamic is likely to perform best for the individual, arrangement, and stage where the advertisement will show. 

Custom Dynamic Tag with custom parameters for Shopify Dynamic Remarketing 

<script type=”text/javascript”>
var google_tag_params = {
ecomm_prodid: “REPLACE_WITH_STRING_VALUE“,
ecomm_pagetype: “REPLACE_WITH_STRING_VALUE“,
ecomm_totalvalue: REPLACE_WITH_STRING_VALUE
};
</script>

Dynamic Remarketing Tags Implement  in Shopify

  1.   Following the below instruction to set up dynamic Remarketing tags for Shopify

Login with Admin —–> Go to Online Store —–> Themes. (Place it immediately before the closing <body> tag.)

<script type=”text/javascript”>
{% if template contains ‘product’ %}
var google_tag_params = {
ecomm_prodid: ‘{{ product.id }}’,
ecomm_pagetype: ‘product’,
ecomm_totalvalue: {{ product.price | money_without_currency | replace: ‘,’, ” }}
};
{% elsif template contains ‘cart’ %}
var google_tag_params = {
{% if cart.item_count > 1 %}
ecomm_prodid: [{% for item in cart.items %}'{{ item.product_id }}_{{ item.variant.id }}'{% if forloop.last != true %},{% endif %}{% endfor %}],
{% elsif cart.item_count == 1 %}
ecomm_prodid: {% for item in cart.items %}'{{ item.product_id }}_{{ item.variant.id }}'{% endfor %},
{% else %}
ecomm_prodid: ”,
{% endif %}
ecomm_pagetype: ‘cart’,
ecomm_totalvalue: {{ cart.total_price | money_without_currency | replace: ‘,’, ” }}
};
{% elsif template contains ‘search’ %}
var google_tag_params = {
ecomm_prodid: ”,
ecomm_pagetype: ‘searchresults’,
ecomm_totalvalue: ”
};
{% elsif template contains ‘index’ %}
var google_tag_params = {
ecomm_pagetype: ‘home’,

};
{% else %}
var google_tag_params = {
ecomm_prodid: ”,
ecomm_pagetype: ‘other’,
ecomm_totalvalue: ”
};
{% endif %}
</script>
<script type=”text/javascript”>
/* <![CDATA[ */
var google_conversion_id = xxxxxx;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type=”text/javascript” src=”//www.googleadservices.com/pagead/conversion.js”>
</script>
<noscript>
<div style=”display:inline;”>
<img height=”1″ width=”1″ style=”border-style:none;” alt=”” src=”//googleads.g.doubleclick.net/pagead/viewthroughconversion/938059084/?value=0&amp;guid=ON&amp;script=0″/>
</div>
</noscript>

Note: Make you will replace with your google_conversion_id

2. Shopify Dynamic Remarketing Tags for Order Confirmation Page

 <script type=”text/javascript”>
var google_tag_params = {
ecomm_prodid: [{% for line_item in order.line_items %}'{{ line_item.id }}'{% unless forloop.last %},{% endunless %}{% endfor %}],
ecomm_pagetype: ‘purchase’,
ecomm_totalvalue: {{order.total_price  | money_without_currency }},
};
</script>

<script type=”text/javascript”>
/* <![CDATA[ */
var google_conversion_id = 948315090;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type=”text/javascript” src=”//www.googleadservices.com/pagead/conversion.js”>
</script>
<noscript>
<div style=”display:inline;”>
<img height=”1″ width=”1″ style=”border-style:none;” alt=”” src=”//googleads.g.doubleclick.net/pagead/viewthroughconversion/948315090/?value=0&amp;guid=ON&amp;script=0″/>
</div>
</noscript>

Note: Make you will replace with your google_conversion_id

Dynamic Remarketing for Shopify– https://support.google.com/tagmanager/answer/6107169?hl=en

For Troubleshoot of Dynamic Remarketing –  Use Tag Assistance  – https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk?hl=en

For Contact: mappchero@gmail.com

Warning:if you do n’t know about javascript or do n’t have developing knowledge then do n’t try to implement on Dynamic Remarketing that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

I am avaible for Hire on Freelancer: Freelancer.com

I am avaible for Hire on Upwork: Upwork.com

I am avaible for Hire on Peopleperhour: Peopleperhour.com

I am avaible for Hire on Guru: Guru.com

Leave a Reply

Your email address will not be published. Required fields are marked *