Tracking
Track a lead event
Track a lead for a short link.
POST
Track a lead
Conversion tracking requires a Business plan
subscription or higher.
Deduplication behavior
Lead events are automatically deduplicated to prevent duplicate tracking:- Events are deduplicated based on the combination of
customerExternalId(the user ID of the referred customer within your database) andeventName - If you send multiple lead events with the same customer ID and event name, only the first event will be tracked
- Subsequent duplicate events will return
nulland won’t be tracked
Body
application/json
The unique ID of the click that the lead conversion event is attributed to. You can read this value from dub_id cookie. [For deferred lead tracking]: If an empty string is provided, Dub will try to find an existing customer with the provided customerExternalId and use the clickId from the customer if found.