JS Implementation

The JS implementation of Sendinblue Tracker works in the same way as Google Analytics:

  • As soon as a new visitor comes to a website, we'll drop him a first cookie with a unique identifier.
  • Each time the visitor loads a new page, the script sends this information to Sendinblue together with the unique identifier.

All of this is done automatically for you.

In order to start taking advantage of Sendinblue Tracker using a Javascript implementation, you'll need to install a snippet manually or via Google Tag Manager.

📘

:bulb: For most plugins where we have a direct integration, adding the tracking script is as easy as turning on the automation in those plugins. No installation is required from you in this case.

Requirements

Get your tracking snippet from your Automation app settings.

2880

Get your Javascript Tracker Code from Automation > Settings > Tracking Code

Installation

Using a tag integration solution such as Google Tag Manager

Google Tag Manager allows you to add tags and code snippets to your website without having to manually edit your site's code. To integrate the Sendinblue script to Google Tag Manager you have to:

  1. Log in to your Google Tag Manager account and select the desired content
  2. Create a new tag, which you can name "Main Script – Sendinblue" for example
860
  1. Select the "Custom HTML" tag
  2. Copy and paste the tracking snippet in the space indicated. You can find the tracking script in the Marketing Automation settings
926
  1. Save this new tag and then publish the container

:+1: And that's it, you've now installed the tracking script on your website through Google Tag Manager.

Manual installation

You have to copy/paste the code snippet in your header, just before the tag of each page you would like to track.

Once the snippet is set up, the tracking ID status will display as “verified”.

2046