Code to add to thank you page

What code do I add to the “thank you” page to record the referral?

Here is my page:

The value I want to record is total tickets purchased not the sales amount.

Each ticket = 1 point

Also the cart is located at……

And sign-up is at

Is this a problem?

One Response to Code to add to thank you page

  1. kento June 24, 2013 at 4:15 pm #

    Hi Gary,

    You can use the API to record a referral based on the POST data you have on your thank-you page, resources:

    Basic API usage :
    API docs :
    Advanced skeleton implementation :

    You can use anything as the currency, POINTS instead of USD would be ok as well. The system will handle multi-currency and ‘made-up’ currencies as well.

    If the affiliate system is running on the main domain but the orders are taken on a sub-domain, it can be a problem unless you centralize everything or work with redirects. It depends on the requirements of your setup.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account