Use Web storage to persist data when cookies are disabled #4015
Labels
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
This is a proposal regarding http://piwik.org/faq/general/#faq_43
There are cases where cookies are not supported either because the browser (user) has disabled them, or because the tracking code is running under the file:// protocol and not the http:// protocol. The latter case applies to following scenarios (among others):
In order to be able to produce unique visitor ids on the client and persist them on the client side, the HTML5 localStorage and sessionStorage could be used a a fallback mechanism.
The proposed flow inside piwik.js could be like this:
Keywords: cookies HTML5 localstorage sessionstorage
The text was updated successfully, but these errors were encountered: