• Carlos Alonso

    (@chicodelacalle)


    Give the chance for better bounce report, as described in this post:

    Google Analytics can report the real Bounce Rate

    All Google Analytics accounts have access to event tracking by this time, so you can use the following hack in order to get real reports of bounce rate without skewing any of your data. Even more, the hack will help Google Analytics track better (not perfect though) the time spent on site by each visitor.

    What you need to do is to fire up an event each time a user spends more than 10 seconds (or you can define your own standard) on the website. Just add the following line under the pageTracker._trackPageview(); line:

    setTimeout(‘pageTracker._trackEvent(\’NoBounce\’, \’NoBounce\’, \’Over 10 seconds\’)’,10000);

    10000 refers to the number of milliseconds after which you want to fire up the above code. If you want to do it after 15 seconds than you need to place there 15000.The hack will not alter your data in any way. It will just record in the Events section all the non-bouncers.
    The New Bounce Rate

    ga-bounce-rate

    With the above hack Google Analytics shows you how many users leave your website without spending even 10 seconds on it and not clicking on any internal link. No interaction at all.

Viewing 1 replies (of 1 total)
  • Just add the following line under the pageTracker._trackPageview(); line:

    setTimeout(‘pageTracker._trackEvent(\’NoBounce\’, \’NoBounce\’, \’Over 10 seconds\’)’,10000);

    I tried adding this line to the ultimate-google-analytics/ultimate_ga.php file just under the “pageTracker._trackPageview();” line and I got an error message:

    Parse error: syntax error, unexpected T_STRING in /homepages/9/d282044330/htdocs/brownbible/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 831

    So that didn’t work.

    I am trying to find a cure for the problem I am having that causes Google Analytics to count every user as having seen 2 pages, and this I have a zero, or sometimes negative bounce rate. If my site truly had no bouncing visitors then I would be thrilled. But I know that is not true as a majority of the visitors spend less than 10 seconds on the site. So obviously something is making GA think they are hitting two pages when they only hit one. I just cannot figure out what is causing it.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Google Analytics for WordPress] suggestion for new feature’ is closed to new replies.