Adjusting Bounce Rate via Google Tag Manager

I have talked about Adjusting bounce rate in Google Analytics before, where I explained in great detail why you need to adjust your bounce rate and what are the benefits of such adjustment.

What I am going to share with you today is, how you can adjust bounce rate via Google Tag Manager.

Adjusting Bounce Rate in Google Analytics via Custom HTML tag

The easiest way to adjust bounce rate via Google Tag Manager is by deploying Google Analytics Tracking Code via Custom HTML Tag instead of using the Google Analytics tag template.

In this way you can easily customize your GA tracking code. Follow the steps below:

Step-1: Determine the minimum time it takes for majority of your website visitors to complete a goal conversion and/or ecommerce transaction. You can determine this time through this article: Adjusting Bounce Rate in Google Analytics

Step-2: Create a new custom HTML tag in Google Tag Manager and name it ‘Universal Analytics Tracking Code’:

custom html tag

Step-3: Copy-paste following code in the HTML box:

<script>
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

ga(‘create’, ‘UA-XXXX-XX‘, ‘auto’);
ga(‘require’, ‘linkid’, ‘linkid.js’);
ga(‘require’, ‘displayfeatures’);
ga(‘send’, ‘pageview’);
setTimeout(“ga(‘send’,’event’,’Profitable Engagement’,’time on page more than X minutes‘)”,XXXXX);
</script>

Replace ‘UA-XXXX-XX’ by your property ID.

Replace X minutes with the minimum time required (in minutes) to profitably engage with your website users.

Replace XXXXX with the minimum time required to profitably engage with your website users in milli seconds.

All I have done here, is added one additional line of code in the Google Analytics tracking code, immediately after ‘ga(‘send’, ‘pageview’);’:

setTimeout(“ga(‘send’,’event’,’Profitable Engagement’,’time on page more than 3 minutes’)”,180000);

Get the E-Book (62 Pages)

Adjusting Bounce Rate in Google Analytics via Timer Trigger

The other way of adjusting bounce rate via GTM is through ‘Timer Tigger’.

Follow the steps below:

Step-1: Create a new Google Analytics tag of type Universal Analytics and name it ‘Fire profitable Engagement Event’.

Step-2: Configure the tag as shown below:

profitable engagement tag

Tag Type: Universal Analytics

Tracking ID: UA-XXXX-XX // enter your tracking id

Track Type: Event

Category: Profitable Engagement

Action: time on page more than 3 minutes

 

Step-3: Create a new Timer trigger with following configuration:

timer trigger

Set the ‘interval‘ field of the timer trigger according to minimum time it takes for majority of your website visitors to complete a goal conversion and/or ecommerce transaction.

Once you have set up the timer trigger, your event tag will fire when certain time (specified in interval field) has elapsed. In my case the ‘Fire profitable Engagement Event’ tag will fire after 180000 milli seconds or after 3 minutes and it will fire only once.

Note: The ‘Limit’ field of 1 indicates that the tag will be fired only once.

If you want this tag to fire after every 3 minutes, then leave the ‘Limit‘ field of the timer trigger empty.

 

Step-4: Once you have created this new tag, preview your container and then publish it.

Other article you will find useful: Google Tag Manager Data Layer explained like never before

 

Do you want to Learn and Master Web Analytics in 8 Weeks?

I get dozens of emails every week from people asking for career advice in web analytics.

The questions range from ‘where do I start?’, ‘which books should I read?’, ‘how do I prepare for GAIQ?’ to how do I become a good analyst?

So I thought why not dedicate a whole video on answering these burning questions.

Here is what we are going to cover, in the next few minutes, in this video lesson:

#1 Who am I? What’s my story and why you should listen to me?

#2 The number 1 reason, why most marketers and business owners are not able to scale their advertising and maximize sales for themselves and/or for their clients.

#3 How in just couple of years, I went from a complete novice in web analytics to the author of three best selling books on web analytics? And how you can achieve the same transformation in your career and that too in much shorter time frame.

#4 What is the difference between web analytics and Google Analytics?

Join the Course

Take your analytics knowledge to the next level. Check out my best selling books on Amazon

Attribution Modelling in Google Ads and Facebook NEW
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. Learn how to leverage the knowledge of attribution modelling, understand the customer purchasing journey and determine the most effective marketing channels for investment.

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and Beyond
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Himanshu Sharma

Certified web analyst and founder of OptimizeSmart.com

My name is Himanshu Sharma and I help businesses find and fix their Google Analytics and conversion issues. If you have any questions or comments please contact me.

  • Over twelve years' experience in SEO, PPC and web analytics
  • Google Analytics certified
  • Google AdWords certified
  • Nominated for Digital Analytics Association Award for Excellence
  • Bachelors degree in Internet Science
  • Founder of OptimizeSmart.com and EventEducation.com

I am also the author of four books:

error: Alert: Content is protected !!