Track link clicks
Legacy Tracker Documentation
For the legacy tracker doc, check our guide here.
This endpoint allows you to send information about the link clicks. You can consult the sample cURL request below:
curl --request POST \
--url https://in-automate.brevo.com/api/v2/trackLink \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'ma-key: YOUR_MA_KEY' \
--data '
{
"email": "[email protected]",
"link": "abc.com/document.pdf",
"properties": {
"key": "value"
}
}
'
Parameters are defined below:
Attribute | Datatype | Description | Value |
---|---|---|---|
email | String | Email address to identify the user | [email protected] |
link | String | Link to be tracked | abc.com/document.pdf |
properties | Object | Contains your custom fields. These user properties will populate your contact database | See example above |
Response
Response code | Message | Description |
---|---|---|
204 | Link has been tracked successfully | No content is shown in message which shows link has been tracked |
400 | Bad request | Bad request due to invalid, missing or out_of_range parameters |
Updated 16 days ago
What’s Next