-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to stop clarity to collect data. #75
Comments
Thanks, will take a look at it. |
Hello !!!!! Any news about that ? We implemented clarity in our system, in order to be GDPR compatible, if a user rejects cookies after have accepted them, we have to tell clarity to stop creating new cookies / OR / to stop working at all :) How can we do that without refreshing the instance of our application, so that we dont have a bad UX Thanks ;) |
Old question but I'll answer here for anyone that's still looking for clues like I was recently.
This answer + some experimentation did help me find a solution. In my experience calling Thanks to @dwootton :) |
How I should use this |
Simply execute You only need to do it once, and there won't be any collect POST request afterwards. |
Hii I am currently implementing clarity consent in my angular project as window.clarity('consent',false) showing me error with clarity is not function so if any one have idea about to remove cookie if user want to stop the data sharing once it accepted the cookie and then stop the cookie using general method implemented by me for disable cookie . So any one have idea what is next method .. |
Hello @SouchetJulie, @dwootton! I am trying to do something similar here #535, but I had no luck. Any idea what the problem might be? |
@SouchetJulie don't we need to remove the cookies also (as stated here - https://learn.microsoft.com/en-us/clarity/setup-and-installation/cookie-consent#erase-cookies)? PS: unfortunately the |
window.clarity('consent', false) should remove cookies now (as of 0.7.26). if you want to stop clarity from running, window.clarity('stop') will work as previously mentioned. |
It in fact does not work. We use that version in our project, and I had to open this bug #567 |
Is there a public method or a setting that can be set to false to stop collecting the data for clarity. we would need this to enable / disable clarity based on end user cookie consent.
The text was updated successfully, but these errors were encountered: