Articles on: Integrations

Using Google Consent Mode Integration


In this article you will learn about:

Introduction to Google Consent Mode
Benefits of using it
Services Supported by Google Consent Mode
Enable the integration
Advanced settings

With our application's integration to the Google Consent Mode you can respect the privacy choices of end-users with minimal impact on your store's ad-based revenue stream, analytics, and more. Learn more about Google Consent Mode here.

If you're already using Google gtag.js or Google Tag Manager (GTM) on your store, we recommend that you enable the Google Consent Mode integration to your store, to ensure you get the best use of your Google Services. If you don't have GTM installed, we do this for you from inside our application by just adding your property ID. Learn more on how it works here.

There are some data (pings) that Google collects in order to make it work properly. More details about the data gathered by Google Consent Mode can be found here.

Benefits by using this integration

Once you have enabled the integration for your store, our application will automatically signal the consent choices of your visitors to Google instead of blocking tags when not consented. The end user's granular consent will be used by Google to adjust tag behavior accordingly.

With the Google Consent Mode and our app's integration in place, will let our application allow tags to run and Google will act e.g. re-marketing and log analytics data according to the signal sent by our app.

Google describes the technical details of how supported tags changes behavior based on the end user's consent here.

With this integration, you can get valuable insights from campaigns and measure conversions while respecting users' consent choices. Google Consent Mode is a step toward honoring the privacy of individual users without altering the foundation of the digital economy.

Google Consent Mode supports the search engine’s most prominent marketing platforms, including:

Google Ads
Google Tag Manager
Google Analytics
Conversion Linker

It works behind the scenes to make sure that these core platforms provide the same powerful insights while maintaining privacy compliance.

Enable the integration

The activation of Google Consent Mode integration can be done in a single step.

Just navigate to Settings > Integrations

Switch on the integration and some options will open.

Here you have two options:

Install Google Tag Manager and/or Google Analytics for me
This is appropriate if you have not yet installed Google Tag Manager (GTM) and/or Google Analytics (GA). With this option, our application will add the appropriate snippet code which is needed in order for GTM and/or GA to work for your store as long as the initialization code for the consent mode.
Here you can check the GTM and/or the GA and then you can add the corresponding properties.

I have already installed Google Tag Manager and/or Google Analytics

This is appropriate if you have already installed Google Tag Manager (GTM) and/or Google Analytics (GA). With this option, our application will only add the appropriate code to initialize the consent parameters that Google requires for this integration.

Advanced settings

By default, Google Consent Mode supports five consent types based on version 1. Our application maps these consent types into categories. In most cases, you do not have to change the mappings. As a part of Google's ongoing commitment to a privacy-centric digital advertising ecosystem, they are strengthening the enforcement of their EU user consent policy so now with consent mode users need to send two additional parameters in addition to ad_storage and analytics_storage and this is the upgrade to consent mode v2. Our application maps these parameters as well so the table below presents all the 7 parameters we support.

Google supports the following types to adjust the behavior of Google tags on your store:

ad_storagedenied or grantedControls whether your tags will use cookies related to advertising.
ad_user_datadenied or grantedSets consent for sending user data to Google for online advertising purposes.
ad_personalizationdenied or grantedSets consent for personalized advertising.
analytics_storagedenied or grantedControls whether your tags will use cookies related to analytics.
functionality_storagedenied or grantedControls whether your tags will use cookies related to functionality.
personalization_storagedenied or grantedControls whether your tags will use cookies related to personalization.
security_storagedenied or grantedControls whether your tags will use cookies related to security.

The default value of these types is based on the banner mode you have selected. You can read more about Google Consent Mode here.

Redact ads data

When ad_storage is denied, new cookies will not be set for advertising purposes. Additionally, third-party cookies previously set on and will not be used except for spam and fraud purposes. Data sent to Google will still include the full page URL, including any ad click information in the URL parameters.

To further redact your ads data when ad_storage is denied, you can check the ads_data_redaction option.

When ads_data_redaction is checked and ad_storage is denied, ad click identifiers sent in network requests by Google Ads and Floodlight tags will be redacted. Network requests will also be sent through a cookieless domain.

The ads_data_redaction parameter will have no effect when ad_storage is granted.

URL passthrough

When a user lands on your store after clicking an ad, information about the ad may be appended to your landing page URLs as a query parameter. In order to improve conversion accuracy, Google tags usually store this information in first-party cookies on your domain.

However, if ad_storage is set to denied, Google tags will not save this information locally. To improve ad click measurement quality when ad_storage is denied, you can optionally elect to pass ad click information through URL parameters across pages using URL passthrough.

Similarly, if analytics_storage is set to denied, URL passthrough can be used to send event and session-based analytics (including conversions) without cookies across pages.

The following conditions must be met in order to use URL passthrough:

The outgoing link refers to the same domain as the current page's domain.
A gclid/dclid is present in the URL (Google Ads and Floodlight tags only)

When using URL passthrough, a few query parameters may be appended to links as users navigate through pages on your website:


For best results, ensure that:

Redirects on your site pass all the above query parameters.
Your analytics tools ignore these parameters in-page URLs.
These parameters do not interfere with your store's behavior.

The dataLayer property

In special cases that you have changed the dataLayer name to a different one you will need to edit this default property name on our integration with GTM as well in order to push the data to the property you finally use for this purpose.

Updated on: 20/02/2024

Was this article helpful?

Share your feedback


Thank you!