Code preference:

Marketing Automation FAQ

What are webhooks?

A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST.

You can create a webhook in your marketing automation scenario workflow by providing a unique web url. We will send a post request every time, your users reach webhook action node.

What are JS/API Attributes?

These are user properties which can be sent via identify call. For e.g. in the following identify call, name, country, state are attributes.

What are JS/API Events?

These are custom track events which you can sent to us for various actions that your users take. e.g. following track event calls will create two events product_purchased and file_download.

What is the difference between Identify & Track events?

Identify call is used to let us know your customer by sending us unique customer Id, email Id and optional parameters like name, country etc.

Track events are used to track specific actions taken by your users like product purchase, file download etc. You can use track function to let us know the actions taken by users.

A sample track event, when a user purchased any product can be called like this:

How to create custom events?

Custom events can be created using track function. A sample track event, when a user purchased any product can be called like this:

Here you need to pass the name of event (e.g. product_purchased) and optional data.

For more detail on track function, click here

How do we identify a visitor on your website ?

You need to let us know, who the current user is. It includes the unique user id, email_id and optional parameters. By default, Sendinblue drops a cookie, every time your users click any link in the emails sent by you, using Sendinblue platform.

This cookie contains information about your users like email_id, which uniquely identifies your users. When you paste the snippet in your website, we track this cookie and send it to our server. Through this cookie, we can identify the user.

However, you can manually over ride this by calling identify function. Here is what a basic call to identify look like:

This function will identify user James Clear with user id 10001 and email_id You must call identify as soon as you have information about user on your website e.g. after sign up or login page.

For more detail on identify function, click here