Support » Plugin: WooCommerce Google Analytics Integration » No HTTP response detected

  • Resolved Niels Havermans

    (@niels-havermans)


    Hi,

    on some steps in my checkout proces i’ve got a ‘No HTTP response detected’ error. This error is noticed in Google Tag Assistent extention for Chrome.
    I’ve tried to turn off my plugins and custom code but nothing will solve this issue.

    Everything is tracked withing Google Analytics, except the transactions.

    It looks like the correct code is add to the html, below the code on /cart.
    Does anyone know how to solve this, anyone with the same problem?

    <!– WooCommerce Google Analytics Integration –>
    <script type=’text/javascript’>
    var gaProperty = ‘UA-XXXXXX-XX’;
    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-XXXXXX-XX’, ‘www.XXX.be’ );ga( ‘require’, ‘linkid’ );ga( ‘set’, ‘anonymizeIp’, true );
    ga( ‘set’, ‘dimension1’, ‘no’ );
    ga( ‘require’, ‘ec’ );</script>
    <!– /WooCommerce Google Analytics Integration –>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Stuart Duff

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @niels-havermans,

    Double check in the Google Analytics interface, within the Property Settings and all View Settings that the website url is entered correctly, it should be the same as the Site Address (URL) in the WordPress > Settings > General page.

    Plugin Support nixiack8

    (@nixiack8)

    Hi @niels-havermans,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved.

    If you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.