{"id":16322,"date":"2020-01-30T18:49:25","date_gmt":"2020-01-30T18:49:25","guid":{"rendered":"https:\/\/www.kickads.co\/?p=16322"},"modified":"2020-01-30T18:49:25","modified_gmt":"2020-01-30T18:49:25","slug":"google-tag-manager-fundamentals","status":"publish","type":"post","link":"https:\/\/www.kickads.co\/en\/google-tag-manager-fundamentals\/","title":{"rendered":"Google Tag Manager (GTM) Fundamentals"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">If you have landed here, then the reason is Google Tag Manager. Wondering what this is? Why should you give it a damn? Then this new year, Kickads is bringing you this Quick Google Tag Manager Guide. This Guide provides you with a basic understanding of Google Tag Manager. If you are looking for something so advanced, this guide may not be very ideal to you. High Recommended to read <a href=\"https:\/\/www.simoahava.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Simon Ahava &#8216;s Blog<\/a>, He is a REAL DEAL in Google Tag Manager (GTM).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Before jumping right to the point- Happy Chinese New Year! May this new year gives you bundles of traffic to your website. I hope you have enjoyed the Chinese new year as much as you enjoy our guides! <\/span><\/p>\n<h1>What is Google Tag Manager?<\/h1>\n<p><span style=\"font-weight: 400;\">Google Tag Manager is a tool created by Google that enables you to create and control tags on a user interface without writing complicated code whenever you want to create a tag. It just lets you embed the GTM code into each page of your website, which eliminates the pain point of the manual process of creating tags and makes your marketing and tracking more effective and productive.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Primarily GTM is used for managing and tracking visitor&#8217;s behavior on the website, and Google allows you to use it for free. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Isn&#8217;t it Amazing?<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Why you need Google Tag Manager?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Google Tag Manager does many things: primarily, you don&#8217;t need developers to code for you. Earlier, when GTM didn&#8217;t exist, webmasters had to insert code on their pages for every tracking and advertising service. They even need to insert code into elements like links and buttons to track user behavior. But with GTM, the only code you need to add to your page is the GTM code. It eliminated the burden of coding, which allows developers to focus on other tasks.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">GTM supports Faster Loading and improves the SEO performance of your site. With GTM, you can streamline All different codes, which means that tags will no longer bogged down and slow your pages from loading.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It&#8217;s a great tool that you surely want to try for yourself before concluding whether it&#8217;s a perfect fit or not. Maybe you already have a tagging method in place, or you have not felt the need for your website.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">But Google Tag Manager is free, so you can try it out practically risk-free.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here in this article, we will show you how to set up an account, how to create a new tag, how to use Google Tag Manager with your Google Analytics account.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After reading this article, you can decide whether it&#8217;s the best tool for your business or not.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Key Advantages Of Google Tag Manager<\/span><\/h2>\n<p><b>GTM Boosts Business Efficiency<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Google Tag Manager eradicates the need for developers and allows you to understand your user behavior. It is a cost-effective and reliable solution that helps businesses adapt to the evolving marketing conditions and enable you to try various strategies for your business by understanding in-depth user behavior.<\/span><\/p>\n<p><b>Google Tag Manager Boosts the Website Speed<\/b><\/p>\n<p><span style=\"font-weight: 400;\">GTM tags are used asynchronously, which means that if a tag is slow loading, then it will not prevent other tags from being fired.\u00a0<\/span><\/p>\n<p><b>Centralized Tag Management<\/b><\/p>\n<p><span style=\"font-weight: 400;\">GTM allows you to manage all marketing and analytics tags used on your site in one place. It improves the efficiency of tag management and simplifies the process of adding, removing, or editing the tags.\u00a0<\/span><\/p>\n<p><b>Google Tag Manager Simplifies Event\/Advanced Tracking<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Event tracking is an area where Google Tag Manager can shine. Before introducing GTM, if you needed to track events such as clicks on various buttons and play on your videos, then you require to take help from a developer to add the tracking code for every event. But GTM resolves that pain point. To find out how to click on the link below:<\/span><\/p>\n<p><a href=\"https:\/\/www.kickads.co\/event-tracking-via-google-tag-manager-and-google-analytics\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400;\">https:\/\/www.kickads.co\/event-tracking-via-google-tag-manager-and-google-analytics\/<\/span><\/a><\/p>\n<p><strong>How to Set Up an Account in Google Tag Manager?<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">Setting up a free account is very easy and a simple two-step process, but it&#8217;s different from Google Analytics or Gmail accounts. To secure an effortless set-up for you, we\u2019ve recorded our process for setting up an account.<\/span><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Just hit on <\/span><a href=\"https:\/\/www.google.com\/analytics\/tag-manager?__hstc=20629287.5577b8d341282a3e6ab029a56d97d973.1577551700954.1577551700954.1577551700954.1&amp;__hssc=20629287.1.1577551700955&amp;__hsfp=3055870778\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400;\">https:\/\/www.google.com\/analytics\/tag-manager<\/span><\/a><span style=\"font-weight: 400;\"> and click on &#8216;Sign Up for Free.&#8217; Then, insert your account name, country, and website URL as well as where you want to use Google Tag. Once you have done this, then click on the Create button.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In the next step, you will get the codes and instructions to embed the code in the &lt;head&gt; of your page, and the other after opening &lt;body&gt; tag. Apply the codes to your site, once you do this press &#8216;Ok.&#8217;<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-16324\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/how-gtm-guide.png\" alt=\"how-gtm-guide\" width=\"1015\" height=\"629\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/how-gtm-guide.png 1015w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/how-gtm-guide-300x186.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/how-gtm-guide-768x476.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/how-gtm-guide-18x12.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/how-gtm-guide-480x297.png 480w\" sizes=\"(max-width: 1015px) 100vw, 1015px\" \/><\/p>\n<h2><span style=\"font-weight: 400;\">What is Google Tag Manager Container ID?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In GTM, you will find code like &#8216;GTM-TXAAA,&#8217; which is so-called Container ID.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This ID is used to classify each GTM container tag uniquely, and the other part of this code, which is like &#8216;gtm.js,&#8217; is the JavaScript library used by the container tag.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once you add the container tag code to your website, then your GTM is considered to be installed on your site.\u00a0<\/span><\/p>\n<p>Precisely, Google Tag Manager is a container tag.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-16325\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/container-tag.png\" alt=\"container-tag\" width=\"1216\" height=\"580\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/container-tag.png 1216w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/container-tag-300x143.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/container-tag-1024x488.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/container-tag-768x366.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/container-tag-18x9.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/container-tag-480x229.png 480w\" sizes=\"(max-width: 1216px) 100vw, 1216px\" \/><\/p>\n<h2><span style=\"font-weight: 400;\">Setting up a Tag in GTM<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Once you have the Google Tag Manager account, the first thing you should know is how to set up a tag in GTM. With this, you can create unlimited configurations of tags in Google Tag Manager<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It helps in creating in-depth reports on your visitor&#8217;s behavior, but it can become unproductive if you don\u2019t manage your tags accurately.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For this, Google advises using the following naming practice:<\/span><i><span style=\"font-weight: 400;\"> tag type &#8211; name of the app &#8211; detail.<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400;\">For instance, maybe you name one tagging configuration, \u201cAdWords conversions &#8211; iOS &#8211; 2018-02 campaign,\u201d and then another, \u201cGoogle Analytics &#8211; CTA &#8211; About Us page.\u201d<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Through this, you can correctly classify and accumulate the data associated with particular campaigns or your web pages.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example, the second tag, \u201cGoogle Analytics &#8211; Call To Action &#8211; About Us page,\u201d shows how well your About Us call-to-action button is functioning. The information you will obtain is very valuable, and you might lose if you named your tags more generally like &#8220;CTA Button&#8221;.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now let&#8217;s jump to set up the tag:<\/span><\/p>\n<p><b>Creating a Tag in Google Tag Manager\u00a0<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A tag is a group of JavaScript code that is used to obtain marketing data from your website or mobile app. Then it sends that data to third party services such as Google Analytics, Google Adwords, Twitter, Facebook, Comscore, etc.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">How to create a Tag in GTM?<\/span><\/p>\n<p>STEP1: Go to the Google Tag Manager Dashboard then click on the &#8216;Add New Tag&#8217; button.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-16327\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-1-add-new-tag-1.png\" alt=\"step-1-add-new-tag\" width=\"1256\" height=\"601\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-1-add-new-tag-1.png 1256w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-1-add-new-tag-1-300x144.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-1-add-new-tag-1-1024x490.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-1-add-new-tag-1-768x367.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-1-add-new-tag-1-18x9.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-1-add-new-tag-1-480x230.png 480w\" sizes=\"(max-width: 1256px) 100vw, 1256px\" \/><\/p>\n<p>STEP2: Give Title to your tag and then click on the &#8220;Tag Configuration&#8217; to choose a tag type.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16328\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-2.png\" alt=\"Google tag manager guide\" width=\"1337\" height=\"633\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-2.png 1337w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-2-300x142.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-2-1024x485.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-2-768x364.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-2-18x9.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-2-480x227.png 480w\" sizes=\"(max-width: 1337px) 100vw, 1337px\" \/><\/p>\n<p>STEP3: There are many tag types, all of them are not mentioned here, and you can also customize a tag type. Let&#8217;s go with &#8216;Google Analytics Universal.&#8217;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16329\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-3.png\" alt=\"step-3\" width=\"1365\" height=\"633\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-3.png 1365w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-3-300x139.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-3-1024x475.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-3-768x356.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-3-18x8.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-3-480x223.png 480w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/p>\n<p>STEP4: If you want to track your tag in Google Analytics, for that you have to enter your Web Property ID, you can find it in your Google Analytics account. Then, select the &#8216;Track Type,&#8217; here we are choosing &#8216;Event,&#8217; but there are other options too.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16330\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-4-event.png\" alt=\"step-4-event\" width=\"1034\" height=\"534\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-4-event.png 1034w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-4-event-300x155.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-4-event-1024x529.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-4-event-768x397.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-4-event-18x9.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-4-event-480x248.png 480w\" sizes=\"(max-width: 1034px) 100vw, 1034px\" \/><\/p>\n<p>STEP5: Now, choose a trigger; it records the page visits. Here we will select &#8216;All Pages&#8217; to get the insights every time someone views any of your web pages, you can set it as per your preference too.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16331\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-5-trigger.png\" alt=\"\" width=\"1365\" height=\"366\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-5-trigger.png 1365w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-5-trigger-300x80.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-5-trigger-1024x275.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-5-trigger-768x206.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-5-trigger-18x5.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-5-trigger-480x129.png 480w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/p>\n<p>STEP6: When you are done with your tag configuration and trigger, then click on the Save button to apply the tag.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16333\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-6.png\" alt=\"\" width=\"1170\" height=\"627\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-6.png 1170w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-6-300x161.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-6-1024x549.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-6-768x412.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-6-18x10.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-6-480x257.png 480w\" sizes=\"(max-width: 1170px) 100vw, 1170px\" \/><\/p>\n<p>STEP7: Now, click the Submit button so that your tag can work as per your preference.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16334\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-7.png\" alt=\"step-7\" width=\"1343\" height=\"533\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-7.png 1343w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-7-300x119.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-7-1024x406.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-7-768x305.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-7-18x7.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-7-480x190.png 480w\" sizes=\"(max-width: 1343px) 100vw, 1343px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">STEP8: After clicking the Submit button, you will land on the Submission Configuration page, where you will see two options &#8221; Publish and Create Version&#8221; or &#8220;Create Version.&#8221; If you are ready to push the tag to all your site pages, then select the first option &#8216;Publish and Create Version&#8221; and then hit the &#8216;Publish&#8217; button.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16335\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-8.png\" alt=\"step-8\" width=\"1160\" height=\"629\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-8.png 1160w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-8-300x163.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-8-1024x555.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-8-768x416.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-8-18x10.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-8-480x260.png 480w\" sizes=\"(max-width: 1160px) 100vw, 1160px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">STEP9: After this, you will see &#8216;Container Version Description.&#8217; If you can keep your tags organized, then add a name and description to understand what you are trying to record with this tag.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16336\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-9.png\" alt=\"step-9\" width=\"1162\" height=\"623\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-9.png 1162w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-9-300x161.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-9-1024x549.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-9-768x412.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-9-18x10.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-9-480x257.png 480w\" sizes=\"(max-width: 1162px) 100vw, 1162px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">STEP10: Make sure that your tag appears in the &#8216;Version Summary&#8217; report.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16337\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-10.png\" alt=\"step-10\" width=\"1190\" height=\"413\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-10.png 1190w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-10-300x104.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-10-1024x355.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-10-768x267.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-10-18x6.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/step-10-480x167.png 480w\" sizes=\"(max-width: 1190px) 100vw, 1190px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Now we have created the first tag successfully.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Google Analytics and Google Tag Manager<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If you want to use GTM in connection with Google Analytics, there are a few steps that you need to take. Though, it is a worthy effort, adding these tags in your site will increase the precision of your GA reports.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the first step, you have to remove the Google Analytics code from your site pages. For this, you will need to include your GTM tag code. If you include both codes, then it will just duplicate the data.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the second step, you need to create a variable for your Google Analytics Tracking ID. Variable increases the efficiency in the GTM tool; it increases efficiency by saving additional data.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you keep your GA Tracking ID as a variable, you won\u2019t have to look it up all the time; you need to create a new tag for Google Analytics.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">What is a Trigger in Google Tag Manager?\u00a0<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">You can define a trigger as a set of rules that tells your tag when to start firing. The primary trigger in Google Tag Manager is the all pages trigger, which tells your tag to fire on every page when the page loads. This trigger is used with the Google Analytics tag.\u00a0<\/span><\/p>\n<p><strong>Built-in GTM Trigger<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">There are many built-in triggers in Google Tag Manager that you can use to fire the tags. GTM has triggers for YouTube videos, custom events, scroll depth, button clicks, and more.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16338\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/choose-trigger-type.png\" alt=\"choose-trigger-type\" width=\"761\" height=\"474\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/choose-trigger-type.png 761w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/choose-trigger-type-300x187.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/choose-trigger-type-18x12.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/choose-trigger-type-480x299.png 480w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Every trigger in GTM uses its own set of rules for firing the tags.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For instance, you can set up a YouTube trigger to fire based on many different interactions a user performs on your videos. You can fire this tag when a user starts, seeks, pauses, buffers, or finishes the video. This tag can also be fired on a user&#8217;s viewing completion, such as the user viewed it 50% or 3 minutes watched.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Creating a Variable in Google Tag Manager<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In GTM, a variable is a function called from within another tag, trigger, or variable, and it is of two types one is Built-in variable and user-defined variables.<\/span><\/p>\n<p><strong>How to create a variable in GTM?<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">STEP1: Click &#8216;Variables on the homepage of Google Tag Manager.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16339\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/create-variable.png\" alt=\"create-variable\" width=\"1228\" height=\"597\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/create-variable.png 1228w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/create-variable-300x146.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/create-variable-1024x498.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/create-variable-768x373.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/create-variable-18x9.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/create-variable-480x233.png 480w\" sizes=\"(max-width: 1228px) 100vw, 1228px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">STEP2: Go to &#8216;User-Defined Variable&#8217; and then click on &#8216;New.&#8217;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16341\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-1-1.png\" alt=\"\" width=\"1175\" height=\"543\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-1-1.png 1175w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-1-1-300x139.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-1-1-1024x473.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-1-1-768x355.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-1-1-18x8.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-1-1-480x222.png 480w\" sizes=\"(max-width: 1175px) 100vw, 1175px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">STEP3: Now, you have to name the variable so you can remember it. Then, click the &#8216;Variable Configuration.&#8217;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16342\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-2.png\" alt=\"variable-step-1\" width=\"1360\" height=\"525\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-2.png 1360w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-2-300x116.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-2-1024x395.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-2-768x296.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-2-18x7.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-2-480x185.png 480w\" sizes=\"(max-width: 1360px) 100vw, 1360px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">STEP4: choose the variable type as &#8216;Constant,&#8217; if you don&#8217;t want the ID to change for different tags.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16343 aligncenter\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-3.png\" alt=\"variable-step-3\" width=\"566\" height=\"599\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-3.png 566w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-3-283x300.png 283w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-3-11x12.png 11w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-3-480x508.png 480w\" sizes=\"(max-width: 566px) 100vw, 566px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">STEP5: Now you have to enter the Google Analytics ID number into the &#8216;Value&#8217; box, and then click the &#8216;Save&#8217; in the top right.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16344\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-4.png\" alt=\"variable-step-4\" width=\"1078\" height=\"374\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-4.png 1078w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-4-300x104.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-4-1024x355.png 1024w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-4-768x266.png 768w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-4-18x6.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/variable-step-4-480x167.png 480w\" sizes=\"(max-width: 1078px) 100vw, 1078px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">In the next step, edit the &#8216;TestTag1&#8217; and include the new variable we created.\u00a0<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Data Layer Variables<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If you want to learn about your user behavior, even more than you must use the data layer. Google Tag Manager gives the ability to create custom data layer variables.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">These data layer variables can pass the dynamic values from your CMS, back-end system, or e-commerce platform into GTM. Then GTM can record these values in your tags and pass them on to your reports. This variable can pass critical values to all your marketing systems at once.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16345\" src=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/data-variable.png\" alt=\"data-variable\" width=\"761\" height=\"144\" srcset=\"https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/data-variable.png 761w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/data-variable-300x57.png 300w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/data-variable-18x3.png 18w, https:\/\/www.kickads.co\/wp-content\/uploads\/2020\/01\/data-variable-480x91.png 480w\" sizes=\"(max-width: 761px) 100vw, 761px\" \/><\/p>\n<p><strong>What&#8217;s your opinion about Google Tag Manager?<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">Google Tag Manager can clearly make your life easier. Ensure that you are using the data that you are setting up in GTM.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">I am curious to hear about your experience with GTM. How was it? For any queries and suggestions, do comment.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Stay tuned for more such articles.\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have landed here, then the reason is Google Tag Manager. Wondering what this is? Why should you give it a damn? Then this new year, Kickads is bringing you this Quick Google Tag Manager Guide. This Guide provides you with a basic understanding of Google Tag Manager. If you are looking for something [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":16346,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[70,72,73,74,75,76,77,78,79,80],"class_list":["post-16322","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-tag-manager","tag-data-layer-best-practices","tag-google-tag-manager-event-tracking4","tag-google-tag-manager-example","tag-google-tag-manager-fundamentals","tag-google-tag-manager-tutorial","tag-google-tag-manager-tutorial-2020","tag-google-tag-manager-tutorial-for-beginners","tag-learn-google-tag-manager","tag-ultimate-guide-to-google-tag-manager","tag-what-is-google-tag-manager"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/posts\/16322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/comments?post=16322"}],"version-history":[{"count":0,"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/posts\/16322\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/media\/16346"}],"wp:attachment":[{"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/media?parent=16322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/categories?post=16322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kickads.co\/en\/wp-json\/wp\/v2\/tags?post=16322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}