For the legacy tracker doc, check our guide here.
Use the Brevo.identify() method to identify users who visited your website. It works as follows:
Brevo.identify() is called, Brevo associates this cookie with an email.Brevo.identify() is called for a contact that already exists, Brevo updates its contact attributes based on the payload of the call.To identify your visitor, call the Brevo.identify function like this:
The parameters are defined below:
When sending attributes:
Contact attributes and the data you pass in the properties object overlap.
If the contact exists in Brevo, attributes matching Properties are updated each time Brevo.identify() is called.
properties that do not correspond to existing contact attributes can only be used in your automation workflows, unless you add them as attributes from your Contacts section or via the Brevo API.
Example