{"id":10471,"date":"2024-11-10T22:13:28","date_gmt":"2024-11-10T22:13:28","guid":{"rendered":"https:\/\/ceowebltd.com\/blog\/?p=10471"},"modified":"2024-11-10T22:13:28","modified_gmt":"2024-11-10T22:13:28","slug":"how-to-create-a-tag-firing-priority-in-google-tag-manager-2","status":"publish","type":"post","link":"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/","title":{"rendered":"How to create a tag firing priority in Google Tag Manager"},"content":{"rendered":"<p>Creating a tag firing priority in Google Tag Manager (GTM) is an essential aspect of ensuring that tags fire in the correct order on your website or app. GTM allows you to manage tags (such as analytics, marketing, and tracking scripts) in a more organized and efficient manner, giving you control over when and how they are triggered. Firing priority ensures that specific tags are triggered before or after others, which can be crucial for certain tracking implementations.<\/p>\n<p>Here\u2019s a step-by-step guide to creating tag firing priority in Google Tag Manager.<\/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-create-a-tag-firing-priority-in-google-tag-manager-2\/#1_Understanding_Tag_Firing_and_Triggers\" title=\"1. Understanding Tag Firing and Triggers\">1. Understanding Tag Firing and Triggers<\/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-create-a-tag-firing-priority-in-google-tag-manager-2\/#2_Why_Set_Firing_Priority\" title=\"2. Why Set Firing Priority?\">2. Why Set Firing Priority?<\/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-create-a-tag-firing-priority-in-google-tag-manager-2\/#3_Setting_Tag_Firing_Priority_in_Google_Tag_Manager\" title=\"3. Setting Tag Firing Priority in Google Tag Manager\">3. Setting Tag Firing Priority in 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-4\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/#Method_1_Managing_Trigger_Priority_Using_Trigger_Configuration\" title=\"Method 1: Managing Trigger Priority Using Trigger Configuration\">Method 1: Managing Trigger Priority Using Trigger Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/#Method_2_Using_the_%E2%80%9CTag_Firing_Priority%E2%80%9D_Field_in_Custom_HTML_Tags\" title=\"Method 2: Using the \u201cTag Firing Priority\u201d Field in Custom HTML Tags\">Method 2: Using the \u201cTag Firing Priority\u201d Field in Custom HTML Tags<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/#Method_3_Using_the_%E2%80%9CTag_Sequencing%E2%80%9D_Feature\" title=\"Method 3: Using the \u201cTag Sequencing\u201d Feature\">Method 3: Using the \u201cTag Sequencing\u201d Feature<\/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-create-a-tag-firing-priority-in-google-tag-manager-2\/#Method_4_Using_Custom_Events_for_Advanced_Control\" title=\"Method 4: Using Custom Events for Advanced Control\">Method 4: Using Custom Events for Advanced Control<\/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-create-a-tag-firing-priority-in-google-tag-manager-2\/#4_Best_Practices_for_Managing_Tag_Firing_Priority\" title=\"4. Best Practices for Managing Tag Firing Priority\">4. Best Practices for Managing Tag Firing Priority<\/a><\/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-create-a-tag-firing-priority-in-google-tag-manager-2\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"1_Understanding_Tag_Firing_and_Triggers\"><\/span>1. <strong>Understanding Tag Firing and Triggers<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before diving into the details of tag firing priorities, it&#8217;s important to understand the basic concepts of tags and triggers within GTM:<\/p>\n<ul>\n<li><strong>Tags<\/strong>: These are snippets of code, such as JavaScript or tracking pixels, that are triggered based on certain conditions or events on your site. Tags could be for services like Google Analytics, Facebook Pixel, or AdWords.<\/li>\n<li><strong>Triggers<\/strong>: Triggers define when and where a tag should fire. For example, a pageview trigger fires a tag when the page is loaded, and a click trigger fires a tag when a user clicks a button.<\/li>\n<li><strong>Firing Order<\/strong>: Tags can be configured to fire based on the conditions or events defined by triggers. In some cases, you may want certain tags to fire before or after others, especially when dealing with complex setups like conversion tracking or cross-domain tracking.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"2_Why_Set_Firing_Priority\"><\/span>2. <strong>Why Set Firing Priority?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Setting firing priorities is crucial for several reasons:<\/p>\n<ul>\n<li><strong>Avoiding conflicts<\/strong>: Some tags may conflict with each other if fired in the wrong order. For instance, a tag that modifies cookies may need to fire before a Google Analytics tag that reads those cookies.<\/li>\n<li><strong>Accuracy of Data<\/strong>: If a tag depends on another tag firing first (like a remarketing pixel that depends on a Google Analytics event), the order of firing can impact the accuracy of your data collection and reporting.<\/li>\n<li><strong>Performance Optimization<\/strong>: The order in which tags fire can impact the page load time. You may want to ensure that non-essential tags (such as marketing or tracking scripts) fire last, without blocking other important content from loading first.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"3_Setting_Tag_Firing_Priority_in_Google_Tag_Manager\"><\/span>3. <strong>Setting Tag Firing Priority in Google Tag Manager<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Currently, GTM does not provide a direct way to define a firing priority in the same way it allows you to define triggers or variables. However, there are workarounds and best practices that can help you achieve control over the firing order.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Method_1_Managing_Trigger_Priority_Using_Trigger_Configuration\"><\/span><strong>Method 1: Managing Trigger Priority Using Trigger Configuration<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>One common method of setting firing priorities in GTM is by using the <strong>trigger priority<\/strong> feature. Trigger priority helps you control when a tag is fired relative to other tags based on the trigger\u2019s conditions. This is done by setting up custom triggers.<\/p>\n<p><strong>Steps to set trigger priority:<\/strong><\/p>\n<ol>\n<li><strong>Create Tags with Specific Triggers<\/strong>: Each tag should have its own trigger based on the action you want to track (such as pageview, button click, or custom event).<\/li>\n<li><strong>Set Custom Trigger Firing Order<\/strong>:\n<ul>\n<li>Click on <strong>Triggers<\/strong> in the GTM interface.<\/li>\n<li>Select <strong>New Trigger<\/strong>.<\/li>\n<li>Choose the appropriate trigger type, such as <strong>Page View<\/strong> or <strong>Click<\/strong>.<\/li>\n<li>In the <strong>Trigger Configuration<\/strong> section, choose conditions for firing the trigger.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Modify the Trigger\u2019s Firing Order<\/strong>:\n<ul>\n<li><strong>Use built-in variables<\/strong> like <code>{{Page Path}}<\/code>, <code>{{Page URL}}<\/code>, or custom JavaScript variables to control when the trigger fires.<\/li>\n<li>For example, if you want a tag to fire only on the first page view or only after a specific button is clicked, create a custom event trigger and configure it to fire only when the condition is met.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Manage Multiple Triggers for the Same Tag<\/strong>: You can apply multiple triggers for a single tag, which can help control when the tag fires based on different conditions. If you need a tag to fire at different stages of page load or after specific user interactions, multiple triggers can be helpful.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Method_2_Using_the_%E2%80%9CTag_Firing_Priority%E2%80%9D_Field_in_Custom_HTML_Tags\"><\/span><strong>Method 2: Using the \u201cTag Firing Priority\u201d Field in Custom HTML Tags<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>For custom HTML tags, you can implement a <strong>firing priority<\/strong> by using JavaScript code to control the flow of events. The <strong>window.dataLayer.push()<\/strong> command can be used to define when data is passed to the data layer, triggering subsequent tags.<\/p>\n<p><strong>Steps to set up firing priority using custom HTML tags:<\/strong><\/p>\n<ol>\n<li><strong>Create Custom HTML Tags<\/strong>:\n<ul>\n<li>Navigate to <strong>Tags<\/strong> and select <strong>New<\/strong>.<\/li>\n<li>Choose <strong>Tag Configuration<\/strong> and select <strong>Custom HTML<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Add Custom JavaScript for Prioritization<\/strong>:\n<ul>\n<li>Inside the tag, use JavaScript to define the order in which the tags will fire. For example, you can ensure that the page tracking tag is fired before the remarketing pixel.<\/li>\n<li>Example JavaScript code snippet:\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">javascript<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\">Copy code<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-javascript\"><span class=\"hljs-variable language_\">window<\/span>.<span class=\"hljs-title function_\">addEventListener<\/span>(<span class=\"hljs-string\">'load'<\/span>, <span class=\"hljs-keyword\">function<\/span>() {<br \/>\n    <span class=\"hljs-comment\">\/\/ Tag 1 fires first (pageview tracking)<\/span><br \/>\n    dataLayer.<span class=\"hljs-title function_\">push<\/span>({ <span class=\"hljs-attr\">event<\/span>: <span class=\"hljs-string\">'pageview'<\/span> });<\/p>\n<p>    <span class=\"hljs-comment\">\/\/ Tag 2 fires after Tag 1<\/span><br \/>\n    <span class=\"hljs-built_in\">setTimeout<\/span>(<span class=\"hljs-keyword\">function<\/span>() {<br \/>\n       dataLayer.<span class=\"hljs-title function_\">push<\/span>({ <span class=\"hljs-attr\">event<\/span>: <span class=\"hljs-string\">'remarketing'<\/span> });<br \/>\n    }, <span class=\"hljs-number\">500<\/span>);  <span class=\"hljs-comment\">\/\/ 500 milliseconds delay<\/span><br \/>\n});<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<\/ul>\n<p>This ensures that Tag 1 (pageview tracking) fires first, and Tag 2 (remarketing) fires with a slight delay, after Tag 1 is completed.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Method_3_Using_the_%E2%80%9CTag_Sequencing%E2%80%9D_Feature\"><\/span><strong>Method 3: Using the \u201cTag Sequencing\u201d Feature<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>In Google Tag Manager, <strong>Tag Sequencing<\/strong> allows you to define when one tag should fire before or after another. This can be very useful when managing complex tags that depend on the firing order. This feature is available for certain tag types like Google Analytics and other integrated tags.<\/p>\n<p><strong>Steps to use tag sequencing<\/strong>:<\/p>\n<ol>\n<li><strong>Open the Tag Configuration<\/strong>:\n<ul>\n<li>In GTM, go to <strong>Tags<\/strong> and select the tag you want to configure.<\/li>\n<li>Click on <strong>Tag Configuration<\/strong> and scroll to the <strong>Advanced Settings<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Enable Tag Sequencing<\/strong>:\n<ul>\n<li>Under <strong>Advanced Settings<\/strong>, find the <strong>Tag Sequencing<\/strong> section.<\/li>\n<li>Check the option for <strong>Fire a tag before or after this tag<\/strong>.<\/li>\n<li>Specify the tag you want to fire before or after.<\/li>\n<\/ul>\n<p>For example, if you want your Google Analytics pageview tag to fire before your Facebook Pixel tag, you can set the Facebook Pixel tag to fire after the Google Analytics tag.<\/li>\n<li><strong>Set Delays (Optional)<\/strong>:\n<ul>\n<li>You can also set a delay for the next tag to fire by specifying the delay time in milliseconds. This is useful for ensuring that non-essential tags, like marketing pixels, do not block the loading of important content.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Method_4_Using_Custom_Events_for_Advanced_Control\"><\/span><strong>Method 4: Using Custom Events for Advanced Control<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>For more granular control over firing order, consider using custom events within the data layer. Custom events provide a way to specify exactly when a tag should fire based on specific user actions or conditions.<\/p>\n<p><strong>Steps to use custom events<\/strong>:<\/p>\n<ol>\n<li><strong>Push Custom Events into the Data Layer<\/strong>:\n<ul>\n<li>In the code of your website, push custom events into the data layer to trigger specific actions.<\/li>\n<li>Example:\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">javascript<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><span class=\"\" data-state=\"closed\"><button class=\"flex gap-1 items-center select-none py-1\">Copy code<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-javascript\"><span class=\"hljs-variable language_\">window<\/span>.<span class=\"hljs-property\">dataLayer<\/span> = <span class=\"hljs-variable language_\">window<\/span>.<span class=\"hljs-property\">dataLayer<\/span> || [];<br \/>\n<span class=\"hljs-variable language_\">window<\/span>.<span class=\"hljs-property\">dataLayer<\/span>.<span class=\"hljs-title function_\">push<\/span>({ <span class=\"hljs-attr\">event<\/span>: <span class=\"hljs-string\">'customEvent'<\/span> });<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>Create Custom Event Triggers<\/strong>:\n<ul>\n<li>In GTM, create a trigger based on the custom event by selecting the <strong>Custom Event<\/strong> trigger type.<\/li>\n<li>Specify the event name (e.g., <code>customEvent<\/code>) that corresponds to the event pushed into the data layer.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Prioritize Tag Firing with Custom Events<\/strong>:\n<ul>\n<li>You can use multiple custom events to control the firing order by ensuring that one event pushes the next tag to fire.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"4_Best_Practices_for_Managing_Tag_Firing_Priority\"><\/span>4. <strong>Best Practices for Managing Tag Firing Priority<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Prioritize Critical Tags First<\/strong>: Tags that are essential for tracking conversions (e.g., Google Analytics, AdWords) should fire early, while marketing pixels or less critical tags can fire later.<\/li>\n<li><strong>Minimize Conflicts<\/strong>: Ensure that tags that affect the same elements (such as cookies or local storage) do not conflict with each other.<\/li>\n<li><strong>Use Tag Sequencing for Important Dependencies<\/strong>: If one tag depends on the successful firing of another, always use GTM\u2019s tag sequencing or custom events to ensure the correct order.<\/li>\n<li><strong>Test Before Deployment<\/strong>: Always test your setup in the GTM Preview mode to confirm that tags fire in the correct order without causing issues.<\/li>\n<li><strong>Monitor Performance<\/strong>: Be mindful of the impact that tag firing order may have on the performance of your website. Non-essential tags should be delayed to prevent any interference with page loading.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Creating a tag firing priority in Google Tag Manager requires an understanding of how tags and triggers work, and how to leverage advanced features like custom triggers, tag sequencing, and custom events. While GTM doesn\u2019t provide a direct priority setting, using these techniques can give you fine-grained control over when and how your tags fire, improving your website\u2019s performance and ensuring accurate data collection.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating a tag firing priority in Google Tag Manager (GTM) is an essential aspect of ensuring that tags fire in the correct order on your&#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-10471","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 create a tag firing priority in 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-create-a-tag-firing-priority-in-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 create a tag firing priority in Google Tag Manager - CEOweb Ltd. Blog\" \/>\n<meta property=\"og:description\" content=\"Creating a tag firing priority in Google Tag Manager (GTM) is an essential aspect of ensuring that tags fire in the correct order on your...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/\" \/>\n<meta property=\"og:site_name\" content=\"CEOweb Ltd. Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-10T22:13:28+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=\"6 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-create-a-tag-firing-priority-in-google-tag-manager-2\/\",\"url\":\"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/\",\"name\":\"How to create a tag firing priority in Google Tag Manager - CEOweb Ltd. Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\"},\"datePublished\":\"2024-11-10T22:13:28+00:00\",\"dateModified\":\"2024-11-10T22:13:28+00:00\",\"author\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\"},\"breadcrumb\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ceowebltd.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create a tag firing priority in 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 create a tag firing priority in 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-create-a-tag-firing-priority-in-google-tag-manager-2\/","og_locale":"en_US","og_type":"article","og_title":"How to create a tag firing priority in Google Tag Manager - CEOweb Ltd. Blog","og_description":"Creating a tag firing priority in Google Tag Manager (GTM) is an essential aspect of ensuring that tags fire in the correct order on your...","og_url":"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/","og_site_name":"CEOweb Ltd. Blog","article_published_time":"2024-11-10T22:13:28+00:00","author":"Emmanuel","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Emmanuel","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/","url":"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/","name":"How to create a tag firing priority in Google Tag Manager - CEOweb Ltd. Blog","isPartOf":{"@id":"https:\/\/ceowebltd.com\/blog\/#website"},"datePublished":"2024-11-10T22:13:28+00:00","dateModified":"2024-11-10T22:13:28+00:00","author":{"@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f"},"breadcrumb":{"@id":"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ceowebltd.com\/blog\/how-to-create-a-tag-firing-priority-in-google-tag-manager-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ceowebltd.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to create a tag firing priority in 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\/10471","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=10471"}],"version-history":[{"count":1,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10471\/revisions"}],"predecessor-version":[{"id":10472,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10471\/revisions\/10472"}],"wp:attachment":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/media?parent=10471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/categories?post=10471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/tags?post=10471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}