Advanced
Setting user data
You can set user data by calling the setUserData
function. This function takes an object with the following properties:
email
: The user’s email.userMeta
: The user’s metadata.
You can use the userMeta
to store any additional information about the user, e.g. their name, subscription tier & status, etc.