• About
    • History of Dallas SEO
    • SEO Expert Witness
  • Contact
  • Topics
    • Bing
    • Blogging
    • Branding
    • Domain Names
    • Google
    • Internet Marketing
    • Link Building
    • Local Search
    • Marketing
    • Public Relations
    • Reputation Management
    • Search Engine Marketing
    • Search Engine Optimization
    • Search Engines
    • Social Media
    • Tech
  • Advertise
  • Email Newsletter

Bill Hartzer

Bill Hartzer on Search, Marketing, Tech, and Domains.

SEMrush

Home » Google Analytics Bounce Rate: How to Fix Google Analytics to Properly Calculate Bounce Rate

Google Analytics Bounce Rate: How to Fix Google Analytics to Properly Calculate Bounce Rate

Did you know that the Google Analytics Bounce Rate can be “adjusted” so that it calculates more accurately? Google Analytics is broken. Well, at least the way that Google Analytics calculates bounce rate and the average time on site is broken–or at least has a major flaw.

Let’s first take a look at the Google Analytics Bounce Rate, and how Google explains it:

There is a difference between exit rate and bounce rate. But what we really want to know is bounce rate–how many people really did engage with us on our website. How many people read our content. As a blogger, if someone reads your post and then goes to another site, then fine. If they click on another link on your site and go to another page, then they’ll be “engaged” and won’t bounce according to Google. But what about those people who actually read–they have engaged on your site, right?

Let’s talk about a specific example so I can explain why the Google Analytics Bounce Rate is flawed.

When someone visits your website and reads your blog post, for example, they may spend 3 minutes reading it. But then they leave, and go on to another website. If you are using Google Analytics, Google Analytics measures the time someone spends on your site reading a blog post as the difference between when they first entered and his last page view on your site. So, if the person actually leaves your website after 3 minutes, Google Analytics consider this person as not engaged with your site–it is considered a bounce.

DNMedia.com has just written about this flaw in Google Analytics, and how to add some code to your Google Analytics code that will fix this flaw. Essentially, the code will ‘ping’ Google every 10 seconds (or at an interval you can set in the code) so that Google knows that they’re still on the site.

Here’s the code that Brian Craw wrote a while back. All you have to do is add this code to your current Google Analytics code (at the end), just before the < / script > line:

(function (tos) {
  window.setInterval(function () {
    tos = (function (t) {
      return t[0] == 50 ? (parseInt(t[1]) + 1) + ':00' : (t[1] || '0') + ':' + (parseInt(t[0]) + 10);
    })(tos.split(':').reverse());
    window.pageTracker ? pageTracker._trackEvent('Time', 'Log', tos) : _gaq.push(['_trackEvent', 'Time', 'Log', tos]);
  }, 10000);
})('00');

Note: I realize that the code above might look like it’s cut off, but if you copy/paste it you should be able to grab the full code. You might also want to go here to Brian’s original post to grab the code.

You can change the interval of calculation here so that it’s not 10 seconds, but more often or less often. In other words, it will track an event (log that the person is still on your site) every 10 seconds.

The end result is that by adding this additional code to your Google Analytics tracking code (it works with the old and the new code) you’ll be able to fix how Google Analytics calculates the bounce rate on your site.

Hat tip goes out to DNMedia.com and Brian Cray for pointing this out.

UPDATE:
OK, so it’s been a while since I first posted this blog post and I added the code (as detailed above) on the site here. I’m sure you’re wanting to know if adding code actually helped the bounce rate? Well, it didn’t necessarily HELP the bounce rate, the bounce rate is what it is. But, I could say that it is calculating the bounce rate MORE ACCURATELY than it did previously. Here are my preliminary stats, according to Google Analytics. I compared traffic WITH the code versus not having the code.

Avg. Visit Duration
1,048.61%
00:09:15 vs 00:00:48
People are actually spending 9:15 minutes on my blog, not 48 seconds as previously reported by Google Analytics.

Bounce Rate
-52.28%
40.13% vs 84.08%
The bounce rate went from 84 percent (wow that’s high) to 40 percent (that’s more like it!)

Recent Posts

  • Someone Stole My Domain Name: Here’s What You Do January 4, 2023
  • Web Hosting Services Market to Grow to $254.86 Billion by 2029 December 13, 2022
  • This SEO Blog Post Was Written by ChatGPT December 8, 2022
  • Facebook Rolling Out Facebook Articles December 7, 2022
  • Doing SEO is Better Than… December 6, 2022
  • Tucows and GoDaddy Report Q3 2022 Results November 6, 2022
  • How to Measure App Events Sourced by Organic Search and SEO September 20, 2022
  • Google Allegedly Eavesdrops and Monitors the Brain 24 hours a Day to Control Humanity September 14, 2022
  • Why You Shouldn’t Hire SEOs Based on An Email September 13, 2022
  • Global SEO Market to Reach $122.11 Billion by 2028 September 9, 2022
  • Bluehost Launches New Commerce Solutions for WordPress September 8, 2022
  • Which CMS? How to Choose the Best CMS for Your Purposes August 29, 2022
  • Accidental SEO Manager: Interview with Ash Nallawalla August 15, 2022
  • Sometimes Google Isn’t Family Friendly August 1, 2022
  • Something’s Seriously Wrong with Facebook Notifications July 12, 2022
  • Facebook Internet Tracking Settlement June 24, 2022
  • RankSense Acquired by SEOClarity June 1, 2022
  • LinkedIn Links, Digital Marketing News, and SEO Questions Answered May 9, 2022
  • GoDaddy Ending Forwarding of Existing Shortened Links May 5, 2022
  • 7 Ways to Protect Your Domain Name March 31, 2022

US Agency Awards Judge

DFWSEM logo

Bill Hartzer is a Brand Ambassador for:



Industry Friends

I Love SEO
WTFSEO
SEO By the Sea
Jeff Lenney
Jeff Gabriel
Phil Drinkwater
Dixon Jones
Brian Hartzer
Navah Hopkins

Connect With Bill Hartzer

Bill Hartzer on Twitter
Bill Hartzer on Instagram
Hartzer Consulting on Facebook
Bill Hartzer on Facebook
Bill Hartzer on YouTube

Categories

  • Advertising (19)
  • Bing Search Engine (6)
  • Blogging (42)
  • Branding (12)
  • Domain Names (209)
  • Google (236)
  • Internet Marketing (25)
  • Internet Usage (85)
  • Link Building (53)
  • Local Search (39)
  • Marketing (180)
  • Marketing Foo (30)
  • Pay Per Click (3)
  • Podcast (18)
  • Public Relations (8)
  • Reputation Management (9)
  • Search Engine Marketing (44)
  • Search Engine Marketing Events (48)
  • Search Engine Marketing Firms (19)
  • Search Engine Marketing Jobs (33)
  • Search Engine Optimization (164)
  • Search Engines (204)
  • Social Media (192)
  • Tech (7)
  • Web Analytics (17)
  • Webinars (1)

Note: All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only, and are mentioned only to help my readers. All other trademarks cited herein are the property of their respective owners. Use of these names, logos, and brands does not imply endorsement.




Hartzer Consulting



Website, Content, and Marketing by Hartzer Consulting, LLC.

Copyright © 2023 ·