{"id":22676,"date":"2024-07-23T17:10:45","date_gmt":"2024-07-23T15:10:45","guid":{"rendered":"https:\/\/geekworkers.ch\/?p=20774"},"modified":"2025-12-20T12:57:09","modified_gmt":"2025-12-20T11:57:09","slug":"enable-google-consent-mode-v2-on-a-wordpress-site-with-consentmagic","status":"publish","type":"post","link":"https:\/\/geekworkers.ch\/en\/blog\/activer-google-consent-mode-v2-sur-un-site-wordpress-avec-consentmagic\/","title":{"rendered":"[Tuto Facile] Comment activer Google Consent Mode V2 sur un site WordPress avec l&rsquo;extension ConsentMagic ?"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Consent Mode V2 allows website owners to customize data collection based on user consent preferences. As of March 6, 2024, it becomes mandatory to enable this mode to remain compliant with regulations such as GDPR.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This article will guide you step by step through enabling Google Consent Mode V2 on your WordPress site using the plugin<a href=\"https:\/\/www.consentmagic.com\/\" rel=\"noopener\"> ConsentMagic<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why activate Consent Mode V2?<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Legal obligation<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Regulations like the GDPR (General Data Protection Regulation) in Europe require websites to obtain consent from users before collecting and processing their personal data.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Failure to comply with Google Consent Mode V2 can result in serious consequences, such as the inability to create or edit audiences on Google Ads, target remarketing audiences, and even suspension of your ad account.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Risks in the event of non-activation:&nbsp;<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Financial Sanctions: Severe fines may be imposed for non-compliance.<br><\/li>\n\n\n\n<li>Loss of advertising features: Suspension of advanced conversion tracking and inability to effectively manage advertising campaigns.<br><\/li>\n\n\n\n<li>Loss of user trust: Visitors may lose trust in your site, which can negatively impact your reputation and traffic.<br><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Understanding Consent Mode V2 settings<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Google&#039;s Consent Mode V2 works thanks to the integration of four essential parameters:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>analytics_storage<\/strong> : Manages the storage of information necessary for audience measurement.<br><\/li>\n\n\n\n<li><strong>ad_storage<\/strong> : Controls the storage of information dedicated to advertising.<br><\/li>\n\n\n\n<li><strong>ad_personalization<\/strong> : Allows you to define user consent for personalized advertising.<br><\/li>\n\n\n\n<li><strong>ad_user_data<\/strong> : Defines user consent for sharing data with Google for ad targeting.<br><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">For more details, see the<a href=\"https:\/\/developers.google.com\/tag-platform\/security\/guides\/consent?hl=fr&amp;consentmode=advanced\" rel=\"noopener\"> official Google documentation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to activate Consent Mode V2 with ConsentMagic?<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Prerequisites<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before you begin, make sure you have installed the Google Tag on your site. You can use the extension<a href=\"https:\/\/sitekit.withgoogle.com\/\" rel=\"noopener\"> Site Kit by Google<\/a> for easy integration.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>ConsentMagic installation and activation<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Access your WordPress dashboard<\/strong> : Log in to your site&#039;s administration interface.<br><\/li>\n\n\n\n<li><strong>Navigate to the Extensions tab <\/strong>: Click on \u201cExtensions\u201d in the side menu, then click on \u201cAdd\u201d.<br><\/li>\n\n\n\n<li><strong>Search for the ConsentMagic extension<\/strong> : In the search bar, type \u201cConsentMagic\u201d OR <strong>Upload the .zip version of the extension<\/strong>. Once successfully found or imported, click \u201cInstall\u201d then \u201cActivate\u201d.<br><br><img fetchpriority=\"high\" decoding=\"async\" width=\"624\" height=\"335\" src=\"https:\/\/lh7-us.googleusercontent.com\/docsz\/AD_4nXceRaS7-uIFv0iOfVpW_jEgGFOTi2Z4_ZeUMNonsjlYl9Cb_T6RhVkBfMhVmcF_WbnApDQ36c0-Az7oIR9bqndP-UCASOi4N3SjT83CXNDY3MdZC0IidgMR5jMrcuBgj1g2W8XsxcJ2S0JAl61LZAB7YMmr?key=-YQ2yqdYf6LPoQmuMkX0Jg\" alt=\"\" title=\"\"><br><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Configuration and Personalization<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Go to ConsentMagic Settings<\/strong> : A new tab \u201cConsentMagic\u201d will appear in your side menu. Click on it and follow the prompts for activation.<br><img decoding=\"async\" width=\"624\" height=\"320\" src=\"https:\/\/lh7-us.googleusercontent.com\/docsz\/AD_4nXddhN0bAzz3S-WTB_zyULGNkdDXTk0ojskbILg4RxIV2EVwimQKhtJ-Xb2FTP9da177khoKqOyu0rkR36Aqxpw-dsCXJhT_KN01NPyLozws64WdaQq_m4l8idJJ1hhwp9U0-UeSFtNpUpU44JydJ8XpPL3p?key=-YQ2yqdYf6LPoQmuMkX0Jg\" alt=\"\" title=\"\"><br><\/li>\n\n\n\n<li><strong>Disable \u201cGoogle Font\u201d<\/strong> : Disable Google Font in \u201cScripts and Cookies\u201d. Google Fonts can cause privacy issues because it loads resources from Google\u2019s servers, which can result in the collection of user data, such as IP address. This data collection can cause GDPR compliance issues because it can be considered a form of tracking without the user\u2019s explicit consent. <br><br>By disabling Google Fonts and hosting the fonts locally, you avoid these problems and improve your site&#039;s compliance with data protection regulations.<br><br><img decoding=\"async\" width=\"624\" height=\"335\" src=\"https:\/\/lh7-us.googleusercontent.com\/docsz\/AD_4nXf77JnsZ4chLRYV7w2t5xar4mMr4FAZrCvlwesJszhR5iVPh-T4GnbGCLpYPHTL2EXAdLvkCnvTXKTSdInVqOpXyiZROiCWnGcHjh_Q5kD6kJGjLd_fmyC8w9INLmgUghZsY2rVM27d7ATmKdX_SLe6aVw?key=-YQ2yqdYf6LPoQmuMkX0Jg\" alt=\"\" title=\"\"><br><\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><strong>Configure consent options<\/strong> : Define the types of consent to collect (analysis, advertising, etc.).<br><\/li>\n\n\n\n<li><strong>Customize the consent banner:<\/strong><br><strong><br><\/strong><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"335\" src=\"https:\/\/lh7-us.googleusercontent.com\/docsz\/AD_4nXcLwplQB8DEQ_vTssu-B6qC8lzMfbuuThEAA6TC6sSV4WHUN-vYZXo4kZbWXJ-a5YkeMqzvfyThrF7WllMdV-KiTk-IcbMUWl4g-FjXPrv320Gbbp9y4-pHAu-pem7GNHvVTGZwj0erQH0_BEsZutVhw5RB?key=-YQ2yqdYf6LPoQmuMkX0Jg\" alt=\"\" title=\"\"><br><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Design and text<\/strong> : Adapt the design (colors, fonts) to match your site by creating a new template in the \u201cDesign\u201d tab.<br><\/li>\n\n\n\n<li><strong>Apply the Design in 3 clicks<br><\/strong><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"335\" src=\"https:\/\/lh7-us.googleusercontent.com\/docsz\/AD_4nXfDDmtn0ySlzqvQDwIvRZLiE4EosX9QhI-HQjkGbiGR4DCDlAtZ3vjy-rHR4kUhmI_Uc5NJJ70XYJaSwfvck3brC3Fb_5DB7gy_TvfyUBey7gaMa9sofT88LDlURCXhiSaQoLtCqAEoKQ2P0RVrky5aRc0T?key=-YQ2yqdYf6LPoQmuMkX0Jg\" alt=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"336\" src=\"https:\/\/lh7-us.googleusercontent.com\/docsz\/AD_4nXf_wg3vAvgYE3kwM5c3YY86PG4VUJV2zKwoY1_Cydzae9WSWtz_VPJ8bY8SIwlIfdWZInv2FRIXDXZVGwZMdEOjEKdaotHkFpPx5ZhNXOSWw2YGg8s9w7PlCDuBqEayAP32BBYDTVn_e8VZCgFGeB0-gCAV?key=-YQ2yqdYf6LPoQmuMkX0Jg\" alt=\"\" title=\"\"><br><\/li>\n\n\n\n<li><strong>Consent messages<\/strong> : Write clear and simple messages explaining the types of data collected and their use. You can also leave the default settings. The texts are already optimized to maximize user experience.<br><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Verification and Testing<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/geekworkers.ch\/wp-content\/uploads\/2024\/07\/test-consent-mode-V2-mode-incognito-1-1024x615.jpg\" alt=\"test activation consent mode v2 in incognito mode\" class=\"wp-image-20784\" title=\"\"><figcaption><\/figcaption><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Test the consent banner<\/strong> : Access your site in incognito mode to check the banner display and the functioning of the consent choices. You can also use the \u201cPreview\u201d mode to check the consistency of design and text content.<br><\/li>\n\n\n\n<li><strong>Use GA4 to verify successful activation<\/strong> : Google offers diagnostic tools to check the correct implementation of Google Consent Mode V2. Use these tools to make sure everything is working as expected. But for this article, we&#039;ll show you how to check using Google Analytics 4.<br>\n<ul class=\"wp-block-list\">\n<li>This is what the non-active consent mode looks like in \u201cData Feed\u201d on GA4.&nbsp;<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/docsz\/AD_4nXfjPMeJCh9qLy2g1wMbAdXK16QF79TvQEOVzqJluGt50lei0JvPRIxk9hlD3gtmDxNkQ0BE5fZcISabJ0UGXMwCcuNYloQsN80laXLj7GlY1Mqk1iJ36qyotmSO480tM-ux1np0U-RDt61PSlo3ofrWMqo?key=-YQ2yqdYf6LPoQmuMkX0Jg\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>48 hours after activating Consent Mode V2, you should see that the consent signals are active.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/docsz\/AD_4nXftCPHsxrNdPtyRpoOHmrX5M6GYDj-rU-ojmyVCxNOq-g2xsQuxey4iZjWXQKtU5vddiAQRErGPtgF-BzIQscLKeULTQbQMLeqq_rhxECnXn_rvWzFqDYTTPEbIizPelX_0SSmk4nQWfIvskz_ssb4n_C7Q?key=-YQ2yqdYf6LPoQmuMkX0Jg\" alt=\"\" title=\"\"><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Setting up Consent Mode V2 on your WordPress site using the ConsentMagic plugin is a crucial step to comply with data protection regulations.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By following this tutorial, you will not only ensure your site&#039;s compliance, but also build trust with your users. Remember to monitor plugin updates and stay informed about regulatory changes to keep your site up to date.<\/p>","protected":false},"excerpt":{"rendered":"<p>Le Consent Mode V2 permet aux propri\u00e9taires de sites web de personnaliser la collecte de donn\u00e9es en fonction des pr\u00e9f\u00e9rences de consentement des utilisateurs. Depuis le 6 mars 2024, il devient imp\u00e9ratif d&rsquo;activer ce mode pour rester conforme aux r\u00e9glementations telles que le RGPD.&nbsp; Cet article vous guidera pas \u00e0 pas dans l&rsquo;activation du Google [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":22682,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[130,47],"tags":[171,174,172,173,74],"class_list":["post-22676","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-marketing-digital","category-wordpress","tag-consent-mode","tag-consentmagic","tag-lpd","tag-rgpd","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/posts\/22676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/comments?post=22676"}],"version-history":[{"count":0,"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/posts\/22676\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/media\/22682"}],"wp:attachment":[{"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/media?parent=22676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/categories?post=22676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekworkers.ch\/en\/wp-json\/wp\/v2\/tags?post=22676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}