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 Analytics, allowing you to identify and track users across sessions.

Identifying users

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

This will send a request to the Anzu API, requesting to link the current Analytics user to the provided user identity. You should call identify every time a new user would be created in Analytics, 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.