Here are a few gotchas to avoid while using LogRocket.identify:
LogRocket.identifyonly accepts strings as UIDs. Make sure to cast your UID to a string before calling this function.- There is no need to call
LogRocket.identifyfor anonymous or logged out users. We use sessionStorage to persist sessions across pages for logged-out users. - If
LogRocket.identifyis called multiple times during a recording, you can search for any of the identified users in the session.
