WordPress.org

Forums

Google Analytics by Yoast
Bounce rate (5 posts)

  1. Jonathan
    Member
    Posted 2 years ago #

    Hi,

    I would like to insert a code so that Google Analytics does not measure it as a bounce if the user has been on my site more than 20 seconds.
    For example, by such a code:

    echo "\ t \ t". 'setTimeout (\' pageTracker._trackEvent (\ 'NoBounce \', \ 'NoBounce \', \ 'Over 20 seconds \') \ ', 20000);'. "\ n";

    But a little unsure about where to insert it. Is there anyone who can help me with that?

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  2. scottroy
    Member
    Posted 2 years ago #

    I second this request and have seen others ask for the same thing.

    Based on this post from Google:
    http://analytics.blogspot.nl/2012/07/tracking-adjusted-bounce-rate-in-google.html

    This is particularly useful for blogs and I am shocked that there has been no response to this post dating back July 25, 2012.

    If there is another solution, please share it!

  3. Jonathan
    Member
    Posted 2 years ago #

    Thanks for your reply, Scottroy :-)

    I have maybe found a solution here:
    http://www.iceable.com/time-on-site-and-bounce-rate-fixing-google-analytics-flaws/

    Use his plugin.

  4. scottroy
    Member
    Posted 2 years ago #

    Thanks for following up, findkollegie.dk!

    Interesting since this gets around the lack of direct access to the WordPress GA code where the Google post says you need to put the snippet they recommend.

    I know you say to use the plugin, but I always have to wait for MIS to do my wordpress updates and fixes since the blog resides inside our root domain for best SEO value. Did you install and test this script or is the plugin the only way?

    Good results?

  5. scottroy
    Member
    Posted 2 years ago #

    Findkollegie.dk,

    I found out there may be a flaw in the code to the solution you cite above.

    Note my post at:
    http://www.iceable.com/time-on-site-and-bounce-rate-fixing-google-analytics-flaws/#comment-75

    It keeps pinging GA even after the visitor has clicked to another tab.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic