Please Note: For the Advanced Tracking API to function please ensure you enable Append Variables here https://aflite.co.uk/merchants/account/settings.php
API URL: http://aflite.co.uk/data/register/goal
| Variable | Example | Description |
|---|---|---|
| apikey | abc123 | Your api key |
| mid | abc123 | Merchant ID |
| clickSessionID | abc123 | Click ID passed by Aflite to you on each unique click through |
| goalid | abc123 | ID of the Goal |
| mref | abc123 | Merchant Reference |
| value | 10.99 | Value of the Goal |
| traceOnly | 1 or 0 | (Optional) will not record goal, data entered into Trace Report. Use when testing tracking installation. |
| help | 1 or 0 | (Optional) this help |
Variables can be sent to http://aflite.co.uk/data/register/goal as either GET or POST.
You should execute the API at the point in which the customer has completed the Goal requirements. This can be a sale, sign up or other desired action.
Once you have enabled Append Variables here https://aflite.co.uk/merchants/account/settings.php Clicks originating from an Aflite affiliate will carry two variables that are of use in this API.
Please note that affiliates have the ability to deep link to your website. Therefore for accurate tracking and happy affiliates the collection of the clickSessionID should be site wide.