# Function convertByTrackingId

- convertByTrackingId(accountId, trackingId, conversionRequest): Promise<ConversionResponse>

- #### Parameters

  - accountId: string
  - trackingId: string
  - conversionRequest: ConversionRequest

  #### Returns Promise<ConversionResponse>

  #### Description

  Record a successful conversion, such as an e-commerce purchase or account sign-up, using an arbitrary trackingId. When beginning the verification process, supply a trackingId, such as a customer's ID from an e-commerce platform. Later, after that customer has completed a purchase, provide that same trackingId and SheerID can correlate the conversion to that verification attempt. This allows for high-level reporting on the effectiveness of your SheerID program and account.

  - Defined in jslib/src/lib/ServerApi/ConversionApiClient.ts:35