• Resolved robaaron

    (@robaaron)


    Hi! Love your plugin. Can’t wait to see my bounce rate lower.

    My question is this: I understand from the code that there should be a new event category called “Time” in my google analytics. But I am not seeing any events at all, even though I know I am having new pageviews. Ideas?

    I have confirmed that the code is indeed just before the /body tag, by Viewing Source in Safari. I also confirmed that I am using google analytics code correctly in the header.

    Thanks,
    Rob

    https://ww.wp.xz.cn/plugins/reduce-bounce-rate/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter robaaron

    (@robaaron)

    You know, maybe I have the newer beta code and that is the problem? Here is what I use to call google analytics now:

    <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-44798335-1’, ‘whatmakesusfat.com’);
    ga(‘send’, ‘pageview’);

    </script>

    Thread Starter robaaron

    (@robaaron)

    Oh, you know, after further investigation, maybe I have the newer beta code and that THAT is the problem? Here is what I use to call google analytics now:

    <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-44798335-1’, ‘whatmakesusfat.com’);
    ga(‘send’, ‘pageview’);

    </script>

    Comments?

    Plugin Author Okoth1

    (@okoth1)

    Hi,

    You are absolutely right. It doesn’t work for analytics.js.

    See this post for advise: Universal Analytics

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Events in Google Analytics?’ is closed to new replies.