Google Analytics Events & Bounce Rate

Published: December 22, 2017

Event Tracking is a useful Google Analytics feature for recording miscellaneous information about how visitors interact with a website.

For example, on this site I use a “taggedPost” event to understand my most popular blog topics by firing an event to report back any tags (e.g. “Security”, “Performance”, “Google Analytics”) associated with a given page.

However, when I first set this up, one thing that I didn’t understand was the impact that firing events has on bounce rate.

This is documented in the “Implementation Considerations” section of Google’s “About Events” help article

If you implement Event Tracking for your site, you might notice a change in bounce rate metrics. This is because Event Tracking, like page tracking is classified as an interaction request.

In other words, by default, if a user visits a page and an event fires, that visit is no longer seen as a bounce, even if the visitor leaves your site without visiting any other pages.

This can be avoided, however, by declaring that the event is a “non-interaction event”

On the same help article there is a section titled “Non-Interaction Events” which documents this…

When this value is set to true, the type of event hit is not considered an interaction hit. You can use this fact to adjust bounce rate calculations for pages that contain events.

From a coding standpoint, implementing a non-interaction event looks something like this…

ga('send', 'event', 'taggedPost', 'view', 'Google Analytics', { nonInteraction: true });

For my use case the “taggedPost” event fires immediately when the user visits the page, guaranteeing a 0% bounce rate if the nonInteraction flag is not set. As such, upon learning this I promptly updated this site to set “taggedPost” as a non-interaction event.

Max Chadwick Hi, I'm Max!

I'm a software developer who mainly works in PHP, but loves dabbling in other languages like Go and Ruby. Technical topics that interest me are monitoring, security and performance. I'm also a stickler for good documentation and clear technical writing.

During the day I lead a team of developers and solve challenging technical problems at Rightpoint where I mainly work with the Magento platform. I've also spoken at a number of events.

In my spare time I blog about tech, work on open source and participate in bug bounty programs.

If you'd like to get in contact, you can find me on Twitter and LinkedIn.