{"id":17048,"date":"2024-01-29T10:21:13","date_gmt":"2024-01-29T09:21:13","guid":{"rendered":"https:\/\/www.welaunch.io\/en\/?post_type=faq&#038;p=17048"},"modified":"2024-02-06T18:15:54","modified_gmt":"2024-02-06T17:15:54","slug":"wp-gdpr-google-consent-mode-v2","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/wp-gdpr-google-consent-mode-v2\/","title":{"rendered":"WordPress GDPR Google Consent Mode V2 Upgrade"},"content":{"rendered":"<div class=\"row\"  id=\"row-1762346037\">\n\n\t<div id=\"col-1473324688\" class=\"col medium-7 small-12 large-7\"  >\n\t\t\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n<p>The Google Consent mode is not fairly new, but since the V2 will be required in March 2024 for some services like Adwords Remarketing, it becomes more important to comply with it. With <a href=\"https:\/\/support.google.com\/analytics\/answer\/9976101\" target=\"_blank\" rel=\"noopener\">Google Consent Mode V2<\/a> WordPress owners need to add additional parameters to their GA4 or Adwords tracking based on users preferences. These are:<\/p>\n<ul>\n<li>ad_user_data<\/li>\n<li>ad_personalization<\/li>\n<\/ul>\n<p>For more technical details see the <a href=\"https:\/\/developers.google.com\/tag-platform\/security\/guides\/consent?hl=de#gtag.js\" target=\"_blank\" rel=\"noopener\">Upgrade Guide<\/a>. But no worries! Our<a href=\"https:\/\/www.welaunch.io\/en\/product\/wordpress-gdpr\/\"> WordPress GPDR plugin<\/a> has already covered all these requirements.<\/p>\n<p>However you need to adjust some settings in our plugin. We have 2 guides, one when using tag manager and when not using the tag manager. Please follow the one you need (we recommend using Tag Manager).<\/p>\n<p><strong>Since V2.0.1: Enable consent mode V2 in general settings.<\/strong><\/p>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n\n\t<div id=\"col-1454863954\" class=\"col medium-5 small-12 large-5\"  >\n\t\t\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_1761955023\">\n\t\t<a class=\"image-lightbox lightbox-gallery\" title=\"\" href=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/enable-consent-mode-v2-support.png\">\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"447\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/enable-consent-mode-v2-support-1024x449.png\" class=\"attachment-large size-large\" alt=\"enable consent mode v2 support\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/enable-consent-mode-v2-support-1024x449.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/enable-consent-mode-v2-support-300x132.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/enable-consent-mode-v2-support-768x337.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/enable-consent-mode-v2-support-1536x673.png 1536w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/enable-consent-mode-v2-support-600x263.png 600w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/enable-consent-mode-v2-support-510x224.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/enable-consent-mode-v2-support.png 2012w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/a>\t\t\n<style>\n#image_1761955023 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n<\/div>\n<h2>When using NO Google Tag Manager<\/h2>\n<div class=\"row\"  id=\"row-483972980\">\n\n\t<div id=\"col-318742453\" class=\"col medium-9 small-12 large-9\"  >\n\t\t\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n<ol>\n<li>Update to latest version 2.0.0 (preferable in a staging site first)<\/li>\n<li>Open the services page<\/li>\n<li>Open Google Analytics \/ Google Remarketing \/ Adwords service<\/li>\n<li>Enable the checkboxes &#8220;is google Analytics \/ Adwords?&#8221;)<\/li>\n<li>Save<\/li>\n<\/ol>\n<p>That is it. When a user accepts the Analytics service for example, the new consents will be adjusted.<\/p>\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_119046854\">\n\t\t<a class=\"image-lightbox lightbox-gallery\" title=\"\" href=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/google-consent-mode-v2-states.png\">\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"312\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/google-consent-mode-v2-states-1024x313.png\" class=\"attachment-large size-large\" alt=\"google consent mode v2 states\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/google-consent-mode-v2-states-1024x313.png 1024w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/google-consent-mode-v2-states-300x92.png 300w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/google-consent-mode-v2-states-768x235.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/google-consent-mode-v2-states-1536x470.png 1536w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/google-consent-mode-v2-states-2048x627.png 2048w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/google-consent-mode-v2-states-600x184.png 600w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/google-consent-mode-v2-states-510x156.png 510w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/a>\t\t\n<style>\n#image_119046854 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n\n\t<div id=\"col-1095550802\" class=\"col medium-3 small-12 large-3\"  >\n\t\t\t\t<div class=\"col-inner\"  >\n\t\t\t\n\t\t\t\n\t<div class=\"img has-hover x md-x lg-x y md-y lg-y\" id=\"image_645001609\">\n\t\t<a class=\"image-lightbox lightbox-gallery\" title=\"\" href=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/wordpress-check-google-analytics-service.png\">\t\t\t\t\t\t<div class=\"img-inner dark\" >\n\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"685\" height=\"1024\" src=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/wordpress-check-google-analytics-service-685x1024.png\" class=\"attachment-large size-large\" alt=\"wordpress check google analytics service\" srcset=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/wordpress-check-google-analytics-service-685x1024.png 685w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/wordpress-check-google-analytics-service-201x300.png 201w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/wordpress-check-google-analytics-service-768x1148.png 768w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/wordpress-check-google-analytics-service-1027x1536.png 1027w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/wordpress-check-google-analytics-service-600x897.png 600w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/wordpress-check-google-analytics-service-510x763.png 510w, https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/wordpress-check-google-analytics-service.png 1280w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/>\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/a>\t\t\n<style>\n#image_645001609 {\n  width: 100%;\n}\n<\/style>\n\t<\/div>\n\t\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\n<\/div>\n<h2>When using Google Tag Manager<\/h2>\n<p>Please watch this video Guide below.<\/p>\n<a href=\"https:\/\/www.welaunch.io\/en\/wp-content\/uploads\/sites\/8\/2024\/01\/GTM-welaunch-demo-container.json.zip\" class=\"button primary\">\n\t\t<span>Download GTM Template<\/span>\n\t<\/a>\n\n\t<div id=\"text-119647312\" class=\"text\">\n\t\t\n<p>Unzip after download.<br \/>\n\t\t\n<style>\n#text-119647312 {\n  font-size: 0.85rem;\n}\n<\/style>\n\t<\/div>\n\t\n<div class=\"video video-fit mb\" style=\"padding-top:56.25%;\"><p><iframe title=\"WordPress GDPR Google Consent Mode 2 with Tag Manager\" width=\"1020\" height=\"574\" src=\"https:\/\/www.youtube.com\/embed\/WhMwiV5S5Ns?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n<\/div>\n<p><strong>Important information:<\/strong><\/p>\n<ul>\n<li>The event trigger we use when consents are changed is: <strong>consent_change<\/strong><\/li>\n<li>The variable of the service is <strong>consents.SERVICE NAME<\/strong><br \/>\nE.g. consents.Google Analytics<\/li>\n<li>Consents should be set to <strong>false by default<\/strong><\/li>\n<li>Remove all head \/ body code scripts in our service settings when using Google Tag Manager<\/li>\n<\/ul>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-17048","faq","type-faq","status-publish","hentry","faq_topics-gdpr","faq_topics-gdpr-faq","faq_topics-gdpr-getting-started"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/17048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=17048"}],"version-history":[{"count":10,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/17048\/revisions"}],"predecessor-version":[{"id":17130,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/17048\/revisions\/17130"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=17048"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=17048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}