{"id":5648,"date":"2020-05-29T17:08:32","date_gmt":"2020-05-29T17:08:32","guid":{"rendered":"https:\/\/lamp.ciscoar.com\/?page_id=5648"},"modified":"2020-05-29T23:46:07","modified_gmt":"2020-05-29T23:46:07","slug":"google-tag-manager-built-in-variables","status":"publish","type":"page","link":"https:\/\/lamp.ciscoar.com\/?page_id=5648","title":{"rendered":"Google Tag Manager Built-In Variables"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-logo-1280x720-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"614\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-logo-1280x720-2-1024x614.png\" alt=\"\" class=\"wp-image-5572\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-logo-1280x720-2-1024x614.png 1024w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-logo-1280x720-2-300x180.png 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-logo-1280x720-2-768x461.png 768w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-logo-1280x720-2.png 1175w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure><\/div>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">How to enable Built-In Variables?<\/h2>\n\n\n\n<p>This step is mandatory, Built-In variables will allow you to configure tags using a more granular aproach, <a rel=\"noreferrer noopener\" href=\"\/google-tag-manager-first-tag\/\" target=\"_blank\">the first tag<\/a> we did create was as I told you the easiest one, and that&#8217;s because it is a really generic tag covering all page views, from now on you want to create triggers to match regular expressions and fired only on certain conditions, here is when the Built-Variable come in handy.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-01.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-01-1024x606.jpg\" alt=\"\" class=\"wp-image-5651\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-01-1024x606.jpg 1024w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-01-300x178.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-01-768x455.jpg 768w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-01.jpg 1044w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>Google Tag Manager &#8211; Enable Built-In Variables<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Select all listed under Clicks<\/h2>\n\n\n\n<p>In particular when creating a trigger to fire a tag to track downloads of file we&#8217;re going to make use of the Built-In variable called <strong>Click URL<\/strong>, see <a href=\"\/google-tag-manager-track-file-downloads\/\" target=\"_blank\" rel=\"noreferrer noopener\">this article<\/a> to learn how.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-02.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"425\" height=\"529\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-02.jpg\" alt=\"\" class=\"wp-image-5654\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-02.jpg 425w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-02-241x300.jpg 241w\" sizes=\"auto, (max-width: 425px) 100vw, 425px\" \/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Built-In variables added to Workspace<\/h2>\n\n\n\n<p>As a confirmation pay attention to the Built-In variables of your Workspace, the list now contains more variables, the ones recently added must be there.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-03.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"539\" height=\"574\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-03.jpg\" alt=\"\" class=\"wp-image-5658\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-03.jpg 539w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/Google-Tag-Manager-built-in-variables-03-282x300.jpg 282w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Where to go next?<\/h2>\n\n\n\n<p>Now that all built-in variables belonging to the group &#8220;Clicks&#8221; are enabled, you can move forward and create a trigger that make use of it for example to filter &#8220;<strong>Click URL<\/strong>&#8220;, see <a rel=\"noreferrer noopener\" href=\"\/google-tag-manager-track-file-downloads\/\" target=\"_blank\">this article<\/a> to learn how.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"\/google-tag-manager-track-file-downloads\/\">How to create a Tag to fire a GA event every time a file is downloaded<\/a><\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to enable Built-In Variables? This step is mandatory, Built-In variables will allow you to configure tags using a more granular aproach, the first tag we did create was as I told you the easiest one, and that&#8217;s because it is a really generic tag covering all page views, from now on you want to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lamp.ciscoar.com\/?page_id=5648\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Google Tag Manager Built-In Variables&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5648","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/5648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5648"}],"version-history":[{"count":20,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/5648\/revisions"}],"predecessor-version":[{"id":5710,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/5648\/revisions\/5710"}],"wp:attachment":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}