• About
    • History of Dallas SEO
  • Contact
  • Topics
    • Domain Security and Recovery
    • GoDaddy
    • ICANN and New gTLDs
    • AI Search
    • Google Search Updates
    • Google Ads and PPC
    • Google Business Profile and Local Search
    • Online Reputation Management
    • 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

19 YearsSince 2007

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

DFWSEM logo

 

 

Brand Ambassador for:

Majestic logo

Oncrawl logo

Semrush logo

Industry Friends

  • David Daniels
  • WTFSEO
  • SEO By the Sea
  • Jeff Lenney
  • Jeff Gabriel
  • Scott Hendison
  • Dixon Jones
  • Brian Hartzer
  • Navah Hopkins
  • DNAccess
  • 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

  • TikTok Views Per Video Fell 48% in 2026, Metricool Study Finds
  • 18 Ways to Use a Domain Name: My Take a Shot Podcast Episode
  • 1.2 Million Brand Posts Say Stop Opening Videos With a Question
  • Shoppers Can’t Spot Fake Stores. Retailers Have to Stop Them First
  • I Rebuilt Bruce Clay’s Search Engine Chart. Bing Feeds 11 Engines.
  • XYZ Applied for the .SEO Domain. The Price Will Decide Who Uses It
  • Goodfirms Says Organic Traffic Grew for 66.3%. Nobody Checked.
  • adMarketplace Says AI Chat Ad Conversions Rose 156%. From What?
  • ICANN Opens Comments on 1,606 New gTLDs. A Comment Is Not an Objection
  • LinkedIn Leads at 5.8%, but Vista Social’s Own Data Says Don’t Compare

Bill Hartzer

News and analysis on search, marketing, tech and domain names since 2001.

Hartzer Consulting

Topics

  • Google Search Updates
  • AI Search
  • Google Ads and PPC
  • Google Business Profile and Local Search
  • Domain Security and Recovery
  • ICANN and New gTLDs
  • GoDaddy
  • Online Reputation Management

Site

  • About Bill Hartzer
  • Contact
  • Services
  • Advertise
  • All Topics

Legal

  • Disclaimer
  • Privacy Policy
  • Terms of Use
  • Entity Map

Copyright 2026 by Bill Hartzer and Hartzer Consulting, LLC.

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