Install Sendinblue tracker manually on your website [Advanced]

Installing the Sendinblue Tracker enables you to track, through Sendinblue, all of the pages on your website visited by your contacts. Once identified, contacts will be automatically added on Sendinblue and can be entered in your Marketing Automation workflows.

If you don't have a WordPress, Prestashop, Shopify website, or a tag integration solution such as Google Tag Manager, you can manually install the script onto your website.

We strongly advise you to ask your web developer to install the script, which should only take a few minutes.

❗️ Important
The Automation script only tracks identified users, i.e. users who've filled in their email address on your website or users who've clicked on your subscription form or in one of your Sendinblue emails for example.

Before we start

Copy the script & install it on your website

  1. You can find the script in the Marketing Automation settings > JS Tracker> A. Copy the following script
    tracker.png
  2. Paste the tracker script into your website just before the </head> tag

❗️ Important
It's best to install your script just before the </head> closing tag to avoid pasting within another tag.
If you don't have a </head> tag, you can add the script just before the </body> tag.

Identify your users

To target your communication, you first need the elements that allow you to do this. In short, you need to know your contacts. The first step vital to any further action is to identify them. Identifying your users means retrieving their email address, and other personal details.

You can check our dedicated article How to identify users for Marketing Automation and our technical documentation to learn how to identify your users.

If you want to check if everything is working fine, please check How to check if my contacts are identified.

Track the events

The general tracker and use of the Identify method are enough to build workflows based on the pages visited or on information provided during subscription. However, you can configure Sendinblue Automation to gather more specific information about the behavior of users who visit the website. 

The 3 custom events you want to track are:

  • cart_updated
  • cart_deleted
  • order_completed

Please refer to our dedicated article Advanced tracking for Marketing Automation.

Verification

Once the script has been added, you can first visit your website to make sure we get sample data to confirm the tracking is working and then verify in Sendinblue.

  1. Back in Sendinblue, go to Automation > Settings > Tracking code
  2. Select Tracker JS
  3. Click Verify at the bottom of the page
    Please visit your website before clicking on the Verify button. This activity on your website provides sample data to confirm the tracking is working correctly.verify.png

If the message "We could not detect the script, please try to install it again" is displayed, you need to verify that you pasted the script on your website and try again.

Checking the logs

Another way to check that it works properly by looking at the uploaded data in the Logs on Sendinblue.

Wait a few minutes after installing the script before checking to see if "page" data has been uploaded in the event logs.

You can also check yourself by logging onto your Sendinblue account and then visiting your website.

logs.png

🚀Create your Automation workflows 

You're all set to create your Automation workflows! We've gathered all the Uses cases in this section.

⏩ What's next?