Trigger Groups in Google Tag Manager. What’s new in this?

Trigger Group is the new update in Google Tag Manager which is present in trigger type and can be added to tags. This interesting feature allows a tag to match multiple trigger conditions by establishing a grouping among those triggers. This won’t fire the tag until every trigger in the group has fired at least once.

This is a unique feature which you will not find in any other tag manager except Google Tag Manager .

Image result for unique animated quotes

So, let’s get this started….

How to create a Trigger Group?

Fire up the Google Tag Manager, the Trigger Group is present within the trigger workflow. To do so, select Triggers from GTM interface, then New and then Choose a trigger type to begin setup option.

Trigger Configuration interface

You will find Trigger Group in the bottom of “Choose trigger type” option.

“Choose trigger type” option

Click on the Trigger Group and you will see the configuration screen.

Trigger Configuration interface

Here you can add multiple triggers based on your business objective.

Note that each and every trigger that you’re adding to Trigger Groups must fire as many times as it appears in the Trigger Group.

Also you can add a single trigger multiple times, but it should fire as many times as it is added to the group for the Trigger Group to work.

Examples of Trigger Groups

Example 1: PDF downloaded and Emailed us

We have setup this trigger for users who have downloaded the PDF from the site and then emailed us. This will fire up as soon as both the conditions are met.

Image result for examples

Example 2: User engagement check

This tag will enable you to find out the user engagement on your website. The combination of scroll depth and time spent triggers can help you do so.

For example this trigger will fire as soon as the user has scrolled 75% of the page and watched 90 seconds of the YouTube video.

Example 3: Wait for the All Pages trigger to fire first

In this Trigger Group, we have All Pages trigger along with the Event trigger. It signifies that the Event trigger will hold no importance until the All Pages trigger has fired.

Example where this cannot work

This trigger will not work in case of multiple pages. You cannot put multiple triggers on different pages, they have to be present on a single page.

Perhaps this idea will be extended further so that we can actually query the history of Data Layer on any given page. And, wild thought, maybe even persist this information across pages, so that a Trigger Group could fire based on multi-page conditions!

As of now it works only on a single page.

Things to keep in mind

  • Trigger Groups can’t be used as an exception since it can only block from firing is itself.
  • It will fire when all the triggers listed within have fired irrespective of the order, it won’t fire again even if the triggers listed within fire again.
  • Trigger Groups don’t replace the grouped triggers. The triggers you add to the group don’t need to be added to any tag at all – they can exists solely for the sake of Trigger Group itself.

I think now we’re pretty much familiarized with the Trigger Groups and will be able to implement them in our business.

If you need help with this, then we are a crazy team of Google and Adobe Certified Analytics Experts who eat, breathe, sleep and dream Analytics. And we’ve made it our purpose and passion to electrify your business’s potential through Analytics.

Contact us here.

Thank You.

How to capture scroll depth of web page using Google Tag Manager (GTM)?

In this post I’ll cover one of the recent releases for Google Tag Manager, which is setting trigger based on Scroll Depth. I will also provide step by step explanation on how you can implement various tags based on how deep the users usually navigate through your various web pages

Combining scroll depth trigger with Google Analytics can help you analyse till what point are the users usually interacting with content on your website.

It helps you in making some useful decisions for your web page and increase the user interaction by optimizing the content placement, layout and volume.

So, without wasting much of your time in introduction, let’s look at the steps to set a scroll depth based trigger on GTM:

  1. Click Triggers -> New
  2. Click Trigger configuration and choose scroll depth trigger type.

3. After selecting scroll depth trigger type, you’ll see two scroll depth options:

  • Vertical Scroll Depths
  • Horizontal Scroll Depths

You can select both Vertical and Horizontal scroll depth values in same trigger or any one of them as per your requirements.

After selecting the option, you’re required to set the scroll depth values as either percentage of the page height and width, or as Pixels. You can enter more than one values in both the conditions, but values should be positive integer separated by commas.

For example: 10,20,30, etc.

The “Enable this trigger on”option specifies when this trigger should start listening for relevant interactions. Following are the three options available:

  • Container Load (gtm.js) when the page loads, this one occurs the earliest among the three options
  • DOM Ready (gtm.dom) occurs after DOM is ready to be parsed. 2nd in order
  • Window Load (gtm.load) (default): after all initial content on the page has loaded, it occurs. This is last in order

You can select any one from the options as per your requirement or keep it on default, which is window load, if you aren’t sure which one to use for your web page from the options available.

4. Save the trigger.

Next, lets use the sensational GTM debugger and check in Preview & Debug mode if trigger is firing on set thresholds.

Now, lets setup a Google Analytics tag to record the scroll depth in your Analytics account.

Following are the steps to create a new tag for it and get this information in Google Analytics:

  1. Click Tags -> New
  2. Click Tags configuration and select Universal Analytics tag type.

3. Select track type as “Event”.

4. Following image shows a good way to record the scroll depth. Here I have used category as ‘Scroll Tracking’, Action would report the direction of scroll – horizontal/vertical and finally label would report the threshold value resulting in firing of this tag

5. Set non-interaction hit as true. This will affect your bounce rate calculations. Its up to you whether you wish to consider the scrolling a user interaction on the site or not

6. Select Google analytics settings variable as per your property UA – ID

7. Select the firing trigger for it, which was created earlier – the scroll depth trigger.

8. Save the tag and check in Preview & Debug mode, if tag is firing or not.

9. If tag is firing, you can check in GA under real time events report and check if category and actions values are coming properly as you have set them.

Like this you can set various other tags as well apart from Analytics that can change the user experience based on their scrolling depth, like introducing a pop up form etc

Enjoy coffee.

If you need help with this, then we are a crazy team of Google and Adobe Certified Analytics Experts who eat, breathe, sleep and dream Analytics. And we’ve made it our purpose and passion to electrify your business’s potential through Analytics.

Contact us here.

Found it informative? Leave a comment! You can also give us a thumbs up by sharing it with your community. Also did you know that you can light up our day by subscribing to our blog? Subscribe here –