Identify
Identify users in your application for widget rules
identify(data)
Identifying your users will help you find their sessions in the Tolstoy dashboard, and apply specific rules and behaviours on their widget’s display.
It’s recommended to call identify right after your user’s signup/login, when you have identifying data to use (such as email, signup date, etc.).
Parameters
Required params for identifying the user, one or both of the following:
Your user’s sign up date.
For example: 2021-08-27
.
Add any additional attributes (maximum of 100 attributes)
YYYY-MM-DD
Single Tolstoy Code
If you want only a single widget on a single page you can also load just the Widget ID
Tolstoy users
If you know the logged in user you can add his email for better tracking.
If you want to add specific Rules & Triggers on users you can skip this and use Identify.