Stonly User ID
After you've installed the widget script on your website, we will automatically create a Stonly User ID to identify each visitor. It is also sometimes referred to as Anonymous ID.
To identify visitors, you need to define another ID, called Customer User ID.
Customer User ID
Inside the Stonly widget code, call the identify
method and pass a user ID, as shown in the media pane. It will become the visitor's Customer User ID.
We recommend identifying visitors by the same ID you already use in your system. For example, you can pass the usernames of logged in users as their Customer User IDs.
You can also use the widget code to assign customer properties and custom events to a user.