Suppose your Analytics account is linked to a Google service that needs user consent and has visitors from the EEA. In that case, Analytics may warn you if it’s not getting proper consent for ads measurement or personalization. Analytics expects the following parameters to be set by the consent signal.
- Ads Measurement: Requires the ad_user_data consent parameter.
- Ads Personalization: Uses the ad_personalization consent parameter.
Data stream verification
Check the list of data streams in each of your Google Analytics 4 properties to learn if they are receiving the required consent signals:
- Go to Admin → Under Data Collection and Modification, click Consent Settings.
- Select a Data Stream to check its consent signals.
- View EEA Traffic Insights (if available) to see what percentage of your website traffic and conversions come from the EEA. Here you can check if Analytics is receiving consent signals.
- Below the EEA traffic insights, you’ll find the following sections:
- Behavior analytics consent signals – This section shows which consent signals are active for tracking user behavior on your site and how they impact your analytics data.
- Advertising related consent signals – This section details each consent signal related to advertising features. You’ll see which signals are correctly set up and how each impacts your advertising capabilities.
Here, we see that the consent mode is not set up for the site, and in return, Analytics is not receiving any data.
Setting up consent mode using CMP (GDPR Cookie Consent Plugin)
There are two ways in which we can send consent signals to analytics using WebToffee’s GDPR cookie consent plugin:
- Set up Google Tag Manager and GDPR Cookie Consent Plugin (CMP). Then, Google Consent Mode V2 in CMP will be enabled to collect ad measurement and ads personalization consent signals. For detailed instructions refer to the article:
- Set up Google Site Kit in your WordPress site. Configure WP Consent API plugin, and CMP to collect consent signal. Google Site Kit will now collect ad measurement and ads personalization consent signals from the WP consent API plugin, which GA4 can understand. For detailed instructions refer article:
- Configure WP Consent plugin and Google Site Kit plugin.
- Implementing GCM v2 in GDPR Cookie Consent plugin.
- To set up GA4 in Google Site Kit, refer article: Managing Google Analytics.
Verifying GA4 Consent Setting
When everything is configured correctly, following the abovementioned steps, Google Analytics (GA4) will start receiving consent signals.
GA4 may take time to recognize the consent signal sent by the CMP. So, it is adviced to wait until 48 hours for the changes to be effective.
Once the settings become effective, the data stream will show a message: “Receiving Consent Signals”. The image below shows the data stream status when the consent mode is “Active”.