You can easily track the user activity like performance data and errors using error tracking. You can use the atatus.setUser() function to set the tracker.

Syntax

Parameter

Example