Dub icon

Dub

Interact with the Dub API

Conversion → Track Sale

AI-generated

Summary

Track a sale conversion event attributed to a click in the Dub conversion system.

Inputs

  • clickId (required) — The unique ID of the click that the sale conversion event is attributed to
  • eventName (required) — The name identifying the sale event (1-255 characters)
  • customerExternalId (required) — The unique ID of the customer in your system (1-100 characters)
  • amount (required) — Sale amount in cents
  • additionalFields — Optional additional fields for the conversion event.

Output shape

Returns the API response from Dub tracking the sale conversion; typically a success flag and/or recorded event ID.

Mode parameter (async/wait/deferred) controls request processing via additionalFields.mode.

Links

Discussion