Comment on page
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.
The user_id should be a unique identifier. It can be an email address or any other identifier of choice.