If you want to go to the next level in monitoring the performance of your site, all you need to do is to configure the triggers in Google Tag Manager. A trigger analyzes various types of events on your Webpage, such as button clicks, form submissions, or page views. The trigger is doing an execution request to the tag when the event is detected.
Powerful features of Google Tag Manager
Whether is for viewing videos, item visibility or scrolling, Google Tag Manager is equipped by default with many triggers that send to Google Analytics, Google Ads or other detailed information about the behavior of visitors to a site.
3 triggers frequently used in Google Tag Manager
What is seen by the user:
No matter what item appears on your page, like an image, a block of text or an error message on a form, GTM allows is user to know if an item is displayed as well as is time of publication.
In addition, for an image or a table, the analytical tool allows to see the percentage of the element that appeared on the screen and select a recurring item on the site. The configuration of this trigger begins with the identification of the element from is CSS .class or #id selector in the source code of the page.
You can do the setting of the trigger below of the one of the tag. To create a new one, click on the gray symbol in the center of the frame, then on the "+" on the right side of the page, to display the list of trigger types and select "Visibility of the element”. It is then necessary to determine a duration and a display percentage from which the event is triggered.
What makes the user click:
Since most of the interaction between the user and the page is by clicks, it would be very interesting in terms of analytical performance to capture them. You can limit yourself to one item or follow a recurring one on the site. This way you will be able to understand how users are browsing your site by following the clicks on the menu, for example.
To configure the tag, choose the type of tag (Google Analytics), the type of tracking (event), the category (navigation) and the action ("menu" to track the clicks on the menu). You will find the trigger in the "click" section of the list of trigger types, under the heading "all items". In order to target the clicks, you have to configure the trigger on "certain clicks", then choose "Container ID" "contains" and paste the class ID or CSS id in the space that follows.
What is viewed on your site:
Would you like to know if your videos on your YouTube channel are seen partially or fully? Tracking a video is also an event followed by the Google Analytics tag. Thus, the trigger can generate an event when the video is launched, completed and when the user click pause or on the progress bar to set the reading threshold according to the options checked.
Now just make sure you test your tag with the GTM preview tool to verify that the tag is triggered correctly, in the right conditions, and sends the information.
For an analysis of your data in Google Tag Manager, contact the experts of Devrun. Our digital Web Agency specializing in Web Analytics can definitively help you!