Every time a user opens your application in a new context (device, browser, etc.), they are assigned a unique identifier that is persisted in their browser's local storage. This identifier is sent with every event that is pushed to Anzu Insights, allowing you to identify and track users across sessions.

Identifying users

Since Insights considers a different browser or device a completely different user, you may want to connect Insights users to User Management user identities to identify users across devices and browsers. To do this, you can use the identify method in the Insights script.


This will send a request to the Anzu API, requesting to link the current Insights user to the provided user identity. You should call identify every time a new user would be created in Insights, such as when a user signs in from a new device or browser. You can invoke the identify function more than once and it will gracefully update existing links.