Skip to main content

How to Manually Attribute a Conversion to an Affiliate?

Written by David Rolenc

There may be times when you need to manually attribute a conversion to a specific affiliate. This guide explains how to retroactively add missed conversions and how to set up attribution so that all future activities from that customer are correctly tracked.


1. Manually Add Conversions That Should Already Be Attributed

In order to attribute conversions that should already be connected to the affiliate, you will need to manually create a conversion.

  1. Navigate to your Click report and select a specific click.

  2. Click the Create conversion button located in the opened side modal.


  3. Fill in all required information: Conversion type, Conversion status, and Amount (if the selected conversion type is dynamic).

  4. Create the conversion.

Correcting Misattributions: If a conversion is attributed to a different affiliate who is not supposed to be the assigned affiliate at the moment, simply change the status of that conversion to Rejected. Once rejected, you can create a new conversion with the correct attribution by following the steps above.



2. Add Attribution for All Future Conversions

An admin can manually add, edit, or delete an External CID on a click directly within the Click report to ensure future tracking. You can do this by either selecting a click and modifying the External CID in its side modal, or by using the same options available directly in the associated click's column.

Important Note: This method of assigning attribution for all future conversions is valid only for integrations that use an email or a unique user identifier.


Alternative Method: Connecting via API

Alternatively, a customer can be manually attributed for all further purchases by connecting a click with an External CID using the API (click here to go to the API documentation).


In this example, we will use a service called Postman:

  1. Install and open Postman, then create a new POST request.

  2. Add the following URL: https://TENANT_ID.trackdesk.com/tracking/external-cid/v1.

    • Make sure to replace TENANT_ID with your actual tenant ID, which you can find at the bottom of the Settings page.

  3. Add the following request body in the Body section (under the raw subsection):

    {
    "externalCid": "REPLACE_ME",
    "revenueOriginId": "REPLACE_ME",
    "cid": "REPLACE_ME"
    }

Defining the Request Variables:

  • externalCid: Add the email or unique identifier of the user.

  • cid: Copy this value from a Click report. Ideally, this should be taken from the same click you added the manual conversion for. If that step was skipped, select the CID of the click that the affiliate referred to you.

  • revenueOriginId and tenantId: Both of these values can be found on your Settings page.


3. Verifying the Setup

Once your request is configured, you can run it and check if the result is present in the Click report. Under the External CID column, you will now see the email or unique identifier.

From now on, all payments from this customer will be successfully referred to the affiliate that brought the click.

Did this answer your question?