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:

http://event.attendstar.com/event/show/god-of-all-glory-belleville

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

Each ticket = 1 point

Also the cart is located at event.attendstar.com/……

And sign-up is at attendstar.com/partner

Is this a problem?


Comments

One response to “Code to add to thank you page”

  1. 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 : http://www.itthinx.com/documentation/affiliates/api/
    API docs : http://api.itthinx.com/affiliates/function-affiliates_add_referral.html
    Advanced skeleton implementation : https://github.com/itthinx/affiliates-product-rates-skeleton

    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.

Share