microsoft / ApplicationInsights-JS

Microsoft Application Insights SDK for JavaScript
MIT License
650 stars 240 forks source link

option to disable cookies completely #335

Closed pelikhan closed 8 years ago

pelikhan commented 8 years ago

In order to use AI with a customer, we need to remove all cookies. There is already Util.canUseCookies(), could this function take an global option to disable it? Same for localstorage.

KamilSzostak commented 8 years ago

JS SDK is using cookies to store session and user ids. If you decide to disable them you won't be able to benefit from metrics associated with those two values.

I'll expose a configuration to disable cookies in a next release.

pelikhan commented 8 years ago

Privacy requirements from the customer. Other APIs like MixPanel offer complete control over how much data is stored on the client. Thanks for the quick answer!

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.