21 Sep 2020 12:07 PM - last edited on 15 Jul 2022 10:16 AM by MaciejNeumann
Hi,
I am implementing a cookie banner to comply with the EU Cookie Law.
Reading the dynatrace documentation I thought that enabling cookie opt-in mode would stop Dynatrace setting any cookies until dtrum.enable() is called.
This appeared to be the case, if I cleared the cookies and refreshed the page the cookies were not set but if I cleared cookies and local storage and then refreshed the page the cookes were set.
Am I misunderstanding what cookie opt-in mode should prevent?
Thanks,
Pete
Solved! Go to Solution.
21 Sep 2020 01:50 PM
Dear Peter,
after you first used dtrum.enable(), we keep a backup of the cookie in the local/session storage. To stop sending data with Dynatrace use dtrum.disable().
Find more here: https://www.dynatrace.com/support/help/shortlink/configure-rum-privacy#opt-in-mode
kind regards
Thomas
21 Sep 2020 04:53 PM
Hi Thomas,
Thanks very much for the response. My problem is that the cookies are being set before I call dtrum.enable() on a browser with no previous cookie, local storage, session storage.
Thanks,
Pete
22 Sep 2020 08:50 AM
That's odd! Then I'd suggest you please open a support ticket with us such that we can have a look at this!
Thanks in advance!