Consent Mode V2 allows website owners to customize data collection based on user consent preferences. Since March 6, 2024, it has become imperative to activate this mode to remain compliant with regulations such as the GDPR.
This article will guide you step by step in activating Google Consent Mode V2 on your WordPress site using the extension ConsentMagic.
Why activate Consent Mode V2?
Legal obligation
Regulations like the GDPR (General Data Protection Regulation) in Europe require websites to obtain consent from users before collecting and processing their personal data.
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 advertising account.
Risks in the event of non-activation:
- Financial Sanctions: Severe fines may be imposed for non-compliance.
- Loss of advertising features: Suspension of advanced conversion tracking and inability to effectively manage advertising campaigns.
- Loss of user trust: Visitors may lose trust in your site, which can negatively impact your reputation and traffic.
Understanding Consent Mode V2 settings
Google's Consent Mode V2 works thanks to the integration of four essential parameters:
- analytics_storage : Manages the storage of information necessary for audience measurement.
- ad_storage : Controls the storage of information dedicated to advertising.
- ad_personalization : Allows you to define user consent for personalized advertising.
- ad_user_data : Defines user consent for sharing data with Google for ad targeting.
For more details, see the official Google documentation.
How to activate Consent Mode V2 with ConsentMagic?
Prerequisites
Before you begin, make sure you have installed the Google tag on your site. You can use the extension Site Kit by Google for easy integration.
ConsentMagic installation and activation
- Access your WordPress dashboard : Connect to your site's administration interface.
- Navigate to the Extensions tab : Click “Extensions” in the side menu, then “Add”.
- Search for the ConsentMagic extension : In the search bar, type “ConsentMagic” OR Upload the .zip version of the extension. Once successfully found or imported, click “Install” then “Activate”.
Configuration and Personalization
- Go to ConsentMagic Settings : A new “ConsentMagic” tab will appear in your side menu. Click on it and follow the instructions for activation.
- Disable “Google Font” : Disable Google Font in “Scripts and Cookies”. Google Fonts may cause privacy issues because it loads resources from Google's servers, which may result in the collection of user data, such as IP address. This data collection may pose GDPR compliance issues, as it may be considered a form of tracking without the user's explicit consent.
By disabling Google Fonts and hosting the fonts locally, you avoid these problems and improve your site's compliance with data protection regulations.
- Configure consent options : Define the types of consent to collect (analysis, advertising, etc.).
- Customize the consent banner:
- Design and text : Adapt the design (colors, fonts) so that it harmonizes with your site by creating a new template in the “Design” tab.
- Apply the Design in 3 clicks
- Consent messages : 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.
Verification and Testing
- Test the consent banner : Access your site in incognito mode to check the display of the banner and the operation of the consent choices. You can also use the “Preview” mode to check the consistency of design and textual content.
- Use GA4 to verify successful activation : Google offers diagnostic tools to verify the correct implementation of Google Consent Mode V2. Use these tools to make sure everything works as expected. But for this article, we will show you how to check using Google Analytics 4.
- This is what the non-active consent mode looks like in “Data Feed” on GA4.
- 48 hours after activating Consent Mode V2, you should see that the consent signals are active.
Conclusion
Implementing Consent Mode V2 on your WordPress site using the ConsentMagic plugin is a crucial step in complying with data protection regulations.
By following this tutorial, you will not only ensure compliance of your site, but also build trust with your users. Remember to monitor plugin updates and stay informed of changing regulations to keep your site up to date.