This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Description
All working fine so far, except for one issue:
- how do I remove the identification of a user, upon logout for example ?
I tried different things:
window.analytics.identify(null)
window.analytics.identify({ authenticationStatus: 'logout' });
but their are not triggering a return to anonymous (https://segment.com/docs/connections/spec/identify/#anonymous-id) but to no avail.
The hard way is to clean manually the localStorage
of all the ajs_*
keys.
Any ideas?