How OneTrust integrates with Google Consent Mode

Improve your privacy-centric measurement using Google Consent Mode with OneTrust

Ashlea Cartee, Product Marketing Manager, Consent & Preferences, OneTrust
May 19, 2022

A graphic of a green gradient background.

Privacy has become a cornerstone in the digital advertising world. By striking a healthy balance between data privacy and personalization, advertisers can maintain user trust while improving the durability of their ad measurement and engagement.  

To help with privacy-centric performance measurement, Consent Mode was developed by Google to help advertisers measure conversions and gather insights while respecting user consent choices. When a user doesn’t consent, Google Consent Mode enables website operators to recover lost conversions by filling in data gaps using conversion modeling. In turn, advertisers can get a more comprehensive view of their ad performance to more effectively optimize their campaigns. 

And now with OneTrust’s integration of Google Consent Mode, OneTrust facilitates important implementation steps for easier setup. After setting up Consent Mode through your OneTrust account, you’ll be equipped to achieve greater insights into your conversion data for advertising and analytics purposes while respecting user choice when using Google Ads, Google Analytics, and Floodlight tags. 

What is Google Consent Mode? 

Due to local regulations, it’s common for businesses to have a cookie banner, also known as a consent management platform (CMP), on their website to obtain consent for advertising and analytics cookies. With Consent Mode implemented, Google tags will adjust their behavior accordingly based on the consent choices of the user. This removes the need for complex tag firing conditions or creative customizations to tag snippets.  

Let’s say someone visits your website and makes their consent selection for the use of advertising and analytics cookies from your cookie consent banner. With Consent Mode, your Google tags will be able to determine whether or not permission has been given for your site to use cookies for the specified purposes for that user. If a user consents, conversion measurement reporting continues normally. If a user does not consent, Google tags will adjust accordingly and not use advertising cookies. From there, conversion modeling fills in measurement gaps where ad interactions cannot be tied directly to conversions.  

Graphic illustrating the journey of a user clicking a digital ad through conversion depending and what happens when they do or do not provide consent

How to get started using Consent Mode with OneTrust 

Consent Mode is not a CMP, and in order to use Consent Mode you first need to have a solution in place to obtain user consent on your website. 

OneTrust is a CMP that helps thousands of websites stay compliant with EU data privacy regulations by providing easy-to-deploy, customizable GDPR-compliant cookie banners. These allow websites to easily receive permission from users to set cookies and capture cookie data. 

Since OneTrust allows website visitors to choose which type of cookies they want to accept, customers can set granular triggers for each cookie category, including analytics and advertising. If you want more information about how OneTrust integrates with Google’s new Consent APIs or the impacts of using these APIs on Google products, read the full technical guide here

OneTrust offers a free cookie consent solution for your first website domain. Get started today

You may also like


Consent & Preferences

Compliant omni-channel automation: How to be a responsible marketer?

Join this webinar and learn how to create a compliant privacy-first marketing program that respects customer consent across multiple channels.

October 12, 2023

Learn more


Consent & Preferences

Honoring consent throughout the data lifecycle

Watch our webinar and learn how consent can enrich your data while helping you build a brand your customers can trust.

October 04, 2023

Learn more

Resource Kit

Consent & Preferences

The Google CMP requirements toolkit

Master Google's CMP Standards: Stay compliant and excel in the evolving ad landscape. Download our Google CMP Requirements Toolkit now!

September 27, 2023

Learn more