Profiles

We turn visitors into profiles when you send custom user data via setUser() method.

Visitor journey & profile
Visitor journey & profile.

Profiles are a way to keep track of your authenticated users — those with a persistent ID in your application, such as userId or email — and are an excellent tool for analyzing user behavior when combined with user journeys. Send in any user properties, so you can later explore them by clicking on a specific visitor on the visitors page.

Some of the features that use profiles:

  • Churn and engagement filters
  • Stripe integration
  • AI-powered insights
Filters, Stripe, and AI features
Activity filters, Stripe, and AI features.

With both profiles and custom events, you are all set for a simple yet powerful product analytics.

How to identify a user

We merge users by either userId or email. If we receive a field that is already set, it gets overwritten.

Use the setUser() method to identify a visitor and set custom properties to their profile (available in both client and server libraries).

// could be done from client or server
seline.setUser({
userId: "unique-user-id", // unique userId OR email is required
name: "John Wayne", // name will be displayed at the visitor list and profile
plan: "enterprise",
credits: 140,
projects: ["Project A", "Project B"],
// ... and any other custom properties; values can be in any format, but will be stringified.
});
Click anywhere to copy

We recommend identifying the user every time their session starts, so all their page views and custom events are tracked properly.

We do not share or sell your visitors' data with any third parties. However, when sending sensitive data to us, such as email, name, address, etc., make sure to comply with your local data protection laws and regulations. Read more at our Privacy Policy page.

Our identification method works without cookies or local storage by default. But for smoother experience, it is recommended to save visitor IDs as a first-party cookie for this feature via cookieOnIdentify option.