{"id":10683,"date":"2024-11-18T21:45:21","date_gmt":"2024-11-18T21:45:21","guid":{"rendered":"https:\/\/ceowebltd.com\/blog\/?p=10683"},"modified":"2024-11-18T21:45:21","modified_gmt":"2024-11-18T21:45:21","slug":"how-to-track-ad-blocker-usage-with-google-tag-manager","status":"publish","type":"post","link":"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/","title":{"rendered":"How to track ad blocker usage with Google Tag Manager"},"content":{"rendered":"<p>Ad blockers are increasingly common tools that allow users to block unwanted advertisements from appearing while browsing the internet. While these tools provide benefits for users, they pose challenges for marketers and website owners who rely on advertising revenue and data collection. Understanding how many visitors to your site are using ad blockers can help you adjust your strategies for content delivery, marketing, and monetization.<\/p>\n<p>One of the most effective ways to track ad blocker usage on your website is through <strong>Google Tag Manager (GTM)<\/strong>, a tag management system that allows you to add, manage, and deploy marketing tags on your website without modifying the code directly. In this article, we&#8217;ll discuss how to track ad blocker usage with Google Tag Manager by utilizing custom events and trigger mechanisms.<\/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-track-ad-blocker-usage-with-google-tag-manager\/#1_Understanding_the_Basics_Ad_Blocker_Detection\" title=\"1. Understanding the Basics: Ad Blocker Detection\">1. Understanding the Basics: Ad Blocker Detection<\/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-track-ad-blocker-usage-with-google-tag-manager\/#2_Why_Track_Ad_Blocker_Usage\" title=\"2. Why Track Ad Blocker Usage?\">2. Why Track Ad Blocker Usage?<\/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-track-ad-blocker-usage-with-google-tag-manager\/#3_Setting_Up_Google_Tag_Manager_for_Ad_Blocker_Detection\" title=\"3. Setting Up Google Tag Manager for Ad Blocker Detection\">3. Setting Up Google Tag Manager for Ad Blocker Detection<\/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-track-ad-blocker-usage-with-google-tag-manager\/#Step_1_Create_a_Custom_HTML_Tag_in_GTM_to_Detect_Ads\" title=\"Step 1: Create a Custom HTML Tag in GTM to Detect Ads\">Step 1: Create a Custom HTML Tag in GTM to Detect Ads<\/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-track-ad-blocker-usage-with-google-tag-manager\/#Step_2_Create_a_Trigger_for_the_Ad_Blocker_Detection_Event\" title=\"Step 2: Create a Trigger for the Ad Blocker Detection Event\">Step 2: Create a Trigger for the Ad Blocker Detection Event<\/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-track-ad-blocker-usage-with-google-tag-manager\/#Step_3_Push_Ad_Blocker_Detection_Data_to_the_Data_Layer\" title=\"Step 3: Push Ad Blocker Detection Data to the Data Layer\">Step 3: Push Ad Blocker Detection Data to the Data Layer<\/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-track-ad-blocker-usage-with-google-tag-manager\/#Step_4_Create_a_Trigger_to_Fire_on_Ad_Blocker_Detection\" title=\"Step 4: Create a Trigger to Fire on Ad Blocker Detection\">Step 4: Create a Trigger to Fire on Ad Blocker Detection<\/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-track-ad-blocker-usage-with-google-tag-manager\/#Step_5_Publish_and_Test\" title=\"Step 5: Publish and Test\">Step 5: Publish and Test<\/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-track-ad-blocker-usage-with-google-tag-manager\/#4_Analyzing_the_Data\" title=\"4. Analyzing the Data\">4. Analyzing the Data<\/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-track-ad-blocker-usage-with-google-tag-manager\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"1_Understanding_the_Basics_Ad_Blocker_Detection\"><\/span>1. <strong>Understanding the Basics: Ad Blocker Detection<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Before diving into the setup process, it\u2019s important to understand the core principles behind ad blocker detection. Ad blockers work by preventing specific content (typically ads) from loading on a webpage. Many ad blockers rely on blocking requests for known ad-serving domains or blocking specific HTML elements like <code>iframe<\/code> or <code>script<\/code> tags that contain ads.<\/p>\n<p>Detecting ad blockers typically involves looking for blocked resources or failures in loading ads. For example, if an ad fails to load, this could indicate that an ad blocker is in use.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Why_Track_Ad_Blocker_Usage\"><\/span>2. <strong>Why Track Ad Blocker Usage?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>There are several reasons why tracking ad blocker usage is crucial:<\/p>\n<ul>\n<li><strong>Revenue Impact<\/strong>: Ad blockers can prevent your ads from being displayed to visitors, thus reducing ad revenue. Understanding how many of your users are using ad blockers can help you identify revenue gaps.<\/li>\n<li><strong>User Behavior<\/strong>: If a significant number of users are blocking ads, this could indicate a problem with the way your ads are being served. You might want to optimize your ad experience or consider alternate monetization strategies.<\/li>\n<li><strong>Content Strategy<\/strong>: Knowing that visitors are blocking ads allows you to deliver different types of content or offers to these users. For instance, you might promote an ad-free subscription model to users who block ads.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"3_Setting_Up_Google_Tag_Manager_for_Ad_Blocker_Detection\"><\/span>3. <strong>Setting Up Google Tag Manager for Ad Blocker Detection<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To track ad blocker usage using Google Tag Manager, we\u2019ll focus on two primary strategies:<\/p>\n<ol>\n<li><strong>Detecting the presence of an ad element<\/strong> that would normally be blocked by ad blockers.<\/li>\n<li><strong>Implementing a fallback mechanism<\/strong> to detect if the ad element did not load or was blocked.<\/li>\n<\/ol>\n<p>Let&#8217;s walk through the steps for both approaches:<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Step_1_Create_a_Custom_HTML_Tag_in_GTM_to_Detect_Ads\"><\/span>Step 1: <strong>Create a Custom HTML Tag in GTM to Detect Ads<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Google Tag Manager allows you to add custom HTML tags, which can be used to detect blocked ad elements. For this example, we\u2019ll add an invisible ad container to your webpage and check if it loads successfully.<\/p>\n<ol>\n<li><strong>Log into Google Tag Manager<\/strong>: Go to your Google Tag Manager account and select the container for the website you want to track.<\/li>\n<li><strong>Add a Custom HTML Tag<\/strong>:\n<ul>\n<li>In the GTM dashboard, go to the <strong>Tags<\/strong> section and click <strong>New<\/strong>.<\/li>\n<li>Choose <strong>Custom HTML<\/strong> as the tag type.<\/li>\n<li>Insert the following script into the HTML box:<\/li>\n<\/ul>\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\">html<\/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-html\"><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">script<\/span>&gt;<\/span><span class=\"javascript\"><br \/>\n  <span class=\"hljs-keyword\">var<\/span> adBlockTest = <span class=\"hljs-variable language_\">document<\/span>.<span class=\"hljs-title function_\">createElement<\/span>(<span class=\"hljs-string\">'div'<\/span>);<br \/>\n  adBlockTest.<span class=\"hljs-property\">innerHTML<\/span> = <span class=\"hljs-string\">'&amp;nbsp;'<\/span>;<br \/>\n  adBlockTest.<span class=\"hljs-property\">className<\/span> = <span class=\"hljs-string\">'adsbox'<\/span>;<br \/>\n  <span class=\"hljs-variable language_\">document<\/span>.<span class=\"hljs-property\">body<\/span>.<span class=\"hljs-title function_\">appendChild<\/span>(adBlockTest);<\/p>\n<p>  <span class=\"hljs-keyword\">if<\/span> (adBlockTest.<span class=\"hljs-property\">offsetHeight<\/span> === <span class=\"hljs-number\">0<\/span>) {<br \/>\n    <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>({<br \/>\n      <span class=\"hljs-string\">'event'<\/span>: <span class=\"hljs-string\">'adBlockDetected'<\/span><br \/>\n    });<br \/>\n  }<\/p>\n<p>  adBlockTest.<span class=\"hljs-title function_\">remove<\/span>();<br \/>\n<\/span><span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">script<\/span>&gt;<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p>This script creates an element on the page that has the class <code>adsbox<\/code>. Ad blockers commonly block such elements or prevent them from rendering, so by checking the <code>offsetHeight<\/code> property, you can determine if the ad element has been blocked.<\/li>\n<li><strong>Save the Tag<\/strong>: After inserting the script, save the tag.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_2_Create_a_Trigger_for_the_Ad_Blocker_Detection_Event\"><\/span>Step 2: <strong>Create a Trigger for the Ad Blocker Detection Event<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>The next step is to create a trigger that will fire the custom HTML tag. We want this tag to fire when the page loads.<\/p>\n<ol>\n<li><strong>Create a Trigger<\/strong>:\n<ul>\n<li>In GTM, go to <strong>Triggers<\/strong> and click <strong>New<\/strong>.<\/li>\n<li>Choose <strong>Page View<\/strong> as the trigger type.<\/li>\n<li>Select <strong>All Pages<\/strong> to fire the trigger on every page, or choose specific pages if you want to track ad blockers on only certain pages.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Save the Trigger<\/strong>: After configuring the trigger, save it and associate it with the custom HTML tag.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_3_Push_Ad_Blocker_Detection_Data_to_the_Data_Layer\"><\/span>Step 3: <strong>Push Ad Blocker Detection Data to the Data Layer<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>In the previous step, we included a script that pushes an event to the data layer when ad blockers are detected. The event name is <code>'adBlockDetected'<\/code>. Now, we need to listen for this event within GTM to track it.<\/p>\n<ol>\n<li><strong>Create a New Variable<\/strong>:\n<ul>\n<li>Go to <strong>Variables<\/strong> in GTM and click <strong>New<\/strong>.<\/li>\n<li>Choose <strong>Data Layer Variable<\/strong> as the variable type.<\/li>\n<li>In the <strong>Data Layer Variable Name<\/strong> field, enter <code>event<\/code>.<\/li>\n<li>Set the variable to pull the event name from the data layer.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Save the Variable<\/strong>: After configuring the variable, save it.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_4_Create_a_Trigger_to_Fire_on_Ad_Blocker_Detection\"><\/span>Step 4: <strong>Create a Trigger to Fire on Ad Blocker Detection<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>To track the event when ad blockers are detected, we need to create another trigger that will fire when the <code>adBlockDetected<\/code> event is pushed to the data layer.<\/p>\n<ol>\n<li><strong>Create a Custom Event Trigger<\/strong>:\n<ul>\n<li>In GTM, go to <strong>Triggers<\/strong> and click <strong>New<\/strong>.<\/li>\n<li>Choose <strong>Custom Event<\/strong> as the trigger type.<\/li>\n<li>In the <strong>Event Name<\/strong> field, enter <code>'adBlockDetected'<\/code>.<\/li>\n<li>Set the trigger to fire on all custom event matches.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Associate the Trigger with the Tag<\/strong>: Create a new tag (or use an existing one) that sends data to Google Analytics or another analytics platform when the event fires. This could be a Google Analytics event tag that tracks the occurrence of ad blocker usage.<\/li>\n<\/ol>\n<h4><span class=\"ez-toc-section\" id=\"Step_5_Publish_and_Test\"><\/span>Step 5: <strong>Publish and Test<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>After completing the setup, test the implementation to ensure everything is working correctly. Use the <strong>Preview Mode<\/strong> in Google Tag Manager to confirm that the ad blocker detection script fires properly and the event is pushed to the data layer. You can also use browser tools like <strong>Developer Tools<\/strong> or <strong>AdBlocker Plus<\/strong> to verify that the tag behaves as expected when ad blockers are active.<\/p>\n<p>Once confirmed, publish the changes in GTM.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Analyzing_the_Data\"><\/span>4. <strong>Analyzing the Data<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Once the data collection is live, you can track ad blocker usage in your analytics platform. If you&#8217;re using <strong>Google Analytics<\/strong>, you can monitor custom events triggered by the <code>adBlockDetected<\/code> event. This will give you insights into the number of users who are blocking ads on your website.<\/p>\n<p>To gain actionable insights from the data, you can:<\/p>\n<ul>\n<li>Compare the number of ad-blocking users across different pages or traffic sources.<\/li>\n<li>Look for patterns that could indicate a larger issue, such as specific ads being blocked or higher rates of ad blocking among certain demographics.<\/li>\n<li>Consider testing alternative monetization models, such as offering ad-free subscriptions or adjusting the way ads are served.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Tracking ad blocker usage with Google Tag Manager is a practical way for website owners and marketers to understand how many of their visitors are blocking ads. By using custom HTML tags and data layer events, you can accurately track the presence of ad blockers and take appropriate actions to optimize your monetization strategies. Understanding this data can help you adjust your advertising, content, and user experience strategies to ensure you&#8217;re meeting the needs of all your visitors, whether they use ad blockers or not.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ad blockers are increasingly common tools that allow users to block unwanted advertisements from appearing while browsing the internet. While these tools provide benefits for&#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-10683","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 track ad blocker usage 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-track-ad-blocker-usage-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 track ad blocker usage with Google Tag Manager - CEOweb Ltd. Blog\" \/>\n<meta property=\"og:description\" content=\"Ad blockers are increasingly common tools that allow users to block unwanted advertisements from appearing while browsing the internet. While these tools provide benefits for...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"CEOweb Ltd. Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-18T21:45:21+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-track-ad-blocker-usage-with-google-tag-manager\/\",\"url\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/\",\"name\":\"How to track ad blocker usage with Google Tag Manager - CEOweb Ltd. Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#website\"},\"datePublished\":\"2024-11-18T21:45:21+00:00\",\"dateModified\":\"2024-11-18T21:45:21+00:00\",\"author\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f\"},\"breadcrumb\":{\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ceowebltd.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to track ad blocker usage 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 track ad blocker usage 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-track-ad-blocker-usage-with-google-tag-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to track ad blocker usage with Google Tag Manager - CEOweb Ltd. Blog","og_description":"Ad blockers are increasingly common tools that allow users to block unwanted advertisements from appearing while browsing the internet. While these tools provide benefits for...","og_url":"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/","og_site_name":"CEOweb Ltd. Blog","article_published_time":"2024-11-18T21:45:21+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-track-ad-blocker-usage-with-google-tag-manager\/","url":"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/","name":"How to track ad blocker usage with Google Tag Manager - CEOweb Ltd. Blog","isPartOf":{"@id":"https:\/\/ceowebltd.com\/blog\/#website"},"datePublished":"2024-11-18T21:45:21+00:00","dateModified":"2024-11-18T21:45:21+00:00","author":{"@id":"https:\/\/ceowebltd.com\/blog\/#\/schema\/person\/4759c204c0b0f1d134ec16e8ec777a6f"},"breadcrumb":{"@id":"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ceowebltd.com\/blog\/how-to-track-ad-blocker-usage-with-google-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ceowebltd.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to track ad blocker usage 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\/10683","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=10683"}],"version-history":[{"count":1,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10683\/revisions"}],"predecessor-version":[{"id":10684,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/posts\/10683\/revisions\/10684"}],"wp:attachment":[{"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/media?parent=10683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/categories?post=10683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ceowebltd.com\/blog\/wp-json\/wp\/v2\/tags?post=10683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}