For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Help CenterAPI KeysStatusSign In
GuidesAPI ReferenceChangelog
GuidesAPI ReferenceChangelog
  • Getting started
    • Overview
    • Quickstart
    • Authentication
    • Rate limits
  • Messaging API
    • Send transactional email
    • Send transactional SMS
    • Send transactional WhatsApp
  • Marketing Platform
    • Manage your contacts
    • Track website activity
    • Send WhatsApp campaigns
    • Weekly event exports
  • Webhooks
    • Getting started
    • Conversations webhooks
    • Payment webhooks
    • Marketing webhooks
    • Transactional webhooks
    • Loyalty webhooks
    • Batched webhooks
    • Secure webhook calls
    • Meetings and phone webhooks
    • Push notification webhooks
    • Sales CRM webhooks
  • Conversations
    • Getting started
    • Customize the chat widget
    • JavaScript API reference
    • REST API reference
    • Conversations webhooks
  • eCommerce
    • Activate eCommerce app
    • Manage product categories
    • Manage products
    • Manage orders
    • Coupon collections
    • eCommerce tracker events
  • Loyalty
    • Overview
    • Set up a program
    • Enroll members
    • Credit & debit points
    • Read member data
    • Best practices
  • Custom Objects
    • Custom objects management
  • Brevo tracker and events
    • Getting started
    • JavaScript implementation
    • REST implementation
      • Identify users
      • Track link clicks
      • Track page views
      • Track custom events
    • Legacy tracker documentation
    • Events
  • Accounts and settings
    • Senders and domains
    • User activity logs
    • External feeds
    • Invited users
LogoLogo
Help CenterAPI KeysStatusSign In
Brevo tracker and eventsREST implementation

Track page views

Was this page helpful?
Previous

Track custom events

Next
Built with
Legacy Tracker Documentation

For the legacy tracker doc, check our guide here.

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

1curl --request POST \
2 --url https://in-automate.brevo.com/api/v2/trackPage \
3 --header 'accept: application/json' \
4 --header 'content-type: application/json' \
5 --header 'ma-key: YOUR_MA_KEY' \
6 --data '
7{
8 "email": "john.doe@email.com",
9 "page": "Checkout",
10 "properties": {
11 "title": "Dashboard",
12 "firstName": "John",
13 "lastName": "Doe"
14 }
15}
16'

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.