{"id":1159,"date":"2021-07-01T08:10:52","date_gmt":"2021-07-01T08:10:52","guid":{"rendered":"https:\/\/vaniseo.com\/agence-google-ads-a-marseille-google-tag-manager-episode-5-les-declencheurs\/"},"modified":"2026-10-26T10:44:58","modified_gmt":"2026-10-26T10:44:58","slug":"google-ads-agency-in-marseille-google-tag-manager-episode-5-triggers","status":"publish","type":"post","link":"https:\/\/vaniseo.com\/en\/2021\/07\/01\/agence-google-ads-a-marseille-google-tag-manager-episode-5-les-declencheurs\/","title":{"rendered":"Triggers"},"content":{"rendered":"<p class=\"wp-block-paragraph\">In the previous episode <a href=\"\/en\/google-ads-advertising-on-social-media-in-marseille\/\">the AdWords agency in Marseille<\/a> We\u2019ve already talked about tags. Here, you\u2019ll find out what triggers are, how to use them and how to configure them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Understanding triggers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Do you want certain tracking tags to be triggered only when specific conditions are met, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the user has clicked a button If the user is on a page If the user has remained on a page for a certain amount of time<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">To do this, simply create a condition that will trigger the correct tag. Creating a trigger simply involves writing these conditions. You also have the option of creating trigger libraries.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to create a trigger<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">First trigger: scroll depth:<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">You are going to create a trigger that detects whether a user is actually scrolling down a page. To do this, you need to monitor how far down the page your users are scrolling on your website\u2019s pages:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on \u00abNew\u00bb. Click on \u00abTrigger settings\u00bb. Select \u00abScroll depth\u00bb from the overlay on the right-hand side of your screen<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Next, you need to choose whether you want to track horizontal or vertical scrolling events. You will need to set the scroll depth value (as a percentage). Normally, the trigger will be configured to be active on your pages.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1846\" height=\"1024\" src=\"https:\/\/vaniseo.com\/wp-content\/uploads\/2026\/10\/configuration-declencheur.png\" alt=\"Marseille Web Marketing Agency \u2013 Google Tag Manager \u2013 Trigger Configuration\" class=\"wp-image-943\" srcset=\"https:\/\/vaniseo.com\/wp-content\/uploads\/2026\/10\/configuration-declencheur.png 1846w, https:\/\/vaniseo.com\/wp-content\/uploads\/2026\/10\/configuration-declencheur-300x166.png 300w, https:\/\/vaniseo.com\/wp-content\/uploads\/2026\/10\/configuration-declencheur-1024x568.png 1024w\" sizes=\"auto, (max-width: 1846px) 100vw, 1846px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Second trigger: time spent reading a page:<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on \u00abNew\u00bb. Select \u00abTimer\u00bb in the \u00abOther\u00bb section \u00ab section. The timer must be set in milliseconds, so enter 10,000 as the interval value to set 10 seconds. Enter \u00bb1\u00ab in the \u00bbLimit\u2019 field (this limits the number of occurrences)<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Next, you will see three fields which you can use to set up a condition. To enable the timer on all pages, you must:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Set the first field to \u00abpage hostname\u00bb. Set the second field to \u00abcontains\u00bb. Enter your domain name in the third field.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring triggers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">It is very common to target a button by its class or ID (the simplest way is to mark up pages with classes prefixed with \u00abgtm-\u00bb. Adding the class \u00abgtm-button-subscribe\u00bb to a button will allow you to configure a trigger by targeting that class.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Both triggers will be needed to reduce the page bounce rate in Google Analytics.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Disable a tag within a container<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To temporarily disable a tag, you need to pause the operation of a tag and its trigger. All tags will be retained, and you can disable specific ones by clicking on a tag\u2019s options menu and then selecting \u00abStandby\u00bb.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next episode will cover variables. You\u2019ll also learn how to set up your workspace more effectively.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Created by <a href=\"\/en\/\">Vaniseo<\/a>, your <a href=\"\/en\/marseille-web-agency\/\">web agency in Marseille<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Contact us<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Our team will get back to you within 24 hours<\/p>\n\n\n\n<div class=\"wp-block-group vn-post-cta\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"vn-post-cta-title wp-block-paragraph\">Fancy finding out how much each channel brings in?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Google Analytics 4, conversions, dashboards: we make your figures easy to understand.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"\/en\/google-analytics-4-data-marseille\/\">Discover our data services<\/a><\/div>\n<\/div>\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Google Ads agency in Marseille: Triggers, Google Tag Manager, scroll depth and timers, web agency, AdWords and digital marketing<\/p>","protected":false},"author":1,"featured_media":944,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","inline_featured_image":false,"wds_primary_category":0,"footnotes":""},"categories":[135],"tags":[],"class_list":["post-1159","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-et-analytics"],"acf":[],"_links":{"self":[{"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/posts\/1159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/comments?post=1159"}],"version-history":[{"count":0,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/posts\/1159\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/media\/944"}],"wp:attachment":[{"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/media?parent=1159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/categories?post=1159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/tags?post=1159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}