{"id":5586,"date":"2020-05-28T23:14:30","date_gmt":"2020-05-28T23:14:30","guid":{"rendered":"https:\/\/lamp.ciscoar.com\/?page_id=5586"},"modified":"2020-05-30T00:07:42","modified_gmt":"2020-05-30T00:07:42","slug":"google-tag-manager-preview","status":"publish","type":"page","link":"https:\/\/lamp.ciscoar.com\/?page_id=5586","title":{"rendered":"Google Tag Manager Preview Mode"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><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\" \/><\/figure><\/div>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Google Tag Manager Preview tool<\/h2>\n\n\n\n<p>Once your <a rel=\"noreferrer noopener\" href=\"\/google-tag-manager-first-tag\/\" target=\"_blank\">first tag<\/a> is configured and before submitting the changes to be live, you can use the &#8220;<strong>Preview<\/strong>&#8221; tool to verify that your tags are being fired as they are intended.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enable GTM preview<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-01.jpg\" alt=\"\" class=\"wp-image-5588\" width=\"674\" height=\"409\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-01.jpg 944w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-01-300x182.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-01-768x467.jpg 768w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/a><figcaption>Enabling GTM Preview<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">GTM Preview is enabled<\/h2>\n\n\n\n<p>The GTM dashboard will show a quite visible orange section to let you know that the Preview Mode is currently active.<\/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-preview-02.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"944\" height=\"670\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-02.jpg\" alt=\"\" class=\"wp-image-5589\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-02.jpg 944w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-02-300x213.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-02-768x545.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>Preview is enabled<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Refresh webpage<\/h2>\n\n\n\n<p>On a different tab open your website, or refresh the page if it is already open (on Google Chrome you can use the key combination <strong>Ctrl+F5<\/strong>), refreshing the page will get the <strong>Preview tool<\/strong> ready to start using it.<\/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-preview-03.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"642\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-03.jpg\" alt=\"\" class=\"wp-image-5593\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-03.jpg 946w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-03-300x204.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-03-768x521.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>Refresh the page to see the GTM preview tool<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">GTM Preview tool<\/h2>\n\n\n\n<p>As you can see in the image below, the GTM <strong>Preview tool<\/strong> is just a temporary section automatically uploaded and located at the bottom of the page.<\/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-preview-04.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"931\" height=\"736\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-04.jpg\" alt=\"\" class=\"wp-image-5594\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-04.jpg 931w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-04-300x237.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-04-768x607.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>Google Tag Manager Preview Tool<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">GTM Preview in action<\/h2>\n\n\n\n<p>Every time you refresh the page GTM will fire the &#8220;<strong>Page View<\/strong>&#8221; tag <a rel=\"noreferrer noopener\" href=\"\/google-tag-manager-first-tag\/\" target=\"_blank\">previously created<\/a>, if you have more tags configured they will appear in the &#8220;Tags Fired&#8221; section, see image below.<\/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-preview-05.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"269\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-05.jpg\" alt=\"\" class=\"wp-image-5599\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-05.jpg 540w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-05-300x149.jpg 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/a><figcaption>Google Tag Manager &#8211; fired Tags<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Google Analytics Real Time overview<\/h2>\n\n\n\n<p>Leave GTM for a moment and move to <strong>Google Analytics<\/strong> (GA) or open it in a new tab if necessary, then after selecting the Property go to &#8220;Realtime\/Overview&#8221; you will be able to see the activity captured in real time, see screenshot below.<\/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-preview-06-google-analytics.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-06-google-analytics-1024x538.jpg\" alt=\"\" class=\"wp-image-5618\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-06-google-analytics-1024x538.jpg 1024w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-06-google-analytics-300x158.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-06-google-analytics-768x404.jpg 768w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-06-google-analytics.jpg 1256w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>Google Analytics &#8211; Realtime overview<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Leave Preview mode<\/h2>\n\n\n\n<p>Once you&#8217;ve completed your work with the GTM Preview Tool you can leave it just clicking the &#8220;Leave Preview Mode&#8221; button.<\/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-preview-07.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"746\" height=\"181\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-07.jpg\" alt=\"\" class=\"wp-image-5623\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-07.jpg 746w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/05\/google-tag-manager-preview-07-300x73.jpg 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The image above allows to also see the &#8220;Refresh&#8221; button, this option is used every time you make a change while working with tags and want to pass them to the tool for testing purposes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Tag Manager Preview tool Once your first tag is configured and before submitting the changes to be live, you can use the &#8220;Preview&#8221; tool to verify that your tags are being fired as they are intended. Enable GTM preview GTM Preview is enabled The GTM dashboard will show a quite visible orange section to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lamp.ciscoar.com\/?page_id=5586\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Google Tag Manager Preview Mode&#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-5586","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/5586","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=5586"}],"version-history":[{"count":25,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/5586\/revisions"}],"predecessor-version":[{"id":5707,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/5586\/revisions\/5707"}],"wp:attachment":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}