Learn how to track lead conversion events with Segment and Dub
lead
event happens when a user performs an action that indicates interest in your product or service. This could be anything from:
Add Dub (Actions) destination
Configure Dub API Key
Add Mapping
Send lead events to Dub
@segment/analytics-node
SDK to send lead events to Segment.Make sure to include relevant user traits such as name
, email
, and clickId
in the payload.You’ll also need to ensure that the clickId
field is properly mapped in your Segment Actions destination so that it’s forwarded correctly to Dub.Property | Required | Description |
---|---|---|
clickId | Yes | The unique dub_id parameter that the lead conversion event is attributed to. |
eventName | Yes | The name of the event. Example: “Sign up”. |
customerExternalId | Yes | The unique ID of the customer in your system. Will be used to identify and attribute all future events to this customer. |
customerEmail | No | The email address of the customer. If not passed, a random email address will be generated. |
customerName | No | The name of the customer. If not passed, a random name will be generated (e.g. “Big Red Caribou”). |
customerAvatar | No | The avatar URL of the customer. If not passed, a random avatar URL will be generated. |