{"id":1165,"date":"2021-07-08T08:20:11","date_gmt":"2021-07-08T08:20:11","guid":{"rendered":"https:\/\/vaniseo.com\/agence-adwords-et-digitale-a-marseille-suivre-google-tag-manager-episode-12-les-telechargements\/"},"modified":"2026-10-26T10:44:54","modified_gmt":"2026-10-26T10:44:54","slug":"adwords-and-digital-agency-in-marseille-follow-google-tag-manager-episode-12-downloads","status":"publish","type":"post","link":"https:\/\/vaniseo.com\/en\/2021\/07\/08\/agence-adwords-et-digitale-a-marseille-suivre-google-tag-manager-episode-12-les-telechargements\/","title":{"rendered":"Track downloads"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Today, <a href=\"\/en\/google-ads-advertising-on-social-media-in-marseille\/\">the AdWords agency in Marseille<\/a> will show you how to track download events in Google Analytics using Tag Manager.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create an event tag<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To begin with, you need to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a \u00abUniversal Analytics\u00bb event tag. Under \u00abCategory\u00bb, enter \u00abengagement\u00bb. Under \u00abAction\u00bb, enter \u00abdownloads\u00bb. Under \u00abLabel\u00bb, enter \u00ab{{Click URL}}\u2019. Enter your Google Analytics tracking number.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Trigger at the right moment<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Your tag is correctly configured to upload the downloaded files. Next, you need to create a trigger. To do this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a \u00abClick\u00bb trigger that matches \u00abLinks only\u00bb \u00ab Tick \u00bbSome clicks on a link\u00ab Set the condition to \u00bbURL click\u00ab, \u00bbmatches regular expression\u00ab and the regular expression \u00bb(.pdf|.zip|.rar|.gz)$\u2019<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">String values ending in .pdf, .zip or .rar can be detected using this regular expression.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1846\" height=\"874\" src=\"https:\/\/vaniseo.com\/wp-content\/uploads\/2026\/10\/declencheur-clic.png\" alt=\"Web and Digital Agency \u2013 Google Tag Manager \u2013 click trigger \u2013 Vaniseo Marseille\" class=\"wp-image-959\" srcset=\"https:\/\/vaniseo.com\/wp-content\/uploads\/2026\/10\/declencheur-clic.png 1846w, https:\/\/vaniseo.com\/wp-content\/uploads\/2026\/10\/declencheur-clic-300x142.png 300w, https:\/\/vaniseo.com\/wp-content\/uploads\/2026\/10\/declencheur-clic-1024x485.png 1024w\" sizes=\"auto, (max-width: 1846px) 100vw, 1846px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once the trigger has been created, you can send this tag to your site by deploying a new version of the container. Also, don\u2019t forget to check this configuration using the preview.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If, within your Preview banner, you can see the tag that triggers when you click on a download link, it means everything is working perfectly.<\/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>AdWords and Digital Agency in Marseille: Downloads, Google Tag Manager, event tags, click triggers, Vaniseo \u2013 expert Google Ads agency<\/p>","protected":false},"author":1,"featured_media":960,"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-1165","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\/1165","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=1165"}],"version-history":[{"count":0,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/posts\/1165\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/media\/960"}],"wp:attachment":[{"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/media?parent=1165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/categories?post=1165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vaniseo.com\/en\/wp-json\/wp\/v2\/tags?post=1165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}