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 a week ago

Manually add conversions that should be already attributed to the affilaite

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 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 affiliate for all future conversions of the customer

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 service called Postman.

  • Install and open Postman

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

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

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

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

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


​Adding information to the request

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

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

    cid click.png
  • revenueOriginId and tenantId values you can find in the Settings page

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

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

  • Under External CID column you will now see email

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

    email EXT CID.png
Did this answer your question?