• About
    • History of Dallas SEO
  • 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
  • Services
    • Search Engine Optimization
    • Ongoing SEO Services
    • SEO Expert Witness
    • Google Penalty Recovery
    • Mini SEO Audit
    • Link Audit
    • Keyword Research
    • Combine Websites SEO Services
    • PPC Management
    • Online Reputation Management
    • Domain Name Consultant
    • Domain Names & Expired Domains
    • Domain Name Appraisal

Bill Hartzer

GoDaddy Airo: Register your .com domain name today!
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!)

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

Hartzer Domains

Bare-Metal Servers by HostDime

DFWSEM logo

 

 

Brand Ambassador for:

Majestic logo

Oncrawl logo

Industry Friends

  • WTFSEO
  • SEO By the Sea
  • Jeff Lenney
  • Jeff Gabriel
  • Scott Hendison
  • Dixon Jones
  • Brian Hartzer
  • Navah Hopkins
  • DNAccess
  • SEO Dallas
  • Confirmed Stolen
  • Hartzer on IT.com
  • Jason Olson

Connect With Bill Hartzer

  • Bill Hartzer on X
  • Bill Hartzer on BlueSky
  • Bill Hartzer on Instagram
  • Hartzer Consulting on Facebook
  • Bill Hartzer on Facebook
  • Bill Hartzer on YouTube

Recent Posts

  • Brandwatch Reveals the Missing Half of Customer Intent
  • The Definitive Guide to Virtual Machine Hosting: Building Next-Gen Digital Infrastructure
  • Elemental Impact Unites Amazon, Google, Meta, and Microsoft in a Bold New Plan for Cleaner Data Centers
  • Why Paid AI Mentions Could Become the Next Google Penalty
  • The Linux Foundation Wants to Rewire How AI Agents Find Each Other Online
  • Can Real Human Traffic Improve Organic Rankings? Here’s What the Data Shows
  • ICANN Sets Critical DNS Security Rollover Date
  • RoamChat Launches a Live Global Map Where Anyone Can Talk Instantly
  • Google Confirmed It: “AI SEO”, GEO, and AEO Are Still Just SEO
  • Ghosted, Scammed, or Catfished? ClarityCheck Hits 25M Searches as Digital Skepticism Surges
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.
Disclaimer - Privacy Policy - Terms of Use - AI Instructions

Copyright © 2026 ·