{"id":10079,"date":"2024-10-18T12:40:07","date_gmt":"2024-10-18T12:40:07","guid":{"rendered":"https:\/\/ceowebltd.com\/blog\/?p=10079"},"modified":"2024-10-18T12:40:07","modified_gmt":"2024-10-18T12:40:07","slug":"how-to-set-up-event-tracking-with-google-tag-manager-2","status":"publish","type":"post","link":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/","title":{"rendered":"How to set up event tracking with Google Tag Manager"},"content":{"rendered":"<p>Setting up <strong>event tracking<\/strong> in <strong>Google Tag Manager (GTM)<\/strong> is essential for monitoring user interactions on your website. Event tracking allows you to capture specific actions, such as button clicks, form submissions, video plays, downloads, and more. This data can be sent to <strong>Google Analytics (GA)<\/strong> or other tools to help you understand how users engage with your content.<\/p>\n<p>Here\u2019s a comprehensive guide to setting up event tracking with GTM:<\/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-event-tracking-with-google-tag-manager-2\/#Step_1_Set_Up_Google_Tag_Manager_on_Your_Website\" title=\"Step 1: Set Up Google Tag Manager on Your Website\">Step 1: Set Up Google Tag Manager on Your Website<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#Step_2_Identify_the_Event_You_Want_to_Track\" title=\"Step 2: Identify the Event You Want to Track\">Step 2: Identify the Event You Want to Track<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#Step_3_Enable_Built-in_Variables\" title=\"Step 3: Enable Built-in Variables\">Step 3: Enable Built-in Variables<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#Step_4_Create_a_Trigger_for_the_Event\" title=\"Step 4: Create a Trigger for the Event\">Step 4: Create a Trigger for the Event<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#Example_Track_Button_Clicks\" title=\"Example: Track Button Clicks\">Example: Track Button Clicks<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#Step_5_Create_a_Tag_to_Send_the_Event_Data\" title=\"Step 5: Create a Tag to Send the Event Data\">Step 5: Create a Tag to Send the Event Data<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#For_Google_Analytics_4_GA4_Users\" title=\"For Google Analytics 4 (GA4) Users:\">For Google Analytics 4 (GA4) Users:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#For_Universal_Analytics_UA_Users\" title=\"For Universal Analytics (UA) Users:\">For Universal Analytics (UA) Users:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#Step_6_Test_the_Event_Tracking_in_Preview_Mode\" title=\"Step 6: Test the Event Tracking in Preview Mode\">Step 6: Test the Event Tracking in Preview Mode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#Step_7_Publish_Your_Changes\" title=\"Step 7: Publish Your Changes\">Step 7: Publish Your Changes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#Step_8_View_Event_Data_in_Google_Analytics\" title=\"Step 8: View Event Data in Google Analytics\">Step 8: View Event Data in Google Analytics<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#For_Google_Analytics_4_GA4_Users-2\" title=\"For Google Analytics 4 (GA4) Users:\">For Google Analytics 4 (GA4) Users:<\/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-event-tracking-with-google-tag-manager-2\/#For_Universal_Analytics_UA_Users-2\" title=\"For Universal Analytics (UA) Users:\">For Universal Analytics (UA) Users:<\/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-event-tracking-with-google-tag-manager-2\/#Step_9_Advanced_Event_Tracking_Options\" title=\"Step 9: Advanced Event Tracking Options\">Step 9: Advanced Event Tracking Options<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Set_Up_Google_Tag_Manager_on_Your_Website\"><\/span>Step 1: Set Up Google Tag Manager on Your Website<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before tracking any events, ensure that GTM is properly installed on your website. If GTM is not yet installed:<\/p>\n<ol>\n<li><strong>Create a GTM Account<\/strong>: Go to <a href=\"https:\/\/tagmanager.google.com\/\" target=\"_new\" rel=\"noopener\">Google Tag Manager<\/a> and create an account if you don\u2019t already have one.<\/li>\n<li><strong>Create a Container<\/strong>: Set up a container for your website and GTM will provide you with two pieces of code.<\/li>\n<li><strong>Install GTM Code<\/strong>: Add the code snippets to the <code>&lt;head&gt;<\/code> and <code>&lt;body&gt;<\/code> sections of your website\u2019s HTML.<\/li>\n<\/ol>\n<p>Once GTM is set up, you can proceed with event tracking.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Identify_the_Event_You_Want_to_Track\"><\/span>Step 2: Identify the Event You Want to Track<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Decide what type of user interactions you want to track. Common events include:<\/p>\n<ul>\n<li>Button clicks<\/li>\n<li>Link clicks<\/li>\n<li>File downloads<\/li>\n<li>Video plays<\/li>\n<li>Form submissions<\/li>\n<li>Scroll depth<\/li>\n<li>Social media shares<\/li>\n<\/ul>\n<p>Each of these actions can be tracked using GTM\u2019s built-in triggers and variables.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Enable_Built-in_Variables\"><\/span>Step 3: Enable Built-in Variables<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before setting up event tracking, you need to enable GTM\u2019s built-in variables to capture useful data about user interactions.<\/p>\n<ol>\n<li><strong>Open GTM<\/strong>: Log in to your GTM account and open the container for your website.<\/li>\n<li><strong>Go to Variables<\/strong>: On the left-side menu, click <strong>Variables<\/strong>.<\/li>\n<li><strong>Configure Built-in Variables<\/strong>: Scroll down and click <strong>Configure<\/strong> under the Built-in Variables section.<\/li>\n<li><strong>Enable Click Variables<\/strong>: Check the following variables related to clicks:\n<ul>\n<li>Click Element<\/li>\n<li>Click Classes<\/li>\n<li>Click ID<\/li>\n<li>Click Target<\/li>\n<li>Click Text<\/li>\n<li>Click URL<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>These variables help you capture key details about the clicked element, such as its ID, class, text, or URL.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Create_a_Trigger_for_the_Event\"><\/span>Step 4: Create a Trigger for the Event<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A trigger in GTM is a condition that tells GTM when to fire a tag. To track an event, you need to define a trigger based on the action you want to track.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Example_Track_Button_Clicks\"><\/span>Example: Track Button Clicks<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li><strong>Go to Triggers<\/strong>: In GTM, click on <strong>Triggers<\/strong> from the left menu.<\/li>\n<li><strong>Create a New Trigger<\/strong>: Click <strong>New<\/strong> to create a trigger.<\/li>\n<li><strong>Trigger Configuration<\/strong>:\n<ul>\n<li><strong>Trigger Type<\/strong>: Select <strong>Click \u2013 All Elements<\/strong> (for tracking clicks on any element).<\/li>\n<li><strong>Trigger for Some Clicks<\/strong>: Choose <strong>Some Clicks<\/strong> if you want to track a specific button or element. This is where you\u2019ll define the trigger conditions, such as:\n<ul>\n<li><strong>Click Classes<\/strong> equals \u201ccta-button\u201d (to track a button with a specific class name).<\/li>\n<li><strong>Click ID<\/strong> equals \u201cdownload-btn\u201d (to track a button by its ID).<\/li>\n<li><strong>Click Text<\/strong> contains \u201cSubmit\u201d (to track a button with a specific text label).<\/li>\n<\/ul>\n<\/li>\n<li><strong>Trigger for All Clicks<\/strong>: Alternatively, select <strong>All Clicks<\/strong> if you want to track every click on your website.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Save<\/strong>: Name the trigger (e.g., \u201cButton Click Trigger\u201d) and save it.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Create_a_Tag_to_Send_the_Event_Data\"><\/span>Step 5: Create a Tag to Send the Event Data<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you have a trigger, you need to create a tag that sends the event data to Google Analytics or another analytics tool.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"For_Google_Analytics_4_GA4_Users\"><\/span>For Google Analytics 4 (GA4) Users:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li><strong>Go to Tags<\/strong>: Click on <strong>Tags<\/strong> from the left-side menu.<\/li>\n<li><strong>Create a New Tag<\/strong>: Click <strong>New<\/strong> to create a new tag.<\/li>\n<li><strong>Tag Configuration<\/strong>:\n<ul>\n<li><strong>Tag Type<\/strong>: Select <strong>Google Analytics: GA4 Event<\/strong>.<\/li>\n<li><strong>Configuration Tag<\/strong>: Choose your GA4 configuration tag, or if you don\u2019t have one set up yet, create it by entering your <strong>Measurement ID<\/strong> (found in GA under Admin &gt; Data Streams).<\/li>\n<li><strong>Event Name<\/strong>: Name the event something descriptive, like \u201cbutton_click\u201d or \u201ccta_click.\u201d<\/li>\n<\/ul>\n<\/li>\n<li><strong>Add Event Parameters<\/strong>: You can add custom event parameters to provide more context about the interaction. Common parameters include:\n<ul>\n<li><strong>Button Text<\/strong>: Set the value to <strong>{{Click Text}}<\/strong>.<\/li>\n<li><strong>Button URL<\/strong>: Set the value to <strong>{{Click URL}}<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Assign the Trigger<\/strong>: Attach the trigger you created earlier (e.g., \u201cButton Click Trigger\u201d).<\/li>\n<li><strong>Save the Tag<\/strong>.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"For_Universal_Analytics_UA_Users\"><\/span>For Universal Analytics (UA) Users:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li><strong>Go to Tags<\/strong>: Click on <strong>Tags<\/strong> from the left menu.<\/li>\n<li><strong>Create a New Tag<\/strong>: Click <strong>New<\/strong> to create a new tag.<\/li>\n<li><strong>Tag Configuration<\/strong>:\n<ul>\n<li><strong>Tag Type<\/strong>: Select <strong>Google Analytics: Universal Analytics<\/strong>.<\/li>\n<li><strong>Track Type<\/strong>: Choose <strong>Event<\/strong>.<\/li>\n<li><strong>Event Tracking Parameters<\/strong>:\n<ul>\n<li><strong>Category<\/strong>: Enter a descriptive category, such as \u201cButton Click.\u201d<\/li>\n<li><strong>Action<\/strong>: Enter \u201cClick\u201d or another action that describes the interaction.<\/li>\n<li><strong>Label<\/strong>: Use <strong>{{Click Text}}<\/strong> or <strong>{{Click URL}}<\/strong> to capture information about the clicked element.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Google Analytics Settings<\/strong>: Select your Google Analytics tracking ID.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Assign the Trigger<\/strong>: Attach the trigger you created earlier (e.g., \u201cButton Click Trigger\u201d).<\/li>\n<li><strong>Save the Tag<\/strong>.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_6_Test_the_Event_Tracking_in_Preview_Mode\"><\/span>Step 6: Test the Event Tracking in Preview Mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before you publish your changes, it\u2019s important to test your event tracking setup to ensure everything works as expected.<\/p>\n<ol>\n<li><strong>Enable Preview Mode<\/strong>: In GTM, click the <strong>Preview<\/strong> button at the top-right corner of the screen. This will open a new tab where you can enter your website URL.<\/li>\n<li><strong>Test the Event<\/strong>: Interact with the elements on your website (e.g., click the button you want to track). In the GTM Debugger window, you should see the event trigger under the <strong>Tags Fired<\/strong> section.<\/li>\n<li><strong>Verify Variables<\/strong>: Check that the appropriate variables (e.g., Click Text, Click URL) are being passed correctly in the debugger.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_7_Publish_Your_Changes\"><\/span>Step 7: Publish Your Changes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once you\u2019ve confirmed that event tracking is working correctly:<\/p>\n<ol>\n<li>Exit Preview Mode.<\/li>\n<li>Click <strong>Submit<\/strong> in GTM.<\/li>\n<li>Provide a name and description for the version (e.g., \u201cEvent Tracking for Button Clicks\u201d).<\/li>\n<li>Click <strong>Publish<\/strong> to push the changes live.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_8_View_Event_Data_in_Google_Analytics\"><\/span>Step 8: View Event Data in Google Analytics<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once the tag is live, the event data will be sent to Google Analytics.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"For_Google_Analytics_4_GA4_Users-2\"><\/span>For Google Analytics 4 (GA4) Users:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Log in to your Google Analytics account.<\/li>\n<li>Navigate to <strong>Reports<\/strong> \u2192 <strong>Engagement<\/strong> \u2192 <strong>Events<\/strong>.<\/li>\n<li>Look for your custom event (e.g., \u201cbutton_click\u201d) to see how often the event was triggered.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"For_Universal_Analytics_UA_Users-2\"><\/span>For Universal Analytics (UA) Users:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ol>\n<li>Log in to your Google Analytics account.<\/li>\n<li>Navigate to <strong>Behavior<\/strong> \u2192 <strong>Events<\/strong> \u2192 <strong>Overview<\/strong>.<\/li>\n<li>Look for your event category (e.g., &#8220;Button Click&#8221;) to view event data.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_9_Advanced_Event_Tracking_Options\"><\/span>Step 9: Advanced Event Tracking Options<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You can further customize event tracking in Google Tag Manager by:<\/p>\n<ul>\n<li><strong>Tracking Different Types of Events<\/strong>: Repeat the steps for different interactions like video plays, form submissions, or file downloads.<\/li>\n<li><strong>Customizing Event Parameters<\/strong>: Capture more specific details about the event by passing additional variables or static values.<\/li>\n<li><strong>Using Auto-Event Listeners<\/strong>: GTM has built-in event listeners for scroll tracking, form submissions, and more, which can make tracking these events easier.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Event tracking in <strong>Google Tag Manager<\/strong> allows you to monitor user interactions and gain valuable insights into how visitors engage with your website. By following these steps, you can easily set up event tracking for various user actions, send that data to Google Analytics, and use it to optimize your website\u2019s performance and user experience. GTM\u2019s flexibility and ease of use make it a powerful tool for event tracking and web analytics.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up event tracking in Google Tag Manager (GTM) is essential for monitoring user interactions on your website. Event tracking allows you to capture specific&#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-10079","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 event 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-event-tracking-with-google-tag-manager-2\/\" \/>\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 event tracking with Google Tag Manager - CEOweb Ltd. Blog\" \/>\n<meta property=\"og:description\" content=\"Setting up event tracking in Google Tag Manager (GTM) is essential for monitoring user interactions on your website. Event tracking allows you to capture specific...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/\" \/>\n<meta property=\"og:site_name\" content=\"CEOweb Ltd. Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-18T12:40:07+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=\"5 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-event-tracking-with-google-tag-manager-2\/\",\"url\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/\",\"name\":\"How to set up event tracking with Google Tag Manager - CEOweb Ltd. Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\"},\"datePublished\":\"2024-10-18T12:40:07+00:00\",\"dateModified\":\"2024-10-18T12:40:07+00:00\",\"author\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\"},\"breadcrumb\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ceowebltd.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up event 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 event 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-event-tracking-with-google-tag-manager-2\/","og_locale":"en_US","og_type":"article","og_title":"How to set up event tracking with Google Tag Manager - CEOweb Ltd. Blog","og_description":"Setting up event tracking in Google Tag Manager (GTM) is essential for monitoring user interactions on your website. Event tracking allows you to capture specific...","og_url":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/","og_site_name":"CEOweb Ltd. Blog","article_published_time":"2024-10-18T12:40:07+00:00","author":"Emmanuel","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Emmanuel","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/","url":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/","name":"How to set up event tracking with Google Tag Manager - CEOweb Ltd. Blog","isPartOf":{"@id":"https:\/\/ceowebltd.com\/blog\/#website"},"datePublished":"2024-10-18T12:40:07+00:00","dateModified":"2024-10-18T12:40:07+00:00","author":{"@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f"},"breadcrumb":{"@id":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ceowebltd.com\/blog\/how-to-set-up-event-tracking-with-google-tag-manager-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ceowebltd.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to set up event 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\/10079","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=10079"}],"version-history":[{"count":1,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10079\/revisions"}],"predecessor-version":[{"id":10080,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10079\/revisions\/10080"}],"wp:attachment":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/media?parent=10079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/categories?post=10079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/tags?post=10079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}