27 questions
8
votes
1
answer
10k
views
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 ...
5
votes
3
answers
3k
views
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 <head> of the html page. The scripts call other scripts and create inline styles.
I manage to embrace all scripts ...
3
votes
1
answer
5k
views
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.
...
3
votes
1
answer
7k
views
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 ...
2
votes
2
answers
3k
views
OneTrust: Check if OneTrust is used in the project and wait for it to have fully finished loading
I am having difficulty adjusting several of my TypeScript files to load depending on OneTrust, whether it's available or not on pageload, and if available, only loading certain TypeScript scripts when ...
2
votes
1
answer
2k
views
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 ...
2
votes
0
answers
367
views
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 ...
1
vote
2
answers
2k
views
How can I determine if OneTrust cookies have been accepted?
I'm using OneTrust for my cookie banner on a website. I'm trying to determine how, using Javascript, to tell if a user has opted in to permit cookies.
I have been able to detect changes to cookie opt-...
1
vote
1
answer
4k
views
How to change language of an OneTrust Cookie Banner for Angular Application?
I am working on an Angular application and I am using OneTrust for cookie consent management. The issue I am facing currently is that although rest of the components of the login page are translated ...
1
vote
1
answer
4k
views
How to test OneTrust cookie banners in localhost?
I'm using OneTrust cookie banners in an Angular application. I'm not the one creating the cookie banner, but it seems the way it works is our OneTrust engineer makes a OneTrust banner available for ...
1
vote
0
answers
432
views
Next.js 14 & OneTrust: OneTrust blocks my route chunks by marking it with type="text/plain"
I have a Next.js 14 website with OneTrust integrated into it. It looks like OneTrust blocks my route chunks if certain consent were not provided.
I believe, to solve this, I need to add data-to-ignore ...
1
vote
0
answers
771
views
How can I allow OneTrust to scan my IPs protected website?
I have a pre-production site which is not publicly opened. We access it thanks to an IPs whitelist. I need to let OneTrust scan it to configure it before opening the site publicly.
Does OneTrust has a ...
1
vote
1
answer
2k
views
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 ...
1
vote
0
answers
2k
views
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 ...
1
vote
0
answers
528
views
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'.
> ...
1
vote
0
answers
3k
views
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 ...
0
votes
1
answer
2k
views
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
<Head>
<Script
id="one-trust"
...
0
votes
2
answers
2k
views
Calling a script snippet by id in a React SPA and content only loads on refresh
Working on a React application that makes use of a 3rd party JS script from OneTrust cookie scripts. Their scripts really are not designed well for SPAs. Right now I’m simply calling the script ...
0
votes
1
answer
2k
views
Angular12 img src binding generates data-src in template
I'm getting from my backend an image (in blob) which I need to display in an img tag.
template.html
<img class="image" [src]="selectedImage.imageStream" />
component.ts
getDocument(...
0
votes
0
answers
471
views
OneTrust Cookie Banner Reappearing on Page Refresh
I'm using OneTrust for cookie consent in our Next.js project, but the cookie banner keeps reappearing every time I refresh the page, even after clicking the "Accept All Cookies" button.
Here'...
0
votes
1
answer
314
views
Google Analytics - "Your Google Tag code isn’t configured correctly" Warning
I'm working on a site built with Astro and have integrated Google Analytics via Google Tag Manager (GTM). I’ve also set up OneTrust for cookie consent. GA fires only when the user allows performance ...
0
votes
0
answers
43
views
How to make OneTrust and Google Maps to work nicely
The company I work for uses OneTrust to handle GDPR. I have the task to make a google map show up. I have had issues making the https://maps.googleapis.com/maps/api script tag to work as I wanted to ...
0
votes
1
answer
913
views
Why do Google Analytics 4 (GA4) network calls fire on "stackoverflow.com" even after turning off the cookies from the OneTrust Cookie settings?
Why do Google Analytics 4 (GA4) network calls fire on "stackoverflow.com" even after turning off the cookies from the OneTrust Cookie settings?
Please click on the links to view the ...
0
votes
0
answers
849
views
How To Delete Cookie Name _ga of OneTrust
The Website is using OneTrust, when popup cookie setting show then generated _ga cookie name.
Client want to when click button Reject all on popup cookie setting then delete _ga cookie name.
But I ...
0
votes
1
answer
1k
views
How to load script dynamically before any other scripts in nextjs _app.js?
I have a nextjs project. I want to implement oneTrust CMP solution for my domain. I am required to place oneTrust scripts before any other scripts In the _app.js file and I want to check if the sub-...
0
votes
1
answer
1k
views
How to reenable Google Analytics for OneTrust?
Testing around with OneTrust functions on my application I used OneTrust.BlockGoogleAnalytics() and now I can not see the data layer pushs on the GTM/GA Debugger extension.
Where, how do I revert this ...
0
votes
1
answer
3k
views
OneTrust Cookie Integration with Wordpress
My company are running some updates on our cookie policy. We were looking into OneTrust's cookie compliance. It seems to be a popular platform when it comes to Privacy and Security.
We've build our ...