Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Adriders

    (@adriders)

    I setup remarketing through analytics:

    https://www.optimizesmart.com/guide-to-dynamic-remarketing-in-google-analytics-adwords/

    With the normal tracking code it will look something like this:

    <script>

    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){

    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

    })(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

    ga(‘create’, ‘UA-XXXXX-YY’, ‘auto’); // Insert your GA Web Property ID here, e.g., UA-12345-1

    ga(‘require’,’displayfeatures’); // REQUIRED Enables Google Analytics Display Features

    ga(‘set’,’dimension1′, <ecomm_prodid> ); // REQUIRED Product ID value, e.g., 12345, 67890

    ga(‘set’,’dimension2′, <ecomm_pagetype> ); // Optional Page type value, e.g., home, cart, purchase

    ga(‘set’,’dimension3′, <ecomm_totalvalue> ); // Optional Total value, e.g., 99.95, 5.00, 1500.00

    ga(‘send’, ‘pageview’);

    </script>

    Is this the same i am trying to achieve.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Adriders,

    Thanks for reporting this, I looked at this in the code and found the following:

    On the cart page the products in widgets were included in the ecomm_prodid array. Depends on how we threat this this can be OK or not. OK, because the user has seen a specific product in a widget that (I think) should be used while retargeting this user. But that product was not in the cart so this could confuse AdWords.
    To make things clear I decided to only include the products in the cart from the next version of the plugin.

    As for the checkout page: there is actually no such page type in the dynamic remarkeing tagging help article therefore I decided to include the “cart” page type here as well.

    I hope this will help you get better targeting with the next release of this plugin.

    Thomas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce cart page’ is closed to new replies.