User identification

Anonymous users

When a customer enters your website for the first time, they are anonymous.

However, their actions are already being tracked - a UUID is assigned and stored in an anonymous profile in the CRM. The same UUID is stored in the cookies of the customer's browser.

The anonymous profile stores information about the customer's activities, just like it does for recognized customers. The customer can now receive personalized recommendations on the website and be included in marketing campaigns.

Recognized users

When the customer provides an email address, the anonymous profile in CRM is updated with new data. It retains the UUID and becomes a known customer profile, which means that any activity before the customer was recognized is still present in the profile's history. A freshly-recognized customer sees personalized content, based on their previous interactions with the website as an anonymous customer.

Note: It's not necessary for a customer to register an account on your website. A non-anonymous profile may be created based on information provided in other contexts, such as subscribing to a newsletter.

Resetting user UUIDs

You can reset the UUID of a user to a value provided by your application. This can be used, for example, to separate the activities of several users who share a device.

To do so, store the new UUID in a _snrs_reset_uuid cookie.

Important: The UUID must be in the v4 format.

When the SDK detects that cookie, it reads the UUID and begins using the UUID in events. The SDK deletes the cookie automatically.

Note: The UUID should not be random. It should include a salt and the encoded customer identifier (email). Thanks to this, it is easy to retrieve the same UUID every time, reducing the need for merging duplicate accounts.
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.