{"id":10049,"date":"2024-10-16T23:14:23","date_gmt":"2024-10-16T23:14:23","guid":{"rendered":"https:\/\/ceowebltd.com\/blog\/?p=10049"},"modified":"2024-10-16T23:14:23","modified_gmt":"2024-10-16T23:14:23","slug":"how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager","status":"publish","type":"post","link":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/","title":{"rendered":"How to set up and deploy Google Analytics tracking with Google Tag Manager"},"content":{"rendered":"<p>Setting up and deploying Google Analytics tracking with Google Tag Manager (GTM) allows you to easily manage your tracking codes without modifying your website&#8217;s code directly. This process involves creating a Google Analytics account, configuring it in GTM, and then deploying the tracking tag on your website. Here\u2019s a step-by-step guide on how to do it.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#1_Create_a_Google_Analytics_Account\" title=\"1. Create a Google Analytics Account\">1. Create a Google Analytics Account<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_1_Sign_Up_for_Google_Analytics\" title=\"Step 1: Sign Up for Google Analytics\">Step 1: Sign Up for Google Analytics<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_2_Create_a_Property\" title=\"Step 2: Create a Property\">Step 2: Create a Property<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_3_Get_the_Tracking_ID\" title=\"Step 3: Get the Tracking ID\">Step 3: Get the Tracking ID<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#2_Set_Up_Google_Tag_Manager\" title=\"2. Set Up Google Tag Manager\">2. Set Up Google Tag Manager<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_1_Create_a_GTM_Account_and_Container\" title=\"Step 1: Create a GTM Account and Container\">Step 1: Create a GTM Account and Container<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_2_Install_GTM_Code_on_Your_Website\" title=\"Step 2: Install GTM Code on Your Website\">Step 2: Install GTM Code on Your Website<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#3_Create_a_Google_Analytics_Tag_in_GTM\" title=\"3. Create a Google Analytics Tag in GTM\">3. Create a Google Analytics Tag in GTM<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_1_Access_Your_GTM_Workspace\" title=\"Step 1: Access Your GTM Workspace\">Step 1: Access Your GTM Workspace<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_2_Create_a_New_Tag\" title=\"Step 2: Create a New Tag\">Step 2: Create a New Tag<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_3_Configure_the_Tag\" title=\"Step 3: Configure the Tag\">Step 3: Configure the Tag<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_4_Set_Up_Triggers\" title=\"Step 4: Set Up Triggers\">Step 4: Set Up Triggers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_5_Save_the_Tag\" title=\"Step 5: Save the Tag\">Step 5: Save the Tag<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#4_Preview_and_Test_Your_Tag\" title=\"4. Preview and Test Your Tag\">4. Preview and Test Your Tag<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_1_Enter_Preview_Mode\" title=\"Step 1: Enter Preview Mode\">Step 1: Enter Preview Mode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_2_Check_Tag_Firing\" title=\"Step 2: Check Tag Firing\">Step 2: Check Tag Firing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_3_Verify_Data_in_Google_Analytics\" title=\"Step 3: Verify Data in Google Analytics\">Step 3: Verify Data in Google Analytics<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#5_Publish_Your_Changes\" title=\"5. Publish Your Changes\">5. Publish Your Changes<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Step_1_Submit_Changes\" title=\"Step 1: Submit Changes\">Step 1: Submit Changes<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#6_Additional_Tags_and_Configurations\" title=\"6. Additional Tags and Configurations\">6. Additional Tags and Configurations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#7_Best_Practices\" title=\"7. Best Practices\">7. Best Practices<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"1_Create_a_Google_Analytics_Account\"><\/span>1. Create a Google Analytics Account<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you don\u2019t already have a Google Analytics account, you\u2019ll need to create one.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_Sign_Up_for_Google_Analytics\"><\/span>Step 1: Sign Up for Google Analytics<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Go to the <a href=\"https:\/\/analytics.google.com\/\" target=\"_new\" rel=\"noopener\">Google Analytics website<\/a>.<\/li>\n<li>Click on \u201cStart for free\u201d and sign in with your Google account.<\/li>\n<li>Click on \u201cSet up for free\u201d and follow the prompts.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_2_Create_a_Property\"><\/span>Step 2: Create a Property<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>After creating your account, you will be prompted to set up a property.<\/li>\n<li>Enter the property name (usually your website\u2019s name), select your reporting time zone, and currency.<\/li>\n<li>Click \u201cNext\u201d and fill in the additional information about your business.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_3_Get_the_Tracking_ID\"><\/span>Step 3: Get the Tracking ID<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Once the property is created, you will be taken to the property setup page.<\/li>\n<li>You\u2019ll find a &#8220;Web&#8221; option\u2014click on it.<\/li>\n<li>Enter your website URL and name, and click \u201cCreate Stream.\u201d<\/li>\n<li>After creating the stream, you\u2019ll receive a Measurement ID (e.g., <code>G-XXXXXXXXXX<\/code> for GA4 or a tracking ID like <code>UA-XXXXXXXXX-X<\/code> for Universal Analytics). Save this ID; you\u2019ll need it later.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"2_Set_Up_Google_Tag_Manager\"><\/span>2. Set Up Google Tag Manager<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you haven\u2019t already set up Google Tag Manager, follow these steps:<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_Create_a_GTM_Account_and_Container\"><\/span>Step 1: Create a GTM Account and Container<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Go to the <a href=\"https:\/\/tagmanager.google.com\/\" target=\"_new\" rel=\"noopener\">Google Tag Manager website<\/a>.<\/li>\n<li>Click \u201cSign Up for Free\u201d and log in with your Google account.<\/li>\n<li>Create a new account, enter your account name, and select your country.<\/li>\n<li>Create a container, name it after your website, and select \u201cWeb\u201d for where to use it.<\/li>\n<li>Click \u201cCreate\u201d and accept the terms of service.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_2_Install_GTM_Code_on_Your_Website\"><\/span>Step 2: Install GTM Code on Your Website<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>After creating your container, you\u2019ll see two code snippets (one for the <code>&lt;head&gt;<\/code> section and one for the <code>&lt;body&gt;<\/code> section).<\/li>\n<li>Copy and paste these snippets into your website&#8217;s HTML as explained in the previous guide.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"3_Create_a_Google_Analytics_Tag_in_GTM\"><\/span>3. Create a Google Analytics Tag in GTM<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you have both Google Analytics and GTM set up, you can create a tag in GTM to send data to Google Analytics.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_Access_Your_GTM_Workspace\"><\/span>Step 1: Access Your GTM Workspace<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Log in to your GTM account and select the container associated with your website.<\/li>\n<li>Click on \u201cWorkspace\u201d to enter the main workspace.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_2_Create_a_New_Tag\"><\/span>Step 2: Create a New Tag<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Click on \u201cTags\u201d in the left sidebar.<\/li>\n<li>Click the \u201cNew\u201d button to create a new tag.<\/li>\n<li>Name your tag (e.g., \u201cGA &#8211; Universal Analytics\u201d or \u201cGA4 &#8211; Page View\u201d).<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_3_Configure_the_Tag\"><\/span>Step 3: Configure the Tag<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Click on \u201cTag Configuration.\u201d<\/li>\n<li>Select the tag type:\n<ul>\n<li>For <strong>Universal Analytics<\/strong>:\n<ul>\n<li>Choose \u201cGoogle Analytics: Universal Analytics.\u201d<\/li>\n<li>Set \u201cTrack Type\u201d to \u201cPage View.\u201d<\/li>\n<li>Enter your Tracking ID (e.g., <code>UA-XXXXXXXXX-X<\/code>).<\/li>\n<\/ul>\n<\/li>\n<li>For <strong>Google Analytics 4<\/strong>:\n<ul>\n<li>Choose \u201cGoogle Analytics: GA4 Configuration.\u201d<\/li>\n<li>Enter your Measurement ID (e.g., <code>G-XXXXXXXXXX<\/code>).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_4_Set_Up_Triggers\"><\/span>Step 4: Set Up Triggers<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Click on \u201cTriggering\u201d to select when the tag should fire.<\/li>\n<li>Click the \u201c+\u201d button to create a new trigger.<\/li>\n<li>Choose \u201cPage View\u201d as the trigger type.<\/li>\n<li>Configure the trigger to fire on \u201cAll Page Views\u201d (or customize based on your needs).<\/li>\n<li>Save your trigger and return to the tag configuration.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_5_Save_the_Tag\"><\/span>Step 5: Save the Tag<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>After configuring the tag and triggers, click the \u201cSave\u201d button to save your tag.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"4_Preview_and_Test_Your_Tag\"><\/span>4. Preview and Test Your Tag<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before deploying your tag, it\u2019s important to test it to ensure it\u2019s working correctly.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_Enter_Preview_Mode\"><\/span>Step 1: Enter Preview Mode<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>In GTM, click on the \u201cPreview\u201d button in the upper right corner.<\/li>\n<li>Enter your website\u2019s URL and click \u201cConnect.\u201d This will open a new tab with your website in preview mode.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_2_Check_Tag_Firing\"><\/span>Step 2: Check Tag Firing<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Navigate through your website in the preview mode.<\/li>\n<li>The GTM debugger pane at the bottom will show which tags are firing.<\/li>\n<li>Ensure your Google Analytics tag is firing on page views as expected.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_3_Verify_Data_in_Google_Analytics\"><\/span>Step 3: Verify Data in Google Analytics<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Go to your Google Analytics account.<\/li>\n<li>Open the &#8220;Realtime&#8221; reports to see if your visits are being tracked.<\/li>\n<li>Check if your page views are recorded as you navigate your site.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"5_Publish_Your_Changes\"><\/span>5. Publish Your Changes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you\u2019ve confirmed that the Google Analytics tag is working correctly, you can publish your changes in GTM.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_Submit_Changes\"><\/span>Step 1: Submit Changes<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>In GTM, click on the \u201cSubmit\u201d button in the upper right corner.<\/li>\n<li>Provide a version name and a description (e.g., \u201cInitial GA Setup\u201d).<\/li>\n<li>Click \u201cPublish\u201d to make your changes live.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"6_Additional_Tags_and_Configurations\"><\/span>6. Additional Tags and Configurations<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can set up additional tags to track specific events (like button clicks, form submissions, etc.) using similar methods:<\/p>\n<ol>\n<li>Create a new tag for each event you want to track.<\/li>\n<li>Configure the tag type according to the event (e.g., \u201cEvent\u201d for specific actions).<\/li>\n<li>Set up the appropriate triggers for those events.<\/li>\n<li>Test and publish as needed.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"7_Best_Practices\"><\/span>7. Best Practices<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Use Clear Naming Conventions:<\/strong> Use descriptive names for tags, triggers, and variables for easy identification.<\/li>\n<li><strong>Document Changes:<\/strong> Keep a change log in GTM to track what modifications have been made and when.<\/li>\n<li><strong>Regular Testing:<\/strong> Periodically test tags to ensure they\u2019re firing correctly as your website evolves.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Setting up Google Analytics tracking through Google Tag Manager simplifies the management of tracking codes and allows for more flexibility in tracking user interactions on your website. By following the steps outlined above, you can effectively deploy Google Analytics and ensure you are gathering valuable insights into user behavior, helping you make data-driven decisions for your business.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up and deploying Google Analytics tracking with Google Tag Manager (GTM) allows you to easily manage your tracking codes without modifying your website&#8217;s code&#8230;<\/p>\n","protected":false},"author":214,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10049","post","type-post","status-publish","format-standard","hentry","category-digital-marketing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to set up and deploy Google Analytics tracking with Google Tag Manager - CEOweb Ltd. Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up and deploy Google Analytics tracking with Google Tag Manager - CEOweb Ltd. Blog\" \/>\n<meta property=\"og:description\" content=\"Setting up and deploying Google Analytics tracking with Google Tag Manager (GTM) allows you to easily manage your tracking codes without modifying your website&#8217;s code...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"CEOweb Ltd. Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-16T23:14:23+00:00\" \/>\n<meta name=\"author\" content=\"Emmanuel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Emmanuel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/\",\"url\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/\",\"name\":\"How to set up and deploy Google Analytics tracking with Google Tag Manager - CEOweb Ltd. Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\"},\"datePublished\":\"2024-10-16T23:14:23+00:00\",\"dateModified\":\"2024-10-16T23:14:23+00:00\",\"author\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\"},\"breadcrumb\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ceowebltd.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up and deploy Google Analytics tracking with Google Tag Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\",\"url\":\"https:\/\/ceowebltd.com\/blog\/\",\"name\":\"CEOweb Ltd. Blog\",\"description\":\"Guest Posting - Digital Marketing &amp; Web Services\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ceowebltd.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\",\"name\":\"Emmanuel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g\",\"caption\":\"Emmanuel\"},\"url\":\"https:\/\/ceowebltd.com\/blog\/author\/emmanuel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up and deploy Google Analytics tracking with Google Tag Manager - CEOweb Ltd. Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to set up and deploy Google Analytics tracking with Google Tag Manager - CEOweb Ltd. Blog","og_description":"Setting up and deploying Google Analytics tracking with Google Tag Manager (GTM) allows you to easily manage your tracking codes without modifying your website&#8217;s code...","og_url":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/","og_site_name":"CEOweb Ltd. Blog","article_published_time":"2024-10-16T23:14:23+00:00","author":"Emmanuel","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Emmanuel","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/","url":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/","name":"How to set up and deploy Google Analytics tracking with Google Tag Manager - CEOweb Ltd. Blog","isPartOf":{"@id":"https:\/\/ceowebltd.com\/blog\/#website"},"datePublished":"2024-10-16T23:14:23+00:00","dateModified":"2024-10-16T23:14:23+00:00","author":{"@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f"},"breadcrumb":{"@id":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-and-deploy-google-analytics-tracking-with-google-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ceowebltd.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to set up and deploy Google Analytics tracking with Google Tag Manager"}]},{"@type":"WebSite","@id":"https:\/\/ceowebltd.com\/blog\/#website","url":"https:\/\/ceowebltd.com\/blog\/","name":"CEOweb Ltd. Blog","description":"Guest Posting - Digital Marketing &amp; Web Services","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ceowebltd.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f","name":"Emmanuel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9e883d40261b9b272de51992551b3eec4df631b7579a4fbec69c36a006dcbaf2?s=96&d=mm&r=g","caption":"Emmanuel"},"url":"https:\/\/ceowebltd.com\/blog\/author\/emmanuel\/"}]}},"_links":{"self":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/users\/214"}],"replies":[{"embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/comments?post=10049"}],"version-history":[{"count":1,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10049\/revisions"}],"predecessor-version":[{"id":10050,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10049\/revisions\/10050"}],"wp:attachment":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/media?parent=10049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/categories?post=10049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/tags?post=10049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}