Here’s what the snippet looks like:
Next, you’ll need to identify your users to us. Add this identify function in your html, beneath the previous snippet.
We require that you send
id (a unique user id),
created_at. You can also send us any addtional user attributes that are of value to you. Here we are sending the optional attributes
plan_name. You can use these attributes in the body of an email, or you can use them to segment your users.
Important things to know
We only track activity after a user logs in. We do not track anonymous user activity.
To update a user’s attributes, just send the “identify” call again with the same
idand the new attribute values.