Support » Plugin: Reduce Bounce Rate » Plugin not working for me

  • Resolved riboblex

    (@riboblex)



    Hello!

    Can someone please help me out, since the plugin is not reducing my bouncerate/time on site anymore since August.

    Settings are on analytics.js (Recommended) and I have analytics with the normal script installed in my header..

    Would be much appreciated if someone can help me out!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Okoth1

    (@okoth1)

    Hi ribolex,

    In August, you’ve changed your analytics code from analytics.js to the new gtag.js. The plugin isn’t working yet with this Analytics script version but I am working on it. Haven’t found a way yet.

    Hi Okoth,

    Thanks a lot for your reply.

    I remember that I updated my theme and then needed to install analytics again in my wordpress code.

    Is it possible to change it back to the old analytics.js code so that it works again?

    Plugin Author Okoth1

    (@okoth1)

    Yes that’s very easy. Just replace this

    	<!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXX-Y"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-XXXXX-Y');
    </script>
    

    with this

    <!-- Google Analytics -->
    <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','https://www.google-analytics.com/analytics.js','ga');
    
    ga('create', 'UA-XXXXX-Y', 'auto');
    ga('send', 'pageview');
    </script>
    <!-- End Google Analytics -->
    

    and it will work again. Don’t forget to change UA-XXXXX-Y with your account number.

    Groetjes

    Thanks a lot for your help! I did this, but now the whole code is showing in my header on my website itself and analytics is down.

    Can you please check what is missing in my code?

    Oops.. i copied your code directly from the email, which looks different..

    I guess the bouncerate will be reduced in like an hour or so?

    Bedankt!

    Plugin Author Okoth1

    (@okoth1)

    Yep, new bounce rates from now on.

    Good luck!

    charafweb

    (@charafweb)

    I’m very happy that I checked this forum. I had the same issue. And now it’s resolved.
    Thanks a million @okoth1

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