You have no items in your shopping cart.

Friday, March 29, 2024 12:58:51 AM

Google Dynamic Remarketing?

Posted: 5 years ago

#8286 Quote

chandresh@omved.com

Posted: 5 years ago

#8286 Quote
Hi Team,

Can you please add the option for using “Global Site Tag” script in Google Dynamic Remarketing? Currently by default plugin takes an old script, which Google doesn’t recommend. Please update it.

Global site tag looks like this:

<!-- Global site tag (gtag.js) - AdWords: XXXXXXXXX -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'AW- XXXXXXXXX ');
</script>
<script>
  gtag('event', 'page_view', {
    'send_to': 'AW- XXXXXXXXX ',
    'ecomm_pagetype': 'replace with value',
    'ecomm_prodid': 'replace with value',
    'ecomm_totalvalue': 'replace with value',
    'user_id': 'replace with value'
  });
</script>

I can add this script but don’t know what to replace with value. It’s dynamic.
-Regards,
Chandresh Yadav

Posted: 5 years ago

#8287 Quote

Support

Posted: 5 years ago

#8287 Quote
I have done it.
Download new release and replace ALL files.
Restart your site.
Create new tracking code "Google Dynamic Remarketing", you will see two ones "Google Dynamic Remarketing" and "Google Dynamic Remarketing old".

Try and write me about result.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved