google consent mode v2

[Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension?

By Geekworkers
On the agenda for this article:

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:

  1. analytics_storage : Manages the storage of information necessary for audience measurement.
  2. ad_storage : Controls the storage of information dedicated to advertising.
  3. ad_personalization : Allows you to define user consent for personalized advertising.
  4. 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

  1. Access your WordPress dashboard : Connect to your site's administration interface.
  2. Navigate to the Extensions tab : Click “Extensions” in the side menu, then “Add”.
  3. 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”.

    [Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension? - image GeekWorkers - 1

Configuration and Personalization

  1. Go to ConsentMagic Settings : A new “ConsentMagic” tab will appear in your side menu. Click on it and follow the instructions for activation.
    [Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension? - image GeekWorkers - 3
  2. 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.

    [Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension? - image GeekWorkers - 5
  1. Configure consent options : Define the types of consent to collect (analysis, advertising, etc.).
  2. Customize the consent banner:

    [Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension? - image GeekWorkers - 7
  • 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
    [Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension? - image GeekWorkers - 9[Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension? - image GeekWorkers - 11
  • 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 activation consent mode v2 in incognito mode
[Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension? 1
  1. 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.
  2. 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. 
[Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension? - image GeekWorkers - 14
  • 48 hours after activating Consent Mode V2, you should see that the consent signals are active.
[Easy Tutorial] How to activate Google Consent Mode V2 on a WordPress site with the ConsentMagic extension? - image GeekWorkers - 16

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.

Share the article on the networks
Facebook
Twitter
LinkedIn
× We answer your questions