FinanceAds integration

This guide shows you how to use tracking IDs to facilitate affiliate programs via FinanceAds. If you're not familiar with tracking IDs please consider reading this section first:

pageTracking IDs

Step 1: Register as a FinanceAds affiliate partner

In order to use FinanceAds to get more traffic on your investment process, please contact them to set you up as a affiliate partner. Finance Ads will provide the affiliate partner with a unique URL that identifies the affiliate partner. The affiliate partner will use this URL to forward the user to the platform's website.

Once you've registered with FinanceAds please notify your partner manager that you want to use the FinanceAds integration so that we can set it up work you.

Step 3: Add FinanceAds to your platform website's code

In order for the integration to work you need to edit your platform website (hosted outside of Cashlink).

Include the following snippet on the platform's website:

<script>
var faCookieExp = 90;
</script>
<script src="https://fat.financeads.net/fpc.js"></script>

If a user visits the website redirected from an affiliate partner the cookie will store a session ID. You need to pass this session ID to the investment process hosted by Cashlink so that the investment can be associated with the affiliate partner. You do this by adding the session ID as a tracking ID to the campaign link you're showing to the user. The tracking ID must be prefixed to distinguish between usual tracking IDs and the ones used for financeAds. This could look similar to this:

if(Cookie.get("faSID") !== null) {
    var s_id = Cookie.get("faSID")
    var campaing_link = campaign_link + "?tracking_id=finad_"+ s_id;
    // update the link ...
}

When the user clicks on the campaign link with the tracking ID included, the data is set in the Cashlink database. As soon as the issuer accepts the investment offer, the session ID information is sent to FinanceAds and the investment is attributed to the affiliate partner.

Last updated