User
Visitors are anonymously tracked using session ids throughout your site. But when visitors identify themselves at login, signup or checkout, you may pair a session id with a user to identify the entire chain of events one user has carried out over time.
1
/* Identify a user */
2
zlt.track('user', {
3
'user_id':'[email protected]',
4
'email':'[email protected]',
5
'first_name':'John',
6
'last_name':'Doe'
7
});
Copied!
The user_id should be a unique identifier. It can be an email address or any other identifier of choice.
Last modified 11mo ago
Export as PDF
Copy link