User Identification
When a user logs in to your app, you can associate them with their anonymous visitor profile. This lets you see which identified users generated which events.
window.revly.identify({
userId: 'user@example.com',
name: 'Jane Doe'
})The userId field is required. You can include any additional traits (like name, plan, etc.) as extra properties.
Once called, the association persists in the browser's local storage. All future events from this visitor will include the identified user ID — even across page refreshes. To reset the identity (e.g., on logout), clear local storage key __revly_uid.
Need help? Reach out at contact@revly.pro