clarity
clarity copied to clipboard
Remove session cookies when opt-out
Removed the session cookies, instead of rewriting them with -Number.MAX_VALUE
+ Empty value
.
This previously was causing that the date generated was "Invalid date" and therefore, the cookie was remaining in the browser instead of being reased.
This can be seen in the bug I opened previously https://github.com/microsoft/clarity/issues/567
@microsoft-github-policy-service agree
This code has been generated on my personal time / with my personal laptop
@AbdelrhmanMagdy I saw that you approved this PR but its still missing another approval from Clarity team. Any chance you push forward this PR for another review ?
At the moment, we have to have the clarity script locally hosted with the custom code that has been added in this PR in order to remain GDPR compliant, and we are missing out the new bug-fixes / releases due this :)
Thanks in advance :)