Skip to main content
All CollectionsIntegrationsAdvanced Integration Options
How to Manually Attribute a Stripe Customer to an Affiliate?
How to Manually Attribute a Stripe Customer to an Affiliate?
David Rolenc avatar
Written by David Rolenc
Updated over 3 months ago

Manually add conversions that should be already attributed to the affiliate

In order to attribute conversions that should already be connected to the affiliate, you will manually create a conversion - select a click in Click report and use the Create conversion button in the opened sidemodal.

Select all required information - Conversion type, Amount if selected conversion type is dynamic, and Conversion type, and create the conversion.

How to add the attribution to an affiliate for all future conversions of the customer

A customer can be manually attributed for all further purchases by connecting a click with External CID by API.

In this example of attribution, we will be using a service called Postman.

  • Install and open Postman.

  • Create new POST request (shown in the screenshot below where it can be seen).

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

    • Make sure to replace TENANT_ID with your actual tenant ID; you can find it in the bottom of the settings page.

  • Add the following request body (shown in the screenshot below, accessible in the Body section, subsection raw)

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


​Adding information to the request:

  • externalCid - you will add the email of the user that is present in the Stripe contact.

  • cid - this value is copied from a Click report, ideally taken from the same click that you added the manual conversion for, or if this step was skipped, you select cid of a click that the affiliate referred to you as the click of the referred customer.

    cid click.png

  • revenueOriginId and tenantId values can be found on the Settings page.

    2023-10-18 23_49_27-Settings – test-company-592023.png

    Now you can run the request and see if the result is present in the Click report.

  • Under the External CID column, you will now see the email.

  • From now on, all payments of the Stripe customer will be referred to the affiliate that brought the click.

    email EXT CID.png
Did this answer your question?