How To Integrate Your Marketplace With Endorsely

Marketplaces, especially those with multiple payment methods, can integrate with Endorsely using our custom API endpoint.

This bypasses any individual payment method, making it far simpler to manage if you use multiple payment methods, and allows you to instead push sales data to our endpoint when sales are made.

Note: this method requires a conversion to be tracked when an account is created, before any purchases are made.

Part 1: The Frontend Script

To do this, use our “Manual” integration option during the Setup process:

To bypass the need to integrate multiple payment processors, you install the front-end Endorsely script on your marketing site as usual. 

This will use our tracking methods to track the referral clicks sent via your affiliates to your site.

For marketplaces who have an account creation process before you can purchase a product, a “Conversion” should be linked to an account creation, rather than a product purchase.

When a user creates an account, this is then logged as a conversion (with a value of $0).

This logs the user, along with the ID of the affiliate (as shown in the tracking link), and this customer is forever connected with the affiliate.

(You can send anonymized customer ID data as a hash.)

This allows the affiliate to see that a conversion has occurred (they have referred a customer who has created an account on the marketplace, but who has yet to make a purchase).

They will now know that they are in line to potentially earn commissions from this customer’s future spend.

Part 2: Pushing Future Sales Data To The Endorsely Endpoint

The customer ID is linked to the ID of the affiliate who referred them forever.

Then it is just a matter of tracking this customer’s spend over time, and pushing this data to our API endpoint to credit the affiliate with their commission for that order value.

To do this, you will need to connect with our API to push this data, so we can display it for affiliates in the Endorsely dashboard:

You will need to create a basic script that:

  • scans through your existing customers
  • finds which ones are connected to a an affiliate referral
  • checks for any new purchases on your marketplace from those customers
  • and pushes this data to the Endorsely API endpoint.

We recommend you run this script at least as often as every 24 hours.

Then, we pull this data into the Endorsely dashboard, so the affiliate can see that customers they have referred to your marketplace have spent money, and they can see their earnings from their commission on those purchases.

This enables you to track conversions on your marketplace, without adding 5+ integrations for all the payment processors you use.

Leave a Reply

Your email address will not be published. Required fields are marked *