• Resolved l r

    (@lainyrache)


    I am using woocommerce storefront theme and don’t seem to be getting any ecommerce readings at all with this plugin.
    Using wordpress 4.3, Google Analyticator and woocommerce 2.4.5. ( also a few other plugins.
    I have tried with every config of the various settings I can see and waited a few days.
    Can you advise? `

    when I am not logged in I currently get the following source code.

    <!-- WooCommerce Google Analytics Integration -->
    
    <script>
    var gaProperty = ‘UA-XXXXXXXX';
    var disableStr = 'ga-disable-' + gaProperty;
    if (document.cookie.indexOf(disableStr + '=true') > -1) {
    window[disableStr] = true;
    }
    function gaOptout() {
    document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
    window[disableStr] = true;
    }
    </script>
    
    <script type='text/javascript'>
    (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-xxxxxxxxx', 'auto');
    ga('set', 'dimension1', 'no');
    ga('send', 'pageview');
    </script>
    
    <!-- /WooCommerce Google Analytics Integration -->

    Can anyone advise?

    https://www.ads-software.com/plugins/woocommerce-google-analytics-integration/

  • The topic ‘Not working on wordpress 4.3 storefront theme?’ is closed to new replies.