useUser()
hook enables you to add properties and send tracking events to the current user.
userID
in the top-level Frigade.Provider
component to change userstrack
method with your existing tracking/analytics methodsuserProperties
object via the Frigade.Provider
component:
<Frigade.Provider />
addProperties
:
email
- The user’s email addressname
- The user’s full namefirstName
- The user’s first namelastName
- The user’s last nameimageUrl
- The user’s profile image URL