Identify specific visitors

When a visitor comes to your site, Sendinblue Tracker will automatically cookie them.

Matching this cookie with an email address can be done in 2 ways:

  • By passing the email address to any method. To do so you've to identify your visitors through the tracking snippet
  • By calling the sendinblue.identify() function


The email address of a visitor is passed back automatically to Sendinblue only if this vistor have been identified as someone who has “opt-in”. This can be either:

  • They have the ability to log in and have accepted to receive emails in some way

  • They have previously received a transactional email and are sent back to your website via a link in that email

We will go over the 2 methods outlined above.

Identify a visitor through the tracking snippet

You can easily identify specific visitors by uncommenting this line // window.sib.email_id = '[email protected]’; in the tracking snippet and replace '[email protected] by the variable by which you can identify the contact.


Identify a visitor through the sendinblue.identify() function

The sendinblue.identify() method is used to identify the users who visited your website.

A common use case is to add all contacts identified on your website to a list on Sendinblue using an Automation workflow.

    properties /*optional*/
  • email_address is a variable string that should have the visitor's email as a value.
  • properties is a JSON object that describes the state of the visitor such as their email, age, gender, and location.


Properties and Contacts attributes

There is some similarity between Contacts attributes and the information you can pass onto the properties object. Indeed:


The following call will:

var email = '[email protected]'

var properties = {
  'FIRSTNAME': 'Thomas',
  'LASTNAME' : 'Bianchi',
  'id': '10001',
  'plan' : 'diamond',
  'location' : 'San Francisco'

sendinblue.identify(email, properties)