Advanced features
User identification
Attach a name, email and your own user id to a visitor with the identify call, so the live view, journeys and goal alerts show who they are.
Put a name and email on a visitor, usually right after they sign up or sign in. Their past and future visits stay attached.
window.supr("identify", {
user_id: "usr_123", // your own id (optional)
email: "ada@example.com",
name: "Ada Lovelace",
});- Identified visitors show their name and avatar in the live view, the User panel, their journey and the recordings list.
- Retention counts every browser identified with the same
user_idas one person, on any device. - Payments without a visitor id are matched to the visitor with the same email.
- Goal alerts can include
{{visitor.name}}and{{visitor.email}}. - Calling it again replaces the values.
- Names and emails are never shown on a public dashboard.
Payments also name visitors: the email and name from your payment provider are added to the visitor when they don't have one.
To send goals for a known user from your server, use their visitor id with the goals API at https://supranalytics.app/api/v1/goals.
AI agent or LLM? Read this page as Markdown