Profiles

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

Seline's visitor journey & profile
Seline's visitor journey & profile.

Profiles are a way to keep track of your authenticated users — those with a persistent ID in your application, such as a email or userId — 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.

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

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

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 identify method works without cookies or local storage, however it might not be that smooth depending on your setup. It is recommended to save visitor IDs to local storage for this feature via cookieOnIdentify option.

Example

// from client or server
seline.setUser({
userId: "unique-user-id", // userId or email are required
name: "John Wayne", // name will be displayed on the visitor list and profile
plan: "enterprise",
credits: 140,
projects: ["Project A", "Project B"],
});
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.