clarity icon indicating copy to clipboard operation
clarity copied to clipboard

Remove session cookies when opt-out

Open mmonteiroc opened this issue 10 months ago • 3 comments

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

mmonteiroc avatar Apr 03 '24 12:04 mmonteiroc

@microsoft-github-policy-service agree

mmonteiroc avatar Apr 03 '24 12:04 mmonteiroc

This code has been generated on my personal time / with my personal laptop

mmonteiroc avatar Apr 03 '24 12:04 mmonteiroc

@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 :)

mmonteiroc avatar Aug 28 '24 11:08 mmonteiroc