Conversions [BETA]
Track a lead
Track a lead for a short link.
POST
/
track
/
lead
Authorizations
Authorization
string
headerrequiredDefault authentication mechanism
Body
application/json
clickId
string
requiredThe ID of the click in th Dub. You can read this value from dub_id
cookie.
Minimum length:
1
eventName
string
requiredThe name of the event to track.
Required string length:
1 - 50
externalId
string
default: This is the unique identifier for the customer in the client's app. This is used to track the customer's journey.
Maximum length:
100
customerId
string | null
deprecatedThis is the unique identifier for the customer in the client's app. This is used to track the customer's journey.
Maximum length:
100
customerName
string | null
Name of the customer in the client's app.
Maximum length:
100
customerEmail
string | null
Email of the customer in the client's app.
Maximum length:
100
customerAvatar
string | null
Avatar of the customer in the client's app.
Maximum length:
100
metadata
object | null
Additional metadata to be stored with the lead event
Response
200 - application/json
click
object
requiredcustomer
object
requiredWas this page helpful?