{"id":3709,"date":"2023-05-24T17:49:19","date_gmt":"2023-05-24T16:49:19","guid":{"rendered":"https:\/\/www.names.co.uk\/support\/?post_type=ht_kb&#038;p=3709"},"modified":"2023-06-15T11:32:29","modified_gmt":"2023-06-15T10:32:29","slug":"how-to-simplify-cookie-blocking-with-google-tag-manager","status":"publish","type":"ht_kb","link":"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/","title":{"rendered":"How to simplify cookie blocking with Google Tag Manager"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Why do I need to block cookies?<\/h2>\n\n\n\n<p>The General Data Protection Regulation (GDPR) requires websites to obtain informed consent from users before using cookies that are not essential for the website&#8217;s basic functioning. This is called Prior Blocking and ensures that users have control over their personal information by allowing them to decide whether or not they want non-essential cookies to be placed on their devices. It is an important step in protecting user privacy and complying with data protection regulations.<\/p>\n\n\n\n<p>In this article you will learn how to setup Prior Blocking using Google Tag Manager and how to add a new tag that is only activated when the visitor has clicked to accept cookies on your iubenda cookie banner.<\/p>\n\n\n\n<div class=\"wp-block-nco-caution-block\"><p class=\"nco-caution-block-content\"><strong>Note:<\/strong> To follow through the guide, you will need to have already created a Google Account and have setup Google Tag Manager. If you haven\u2019t completed those steps, Google themselves have easy-to-follow guides that can help you:<br><br><a href=\"https:\/\/support.google.com\/accounts\/answer\/27441?hl=en\">Creating a Google Account<\/a><br><a href=\"https:\/\/support.google.com\/tagmanager\/answer\/6103696?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">Setting up Google Tag Manager<\/a><br><br>If you are trying to install iubenda on your WordPress website, follow <a href=\"https:\/\/www.names.co.uk\/support\/?post_type=ht_kb&amp;p=3742\" target=\"_blank\" rel=\"noreferrer noopener\">this guide<\/a> instead.<\/p><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is Google Tag Manager?<\/strong><\/h2>\n\n\n\n<p>Google Tag Manager is a tool that helps website owners manage and control various tracking codes and scripts on their website. It simplifies the process of adding and updating code snippets, such as tracking pixels, analytics tags, or advertising tags.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What is a tag?<\/strong><\/h3>\n\n\n\n<p>A tag is a small piece of code that is placed on the pages of your website to collect valuable information about what actions your visitors are taking. The information gathered by the tag is then sent to tools like Google Analytics, to help you understand your visitors\u2019 behaviour and make informed decisions for your site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to add a new Tag<\/strong><\/h2>\n\n\n\n<p>In this example, we will setup a tag for Google Analytics 4 tracking, but you can follow the same process for any tag that you might need to use on your website.<\/p>\n\n\n\n<p>Firstly, log in to your Google Tag Manager dashboard and click <strong>\u2018Add a new tag\u2019<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"562\" src=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp\" alt=\"\" class=\"wp-image-3713\" srcset=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp 1024w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard-300x165.webp 300w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard-768x422.webp 768w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard-50x27.webp 50w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click on the <strong>Tag configuration window<\/strong> as seen in the image below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"601\" src=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Tag-configuration-1024x601.png\" alt=\"\" class=\"wp-image-3714\" srcset=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Tag-configuration-1024x601.png 1024w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Tag-configuration-300x176.png 300w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Tag-configuration-768x451.png 768w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Tag-configuration-50x29.png 50w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Tag-configuration.png 1061w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select the tag you want to setup. For this example, we are adding <strong>Google Analytics: GA4 Configuration<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"967\" src=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Analytics-4-1024x967.png\" alt=\"\" class=\"wp-image-3715\" srcset=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Analytics-4-1024x967.png 1024w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Analytics-4-300x283.png 300w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Analytics-4-768x726.png 768w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Analytics-4-50x47.png 50w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Analytics-4.png 1321w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Configure the tag<\/strong><\/h2>\n\n\n\n<p>You will now need to enter the necessary details into the Tag Configuration screen.<\/p>\n\n\n\n<p>In this example we need to add the <strong>Measurement ID<\/strong> (e.g, G-A2ABC2ABCD) for our GA4 property (available once you have <a href=\"https:\/\/support.google.com\/analytics\/answer\/9304153?hl=en\">setup your website in Google Analytics<\/a>), then we click the blue \u2018Save\u2019 button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"568\" src=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Configure-the-tag-1024x568.png\" alt=\"\" class=\"wp-image-3716\" srcset=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Configure-the-tag-1024x568.png 1024w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Configure-the-tag-300x166.png 300w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Configure-the-tag-768x426.png 768w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Configure-the-tag-50x28.png 50w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Configure-the-tag.png 1040w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Adding triggers<\/strong><\/h2>\n\n\n\n<p>Now that we have setup the tag, we must set these triggers that will allow the tag to activate and the visitor\u2019s activities on our site to be tracked:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iubenda_consent_given \niubenda_preference_not_needed\n<\/code><\/pre>\n\n\n\n<div class=\"wp-block-nco-caution-block\"><p class=\"nco-caution-block-content\"><strong>Advanced Setup:<\/strong> If you\u2019ve enabled the per-category consent feature on your Privacy Controls and Cookie Solution, instead of the <em>iubenda_consent_given<\/em> event, you\u2019ll have to create a custom event for each purpose you display on your cookie banner\/policy (with the exception of the \u201cNecessary\u201d purpose). More information on setting those triggers up can be found <a href=\"https:\/\/www.iubenda.com\/en\/help\/1235-google-tag-manager-blocking-cookies\">here<\/a>.<br><br>If you\u2019re implementing Google Consent Mode, skip this step and jump to the installation guide.<\/p><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Add the <em>iubenda_consent_given<\/em> trigger<\/strong><\/h3>\n\n\n\n<p>Click on the <strong>\u201cTriggering\u201d<\/strong> section below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"953\" height=\"549\" src=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-given.png\" alt=\"\" class=\"wp-image-3718\" srcset=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-given.png 953w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-given-300x173.png 300w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-given-768x442.png 768w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-given-50x29.png 50w\" sizes=\"auto, (max-width: 953px) 100vw, 953px\" \/><\/figure>\n\n\n\n<p>Then click on the little <strong>plus sign<\/strong> on the top right to add a new Trigger. Now, in the trigger configuration window, select <strong>Custom Event<\/strong> (quick note here: please be sure NOT to select \u201cAll Pages\u201d as a trigger).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"942\" height=\"775\" src=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/trigger-type.webp\" alt=\"\" class=\"wp-image-3719\" srcset=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/trigger-type.webp 942w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/trigger-type-300x247.webp 300w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/trigger-type-768x632.webp 768w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/trigger-type-50x41.webp 50w\" sizes=\"auto, (max-width: 942px) 100vw, 942px\" \/><\/figure>\n\n\n\n<p>For event name please input the following value: <em>iubenda_consent_given<\/em>. This will activate the trigger on All Custom Events labelled Consent Given.<\/p>\n\n\n\n<p>Save the trigger by clicking on &#8216;<strong>Save<\/strong>&#8216;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"373\" src=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/save-trigger-1024x373.webp\" alt=\"\" class=\"wp-image-3721\" srcset=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/save-trigger-1024x373.webp 1024w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/save-trigger-300x109.webp 300w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/save-trigger-768x279.webp 768w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/save-trigger-50x18.webp 50w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/save-trigger.webp 1135w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Add the <em>iubenda_preference_not_needed<\/em> trigger<\/strong><\/h3>\n\n\n\n<p>Follow the same steps to create another trigger called <em>iubenda_preference_not_needed<\/em>, that fires whenever a preference is not needed (for example when GDPR does not apply or the user is based outside the EU).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"378\" src=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-not-needed-1024x378.png\" alt=\"\" class=\"wp-image-3722\" srcset=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-not-needed-1024x378.png 1024w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-not-needed-300x111.png 300w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-not-needed-768x283.png 768w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-not-needed-50x18.png 50w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/consent-not-needed.png 1379w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-nco-caution-block\"><p class=\"nco-caution-block-content\"><strong>Note:<\/strong> If the CCPA applies to you, you will need to add an exception rule, to disable the relevant cookies when the user opts out. More information on setting up that trigger can be found <a href=\"https:\/\/www.iubenda.com\/en\/help\/1235-google-tag-manager-blocking-cookies\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/p><\/div>\n\n\n\n<p>Now that the triggers have been added, your Google Analytics: GA4 Configuration tag will look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"480\" src=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/image-1024x480.png\" alt=\"\" class=\"wp-image-3725\" srcset=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/image-1024x480.png 1024w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/image-300x141.png 300w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/image-768x360.png 768w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/image-50x23.png 50w, https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/image.png 1443w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click on <strong>&#8216;Save&#8217;<\/strong> to save the new tag.<\/p>\n\n\n\n<div class=\"wp-block-nco-warning-block\"><p class=\"nco-warning-block-content\">The previous example assumes that you\u2019re firing the tag on all pages of your site, if you\u2019d like to have a tag fire on just one page (eg. Shopping Cart page) see the <a href=\"https:\/\/www.iubenda.com\/en\/help\/1235-google-tag-manager-blocking-cookies#advanced\">advanced section here<\/a>.<\/p><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Summary <\/strong><\/h2>\n\n\n\n<p>Now that you have completed all the steps in this guide, you have setup Prior Blocking and created a tag for Google Analytics 4, that will only activate when:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\">\n<li>The visitor has agreed to the use of cookies<\/li>\n\n\n\n<li>GDPR does not apply to the visitor or they are based outside of the EU.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Next Steps<\/strong><\/h2>\n\n\n\n<p>If there are any additional tags that you need to create, follow this process again to add the new tag to your Google Tag Manager dashboard.<\/p>\n\n\n\n<p>Once you have setup all of your tags, your next step will be to install the iuebenda Privacy Controls and Cookie Solution on your website, so that visitors can accept or reject cookies. We have a guide to take you through that process that is available <a href=\"https:\/\/www.names.co.uk\/support\/?post_type=ht_kb&amp;p=3727\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-dots\"\/>\n\n\n\n<p>If you have any questions, please <a href=\"https:\/\/admin.names.co.uk\/tech_support\/tracking\/add.php\">raise a support request<\/a> from within your Online Control Panel or call us on <strong>0345 363 364<\/strong> and our customer support team will be happy to help.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why do I need to block cookies? The General Data Protection Regulation (GDPR) requires websites to obtain informed consent from users before using cookies that are not essential for the website&#8217;s basic functioning. This is called Prior Blocking and ensures that users have control over their personal information by allowing them to decide whether or [&hellip;]<\/p>\n","protected":false},"author":19,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[227,219],"ht-kb-tag":[],"class_list":["post-3709","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-embedding-your-tools","ht_kb_category-online-compliance"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to simplify cookie blocking with Google Tag Manager - Support Centre - names.co.uk<\/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:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to simplify cookie blocking with Google Tag Manager - Support Centre - names.co.uk\" \/>\n<meta property=\"og:description\" content=\"Why do I need to block cookies? The General Data Protection Regulation (GDPR) requires websites to obtain informed consent from users before using cookies that are not essential for the website&#8217;s basic functioning. This is called Prior Blocking and ensures that users have control over their personal information by allowing them to decide whether or [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"Support Centre - names.co.uk\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/namesco\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-15T10:32:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@namesco\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/\",\"url\":\"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/\",\"name\":\"How to simplify cookie blocking with Google Tag Manager - Support Centre - names.co.uk\",\"isPartOf\":{\"@id\":\"https:\/\/www.names.co.uk\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp\",\"datePublished\":\"2023-05-24T16:49:19+00:00\",\"dateModified\":\"2023-06-15T10:32:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#primaryimage\",\"url\":\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp\",\"contentUrl\":\"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp\",\"width\":1024,\"height\":562},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.names.co.uk\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to simplify cookie blocking with Google Tag Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.names.co.uk\/support\/#website\",\"url\":\"https:\/\/www.names.co.uk\/support\/\",\"name\":\"Support Centre - names.co.uk\",\"description\":\"names.co.uk Support Centre\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.names.co.uk\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to simplify cookie blocking with Google Tag Manager - Support Centre - names.co.uk","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:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/","og_locale":"en_GB","og_type":"article","og_title":"How to simplify cookie blocking with Google Tag Manager - Support Centre - names.co.uk","og_description":"Why do I need to block cookies? The General Data Protection Regulation (GDPR) requires websites to obtain informed consent from users before using cookies that are not essential for the website&#8217;s basic functioning. This is called Prior Blocking and ensures that users have control over their personal information by allowing them to decide whether or [&hellip;]","og_url":"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/","og_site_name":"Support Centre - names.co.uk","article_publisher":"https:\/\/www.facebook.com\/namesco","article_modified_time":"2023-06-15T10:32:29+00:00","og_image":[{"url":"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@namesco","twitter_misc":{"Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/","url":"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/","name":"How to simplify cookie blocking with Google Tag Manager - Support Centre - names.co.uk","isPartOf":{"@id":"https:\/\/www.names.co.uk\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#primaryimage"},"image":{"@id":"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp","datePublished":"2023-05-24T16:49:19+00:00","dateModified":"2023-06-15T10:32:29+00:00","breadcrumb":{"@id":"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#primaryimage","url":"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp","contentUrl":"https:\/\/www.names.co.uk\/support\/wp-content\/uploads\/2023\/05\/Google-Tag-Manager-dashboard.webp","width":1024,"height":562},{"@type":"BreadcrumbList","@id":"https:\/\/www.names.co.uk\/support\/articles\/how-to-simplify-cookie-blocking-with-google-tag-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.names.co.uk\/support\/"},{"@type":"ListItem","position":2,"name":"How to simplify cookie blocking with Google Tag Manager"}]},{"@type":"WebSite","@id":"https:\/\/www.names.co.uk\/support\/#website","url":"https:\/\/www.names.co.uk\/support\/","name":"Support Centre - names.co.uk","description":"names.co.uk Support Centre","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.names.co.uk\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb\/3709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/comments?post=3709"}],"version-history":[{"count":9,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb\/3709\/revisions"}],"predecessor-version":[{"id":3774,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb\/3709\/revisions\/3774"}],"wp:attachment":[{"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/media?parent=3709"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb-category?post=3709"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.names.co.uk\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=3709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}