Identifying Your Users
TestFairy can automatically detect sessions recorded by the same user, however, in many cases there is some additional information that would help you generate better insights.
In order to set session level attributes associated with your user, please see the document on Session Attributes.
userId is a string representing an association to your backend. We recommend passing values such as email, phone number, or user id that your app may use. This value may not be nil, and is searchable via API and web search.
Example: Identify users by email address
setUserId: may be called many times, before or after begin.