Field | Type | Required | Description | Example |
---|---|---|---|---|
clickId |
string | ✔️ | The ID of the click in th Dub. You can read this value from dub_id cookie. |
|
eventName |
string | ✔️ | The name of the event to track. | Sign up |
externalId |
?string | ➖ | This is the unique identifier for the customer in the client's app. This is used to track the customer's journey. | |
customerId |
?string | ➖ | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. This is the unique identifier for the customer in the client's app. This is used to track the customer's journey. |
|
customerName |
?string | ➖ | Name of the customer in the client's app. | |
customerEmail |
?string | ➖ | Email of the customer in the client's app. | |
customerAvatar |
?string | ➖ | Avatar of the customer in the client's app. | |
metadata |
array<string, mixed> | ➖ | Additional metadata to be stored with the lead event |