Track page views

Legacy Tracker Documentation

For the legacy tracker doc, check our guide here.

This endpoint tracks your page views. Use the cURL request below:

$curl --request POST \
> --url https://in-automate.brevo.com/api/v2/trackPage \
> --header 'accept: application/json' \
> --header 'content-type: application/json' \
> --header 'ma-key: YOUR_MA_KEY' \
> --data '
>{
> "email": "john.doe@email.com",
> "page": "Checkout",
> "properties": {
> "title": "Dashboard",
> "firstName": "John",
> "lastName": "Doe"
> }
>}
>'

Parameters:

AttributeDatatypeDescriptionValue
emailStringEmail used to identify the userjohn.doe@email.com
pageStringPage name”Checkout page”
propertiesObjectCustom fields. These user properties populate your contact database.See example above

Response

Response codeMessageDescription
204Page has been tracked successfullyPage tracked. No JSON response body is returned with 204.
400Bad requestIncorrect or missing parameters in the request.