Code preference:
Curl
Ruby
Php
Python
Node.js
C#
Java

Track Pages

Tracking Page method lets you capture page views on your website, along with optional extra information about the viewed page.

By default, it captures title, referrer, path, url, but you can overwrite it as per following example.

Javascript Example

sendinblue.page(page_name,[properties])

Here page_name is the name of your page. Properties will be a json object, in which you can pass url, path, title, referrer and any other property, which you want to track.

If either of url, path, title and referrer is not passed, then we will send it automatically.

PHP Example:

Download PHP API Wrapper

CURL Example: