Questions tagged [one-trust]
23 questions
4
votes
1 answer
Has anyone figured out how to test rigorously with OneTrust Cookies?
It seems like you have to whitelist your staging or local site in order to perform test. Does anyone know a way around that? I went to their website to look through documentation, but I can find anything beyond this (At the very bottom of the page)…
3
votes
1 answer
How is the OneTrust SDK installed in Javascript
I am trying to run the following line of code
OneTrust.OnConsentChanged(() => {
alert("consent changed");
});
As expected, I am getting the error message: 'OneTrust' is not defined.
However I cannot find anywhere in the OneTrust docs…

WhatThe22
- 33
- 5
2
votes
1 answer
Content Security Policy (CSP) - problem with dynamic inline style during onetrust integration
I am integrating a cookie tool - onetrust. I add them by adding scripts in the of the html page. The scripts call other scripts and create inline styles. I manage to embrace all scripts by adding a 'nonce' to this scripts. I have a problem with…

Lukasz J
- 21
- 4
2
votes
1 answer
Google cross domain analytics add params in URL when cookies are not accepted
One of my clients has a cross domain analytics set up.
Everything works well, but there are different behaviors when user gives full cookie consent and when he allows only strictly necessary cookies.
Behavior in case of full cookie consent:
GA…

Jakub Simek
- 25
- 6
2
votes
0 answers
How to pass TC String to Admob with Flutter?
I implemented a consent management platform called OneTrust SDK. This works and I can see users' consent choices on various cookies. Currently, the app getting no ads from AdMob at all, and my goal is to debug it by checking the TC String.
OneTrust…

mirkancal
- 4,762
- 7
- 37
- 75
1
vote
1 answer
Youtube Cookies are not blocked by OneTrust auto-blocking script
I am loading a script from Youtube on page load, which loads the script and creates some cookies, which are needed from Youtube.
Now, I have implemented OneTrust to work on cookies based on user consent. In Onetrust, there is a config to block any…

RightRe
- 21
- 3
1
vote
1 answer
Rejecting all cookies don't do anything
I added OneTrust cookies consent modal/popup to my page
The thing is that when we click on "Reject all cookies" button, visitor's cookies are not being deleted, they are still there, if he reloads the page all cookies are still present, cookies from…

arcollector
- 101
- 5
1
vote
0 answers
OneTrust script executing after Google Tag Manager
I'm trying to reorder the execution of scripts in my codebase. What I need is for the OneTrust scripts to fire before my GTM scripts and for whatever reason I can't seem to get that to happen.
I've tried:
Reordering the scripts in the head
Using…

miiiracle
- 11
- 1
1
vote
0 answers
A problem occured configuring project: ':react-native-onetrust-cmp'
I have an issue when building android react native 0.66.4
It somehow mention 0.71, not sure what's wrong here. please help
A problem occurred configuring project ':react-native-onetrust-cmp'.
> Could not resolve all files for configuration…

Hans Yulian
- 1,080
- 8
- 26
1
vote
0 answers
Integrating Onetrust cookie consent banner with Angular 9
I want to integrate a cookie banner from Onetrust.
When I am implementing a Onetrust cookie consent banner, I followed all the steps that it requires
I scan my website on Onetrust dashboard so it can scan all cookies that appears on my website.
I…

NickD
- 191
- 15
0
votes
0 answers
How can i display different one trust cookie banner based on locale in NextJs app
I have a NextJs 12 app which have urls domain.com and domain.com/es we use OneTrus cookie banner in _document.ts like so