Install Dynamic Remarketing Global Site Tag (gtag.js) on Shopify

Standard

Setup Google Dynamic Remarketing Global Site Tags/Pixel (gtag.js) In Shopify

Recently once of Client ask me implement (gtag.js) on shopify to work Dynamic remarketing Tags/pixels for shopify using without plugin and put directly on Shopify theme!!

Due to recently updated google ads dynamic remarketing for Global Tags/Pixel (gtag.js) that’s need modify tracking with (gtag.js) for Shopify Google Ads Dynamic remarketing implementation. Shopify Dynamic remarketing pixel (gtag.js) below these parameters.

‘ecomm_prodid’: ‘REPLACE_WITH_STRING_VALUE‘,
‘ecomm_pagetype’: ‘REPLACE_WITH_STRING_VALUE‘,
‘ecomm_totalvalue’:REPLACE_WITH_STRING_VALUE

‘ecomm_prodid’: For Product id that could be product id or Sku, it’s depend on product feed which one you have considered on product feed, if you have consider product id then, you need to pass it product id or considered sku then you need pass through sku on “ecomm_prodid”

‘ecomm_pagetype’:  For that you need fire these pixe on Home Page , search results Page, Product Page, Cart Part, Checkout, on success page 

‘ecomm_totalvalue’: You need show product value, Cart total value, Checkout total value, on Success Page total amount, and Home Page zero value.

For Work Dynamic Remarketing Tags (gtag.js) on Shopify: You need make changes in Google Analytic setup these parameters as custom dimentsion in Google Analytic to work Shopify Google Dynamic Remarketing Global Site Tags/Pixel (gtag.js)

Google Dynamic Remarketing Tags for Shopify

Google Ads remarketing code /Global Site Tag (gtag.js) on Shopify Store 

1. First need to install Global Site Tag (gtag.js) on all the pages for work Dynamic remarketing tags on Shopify store 

<!-- Global Site Tag (gtag.js) - Google AdWords: xxxxxxx -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-xxxxxxx"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)
;}
gtag('js', new Date());

  gtag('config', 'AW-xxxxxx');
</script>

2. Need to place these code on describe product type page above in Shopify Remarketing Pixel  

<!– Event snippet for Example dynamic remarketing Code  for Shopify Store –>
<script>
gtag(‘event’, ‘page_view’, {‘send_to’: ‘AW-xxxxxxxx’,
‘ecomm_prodid’: ‘REPLACE_WITH_STRING_VALUE‘,
‘ecomm_pagetype’: ‘REPLACE_WITH_STRING_VALUE‘,
‘ecomm_totalvalue’: ‘REPLACE_WITH_STRING_VALUE
});
</script>

For Product Page:

Google Dynamic Remarketing Tags for Shopify

Install New Global Sitewide Tag on Google Ads Dynamic Remarketing Shopify

For Cart Page – 

Setup AdWords Dynamic Remarketing for Shopify

Shopify Google Analytics Dynamic Remarketing Tags for Shopify for New Global Tags

Home Page –

Setup google adwords dynamic remarketing for your shopify store

Set Up Adwords Dynamic Remarketing Tag For Shopify

3. It’s time to verify Google Ads Dynamic Remarketing Tags for Shopify with New Global Tags using Google Ad Conversion Remarketing pixel 

Google Dynamic Remarketing Tags for Shopify

Add Shopify Dynamic Remarketing Tags using Global Site Tag (gtag.js)

Warning:if you do n’t know about javascript or don’t have developing knowledge then do n’t try to Install Dynamic Remarketing Global Site Tag (gtag.js) on Shopify javascript without using Any plugin that can broke your site, Cart and other functionality 

Disclaimer: Google tag manager belongs to Google property 

For Contact: mappchero@gmail.com

Leave a Reply

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