{"id":31581,"date":"2021-11-08T15:00:56","date_gmt":"2021-11-08T14:00:56","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=31581"},"modified":"2022-01-19T10:39:38","modified_gmt":"2022-01-19T09:39:38","slug":"how-to-set-up-google-tag-manager-in-wordpress","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/how-to-set-up-google-tag-manager-in-wordpress\/","title":{"rendered":"How to Set Up Google Tag Manager in WordPress"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]With WordPress alone, you can create any kind of website you like. And let us assume you have. What\u2019s next? If you haven\u2019t planned it from the outset, you are probably looking into monetization. And to do that, you need additional tools. Marketers and analysts use pieces of code called tags to help them execute marketing campaigns and gauge their effectiveness. Not everyone can code, though: that\u2019s what content management systems, such as Google\u2019s Tag Manager, are for.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you are reading this, you are probably looking to employ Google Tag Manager on your WordPress website and add it to your array of SEO optimization and analytics tools. But what is Google Tag Manager, exactly? How does it work? Do you really need it? These are the questions we will be answering in the first parts of this tutorial.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Here\u2018s what we\u2018ll be talking about:<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#what-is-google-tag-manager\">What is Google Tag Manager<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#why-set-up-google-tag-manager\">Why Set Up Google Tag Manager<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#set-up-google-tag-manager-for-your-wordpress-website\">How to Set Up Google Tag Manager For Your WordPress Website<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#add-tag-using-google-tag-manager\">How to Add a Tag Using Google Tag Manager<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;80px&#8221;][vc_widget_sidebar sidebar_id=&#8221;new-top-picks-banner&#8221;][vc_empty_space height=&#8221;80px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"what-is-google-tag-manager\"><\/a>What is Google Tag Manager<\/h2>\n<p>[\/vc_column_text][vc_column_text]Simply put, Google Tag Manager is<strong> an interface used to manage all the tracking tags on your website<\/strong>. You might say that that hardly answers anything, and you\u2018d be right. So let\u2018s get to the point: the tags we are talking about here are JavaScript and HTML tags. They are used to integrate all sorts of third party software into websites.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Tags <strong>add various functionalities to websites,<\/strong> including analytics, marketing campaign management, testing, personalization, conversion tracking, and more. If you are <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-add-facebook-pixel-to-wordpress\/\">using Facebook Pixel<\/a> or Google Analytics, for instance, you probably have the requisite tag as part of your website\u2018s code.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"why-set-up-google-tag-manager\"><\/a>Why Set Up Google Tag Manager<\/h2>\n<p>[\/vc_column_text][vc_column_text]There are plenty of benefits to Google Tag Manager. The first great advantage we can think of is that it squares neatly with the WordPress credo: instead of manually coding each tag, you can simply use Google Task Manager to generate it and add it automatically. Not only does this help <strong>avoid human error<\/strong>, but you also avoid the need to employ a developer or admin to do it: <strong>your non-coding staff can add, update, and test third party scripts<\/strong>, and roll back any changes if necessary.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Secondly, though this could have been a firstly, the functionalities: you get <strong>more control and easy oversight of your tags<\/strong>: they are all in one panel for easy access and review. You can use these tags to optimize your website for Google \u2013 it being the most popular search engine by far.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Finally, it\u2018s free, or at least it\u2018s <strong>free for the end user.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"set-up-google-tag-manager-for-your-wordpress-website\"><\/a>How to Set Up Google Tag Manager For Your WordPress Website<\/h2>\n<p>[\/vc_column_text][vc_column_text]This tutorial presupposes you have a Google account. If not, you should go and make one \u2013 they, too, are free for the end user \u2013 and then come back to the instruction section.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Once you have created your Google account, log into it and go to the <a href=\"https:\/\/tagmanager.google.com\/\" target=\"_blank\" rel=\"noopener\">Google Tag Manager<\/a> website. You then need to create a Tags account. Start by clicking the <strong>Create Account<\/strong> button.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Google-Tag-Manager-Create-Account.jpg\" class=\"attachment-full size-full\" alt=\"Google Tag Manager Create Account\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Google-Tag-Manager-Create-Account.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Google-Tag-Manager-Create-Account-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Google-Tag-Manager-Create-Account-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Google-Tag-Manager-Create-Account-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]In the <strong>Account<\/strong> Setup section, you need to choose an <strong>Account Name<\/strong> and <strong>Country<\/strong>, choose whether to opt into sharing data anonymously with Google and others (we didn\u2018t), and then move on to the <strong>Container Setup<\/strong> section. Select a <strong>Container name<\/strong> (this can be anything you like, provided it does not contain <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-add-special-characters-in-wordpress\/\">special characters<\/a>) and select the <strong>Target platform<\/strong>. Since you\u2018re setting up Google Tag Manager for a website, select <strong>Web<\/strong>. Once done, click <strong>Create<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"690\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Account-Details.jpg\" class=\"attachment-full size-full\" alt=\"Account Details\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Account-Details.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Account-Details-300x214.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Account-Details-768x547.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Account-Details-620x441.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Next, you will need to accept the terms and conditions of the service. Scroll all the way down and check to accept the GDPR-compliant data processing terms (a must in the European Economic Area; different jurisdictions may have different data processing requirements), and then click the <strong>Yes<\/strong> button.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"649\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Service-Agreement.jpg\" class=\"attachment-full size-full\" alt=\"Service Agreement\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Service-Agreement.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Service-Agreement-300x201.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Service-Agreement-768x514.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Service-Agreement-620x415.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You will now get two bits of code you need to add to your website code. Leave this page open, you will need it later. Copy the first bit of code by clicking on the <strong>copy<\/strong> button on the right-hand side of it.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"552\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code.jpg\" class=\"attachment-full size-full\" alt=\"Get Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code-300x171.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code-768x437.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code-620x353.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Next, navigate to your theme editor from your WordPress dashboard by selecting <strong>Appearance\/Theme Editor<\/strong> from the right-hand side menu.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/07\/Appearance-Theme-Editor.jpg\" class=\"attachment-full size-full\" alt=\"Appearance Theme Editor\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/07\/Appearance-Theme-Editor.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/07\/Appearance-Theme-Editor-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/07\/Appearance-Theme-Editor-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/07\/Appearance-Theme-Editor-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Select the website header file (<em>header.php<\/em>) from the left hand-side menu. It may have a different name depending on the theme you are using, but it will always be annotated as<em> header.php<\/em>. Paste the first bit of code between the &lt;head&gt; tags (between &lt;head&gt; and &lt;\/head&gt;, as close to the opening tag as possible), making sure not to disturb any other code. Leave this page open.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"568\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Head.jpg\" class=\"attachment-full size-full\" alt=\"Paste Head\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Head.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Head-300x176.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Head-768x450.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Head-620x363.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Move back to your Google Tag manager page, and copy the other bit of code. Again, leave this page open, you are not done.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"552\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code-2.jpg\" class=\"attachment-full size-full\" alt=\"Get Code 2\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code-2.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code-2-300x171.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code-2-768x437.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Get-Code-2-620x353.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Get back to your theme editor and copy the second bit of code in the body section of your <em>header.php<\/em> file. Again, paste the code between the &lt;body&gt; and &lt;\/body&gt; tags, as close as the opening tag (&lt;body&gt;) as possible, making sure not to disturb any other code. Click <strong>Update File<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"456\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Body.jpg\" class=\"attachment-full size-full\" alt=\"Paste Body\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Body.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Body-300x141.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Body-768x361.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Paste-Body-620x292.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Go back to your Google Tag Manager and click <strong>OK<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"552\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Click-OK.jpg\" class=\"attachment-full size-full\" alt=\"Click OK\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Click-OK.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Click-OK-300x171.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Click-OK-768x437.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Click-OK-620x353.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]And your Google Tag Manager is now all set up, easy as that!<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]One word of warning, though: adding code directly into your theme files will result in your having to add them back each time a theme is updated. To <strong>keep all the changes separate<\/strong>, you will need to <a href=\"https:\/\/qodeinteractive.com\/magazine\/wordpress-create-child-theme\/\">create a child theme<\/a> and <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-install-child-theme-wordpress\/\">install it<\/a> and modify it instead or <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-add-custom-code-to-wordpress\/\">use a plugin to add custom code<\/a> snippets such as these. Note that there is also a way to <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-update-a-wordpress-theme-without-losing-customization\/\">update a WordPress theme without losing customization<\/a>.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"add-tag-using-google-tag-manager\"><\/a>How to Add a Tag Using Google Tag Manager<\/h2>\n<p>[\/vc_column_text][vc_column_text]Once you have set up Google Tag Manager on your WordPress website, you\u2018ll want to add some tags to it.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Now, a tag has two main components: the tag itself, and the trigger. The<strong> tag is a piece of code<\/strong> which integrates analytics functionalities with websites and apps. The<strong> trigger is a set of circumstances under which a tag is active:<\/strong> the situation in which the code is run. A tag can be modified using <strong>variables which further describe and define the operation<\/strong> of the tag.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To get started with a tag, simply click the <strong>Add a new tag<\/strong> button.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"523\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-New-Tag.jpg\" class=\"attachment-full size-full\" alt=\"Add New Tag\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-New-Tag.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-New-Tag-300x162.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-New-Tag-768x415.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-New-Tag-620x335.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Click on the <strong>Tag Configuration<\/strong> area to select a tag.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"510\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Tag-Type.jpg\" class=\"attachment-full size-full\" alt=\"Tag Type\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Tag-Type.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Tag-Type-300x158.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Tag-Type-768x404.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Tag-Type-620x326.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Choose a tag from the right hand-side menu. There are loads to choose from and demonstrating the ins and outs of all of them is beyond the scope of this demonstration. The tags offered in the menu are the ones created and supported by Google, but they do not represent the definitive list. Coding-savvy users can create their own.[\/vc_column_text][vc_empty_space height=&#8221;38px&#8221;][vc_column_text]For the purposes of this demonstration, we will go with <strong>Conversion Linker<\/strong>. This tag is used to track clicks from ads, and you need it to measure the effectiveness of your ads.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"672\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-Linker.jpg\" class=\"attachment-full size-full\" alt=\"Add Linker\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-Linker.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-Linker-300x208.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-Linker-768x533.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Add-Linker-620x430.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Some tags require some other data to work. The <strong>Conversion Linker<\/strong> does not, but it does come with some options. We will leave it as is. Click the <strong>Triggering<\/strong> area to customize it.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"501\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Triggering.jpg\" class=\"attachment-full size-full\" alt=\"Triggering\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Triggering.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Triggering-300x155.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Triggering-768x397.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Triggering-620x321.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]We will select <strong>All Pages<\/strong> so that the tag is active for each page view for all pages of the website, but each tag can have lots of different functions.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/All-Pages.jpg\" class=\"attachment-full size-full\" alt=\"All Pages\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/All-Pages.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/All-Pages-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/All-Pages-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/All-Pages-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You can add exceptions (and other variables) to your trigger, but we won\u2018t be doing that for this demonstration. Instead, we will name our tag <em>Linker<\/em> and click <strong>Save<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Save-Linker.jpg\" class=\"attachment-full size-full\" alt=\"Save Linker\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Save-Linker.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Save-Linker-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Save-Linker-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/11\/Save-Linker-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Of course, this is just the default setup of a tag \u2013 our tag doesn\u2018t do anything actually before it\u2018s fully configured. The 50+ tags offered by Google Tag Manager have a myriad of functionalities and triggers, and we couldn&#8217;t hope to review all of them in the scope of one article.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]We will say, by way of example, that one of the commonest uses for Google Tag Manager is to <a href=\"https:\/\/support.google.com\/tagmanager\/answer\/6107124?hl=en\" target=\"_blank\" rel=\"noopener\">deploy Analytics events<\/a>, but you can also use it to <a href=\"https:\/\/www.facebook.com\/business\/help\/1021909254506499\" target=\"_blank\" rel=\"noopener\">add Facebook Pixel<\/a> (if you don\u2019t want to <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-add-facebook-pixel-to-wordpress\/\">install it using code, a plugin, or a Chrome extension<\/a>) and manage your Facebook marketing efforts. Google Tag Manager can also be used to <a href=\"https:\/\/support.crazyegg.com\/hc\/en-us\/articles\/360056097373-Google-Tag-Manager-Installation-Guide\" target=\"_blank\" rel=\"noopener\">set up CrazyEgg<\/a> to track user behaviour on your website, <a href=\"https:\/\/woocommerce.com\/products\/google-tag-manager-for-woocommerce-pro\/\" target=\"_blank\" rel=\"noopener\">integrated with WooCommerce<\/a> to fine-tune your online store, and that is just a few of the available functionalities.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">In Conclusion<\/h2>\n<p>[\/vc_column_text][vc_column_text]As you can see, setting up Google Tag Manager in WordPress is easy, free, and takes next to no time at all. If you want to leverage Google\u2018s awesome power to help your website reach your intended audience, you can\u2018t afford not to invest some time in it. Google is there whether you like it or not: all you can do is make it work for you more or better than it does for your competition.<br \/>\n[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Tags are essential, but coding is expensive and difficult. Integrate Google Tag Manager with your WordPress website instead, and reap the benefits.<\/p>\n","protected":false},"author":16990,"featured_media":31672,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[81,25,4,13],"class_list":["post-31581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-marketing","tag-google","tag-seo","tag-tips","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/31581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/16990"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=31581"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/31581\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/31672"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=31581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=31581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=31581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}