Google Analytics 4: To Access Lost Behavioral Metrics, Reconfigure Consent Mode

GA 4 lost data

If Your Analytics reports are currently not receiving data for users who decline Analytics cookies. Behavioral modeling fills this data gap. To be eligible for modeling, you need to reconfigure consent mode to ensure that Google tags load in all cases.

How to unblock your Google tags to get the full benefits of consent mode. Troubleshoot Tag Manager and CMP consent settings

Consent mode allows you to adjust how your Google tags behave based on the consent status of your users and enables Google to model conversions and behavioral data. If your Google tags may be delayed or blocked until a consent interaction occurs, your modeled conversions are less accurate, and behavioral modeling in Google Analytics 4 is unavailable.

For more comprehensive measurement to make sense of disparate data and make the most of first-party data, we recommend you adjust your tag settings so Google tags load in all cases. If consent is denied, tags that fire communicate non-identifying signals like consent state and country. These signals improve conversion modeling and enable behavioral modeling. However, blocking tags prevents them from firing so they can’t send any information at all.

To get behavioral modeling in Google Analytics 4 and improve conversion modeling in Google Ads while respecting your users’ consent status, follow the troubleshooting steps in this article to unblock your Google tags.

How to check if you have blocked tags
You may have blocked tags if you have set up consent mode but you see a message that behavioral modeling is unavailable in your Google Analytics 4 property.
GA 4- 1

If you use Tag Manager, you can use Tag Assistant to check if you have blocked tags:

  • Start a new debug session in Tag Assistant.
  • Go to Summary > Tags.
  • Look at the Tags Fired section. Check if all the tags you expect to fire are listed.
  • If any tag you expect to fire did not, find it in the Tags Not Fired section and click it. The tag is blocked if either
  1. A trigger or variable based on the user’s consent is one of the trigger conditions, or
  2. You see a section called “Required Additional Consent” with one or more rows in the table beneath it

How to unblock tags
How you unblock tags depends on how you tagged your website or app and what mechanisms you’ve implemented to prevent tags from firing. Google tags may be blocked in multiple places. Check each tagging method that you’ve used. If you use a Consent Management Platform (CMP), check its settings as well.

This document provides troubleshooting steps for the most common causes of blocked tags.

Unblock tags with Tag Manager
The two most common causes of blocked tags in Tag Manager are exception triggers and additional consent checks. Follow the troubleshooting instructions in this section to remove exception triggers and additional consent checks from Google tags. Google tags are Google Analytics 4, Google Ads, Floodlight, and Conversion Linker tags.

Remove exception triggers
Exceptions triggers for Google tags were likely set up before consent mode existed and should be removed. Consent mode adjusts Google tag behavior based on consent state, so the exception isn’t necessary anymore.

Remove exceptions from Google tags so they work properly:

  1. In Tag Manager, click Workspace.
  2. Click Tags in the left navigation.
  3. In the Firing triggers column, find Google tags with exceptions.

GA 4-2

  • In the Name column, click the name of the tag.
  • Click Triggering.
  • Under Triggering, find the exception. You may have more than one exception trigger.

GA 4 -3

  • Click RemoveRemove next to each of the exception triggers you’d like to remove.
  • Click Save in the upper right corner.
  • Preview your changes.
  • Publish your container for the changes to take effect.

Remove additional consent checks for tags with built-in consent checks
Tag Manager lets you block non consent-aware tags from firing when the required consent has not been granted. In other words, if tags don’t have built-in consent checks, you can use the Tag Manager additional consent checks to respond to consent status. Google tags have built-in consent checks and modify their behavior based on consent status, so they don’t require additional consent checks. If you have implemented consent mode and use additional consent checks at the same time, they won’t work properly. If your CMP loads asynchronously, it might not always run before your Google tags. The tags may be triggered before users interact with your consent banner, or before consent state updates arrive. Even if consent is later granted, the tags don’t fire unless consent is granted when they were first triggered.

Remove additional consent checks from Google tags so they work properly:

  1. In Tag Manager, click Workspace.
  2. Click Tags in the left navigation.
  3. Click the name of your Google tag.
  4. Click Tag configuration > Advanced settings > Consent settings
  5. Review settings listed in Built-In Consent Checks. You should see ad_storage and analytics_storage listed.
  6. Select Additional Consent Checks and choose either:
  7. Not set: Default. No additional consent checks are performed by this tag or
  8. No additional consent required: Select this option to indicate that your tag does not need to check for additional consent in order to fire.
  9. Preview your changes.
  10. Publish your container for the changes to take effect

Unblock tags with a Consent Management Platform
Consent Management Platforms (CMPs) block Google tags in three main ways:

  • Automatic blocking
  • Manual blocking
  • Tag Management System (TMS) based blocking

The approach to unblocking the tags varies depending on which of these methods your CMP implementation is using. General instructions for each approach are provided below, followed by links to blocking documentation for select CMPs. If you are unsure which blocking approach your site uses, contact your CMP representative or support team.

Automatic blocking
Automatic blocking is set in your CMP’s user interface. If you have implemented your CMP’s automatic blocking functionality, the general approach to unblocking Google tags is one of the following:

  • Modify the Google tag as specified by your CMP to indicate that autoblocking should ignore it. This is usually done by adding an attribute to the Google script tags.
  • Exempt Google tags from blocking in your CMP’s user interface. This is usually done by mapping the Google vendor to a purpose which is always allowed (sometimes called Essential) or by setting the automatic blocking feature to ignore Google tags entirely.

The first approach allows for you to choose exactly which Google tags are exempted from blocking. It can be useful if you have a mix of tags that support consent mode and ones that do not. If you choose the second approach, be sure that you have not implemented tags that lack support for consent mode.

Manual blocking
Manual blocking modifies the Google tag so it cannot load until the CMP has loaded. Your CMP may instruct you to make changes to the type or src attributes of the Google tag, such as to change the type to “text/plain” or the src attribute to <cmp_name>-src. To undo this blocking technique, replace the Google tags modified with these CMP-specific modifications with the original tag as downloaded from the source Google platform.

Tag management system blocking
This approach uses a tag management system such as Google Tag Manager to fire Google tags. The CMP fires an event which indicates when consent has been granted, and that event is used as a trigger for Google and other types of tags that require user consent. If you are using this approach, modify the triggers for your Google tags to remove any consent-based criteria, firing only based on the criteria your business requires. For example, for a page view analytics event, fire only on the page load trigger and not on the consent granted event provided by your CMP.

Loading more posts...