Using the Goal Retrieval and Shopping Cart Integration

The Goal Retrieval XML feed allows you to remotely fetch information regarding goals and commission from the Aflite server.

Go to: "Merchant Account > DATALIVE"

Uses

  • Test if a sale resulted in a goal
    You may wish to know if a sale resulted in a goal programatically. If no goal is returned the sale was not resultant from an affiliate.
  • Integrate into shopping cart system
    You can retrieve commission values into your shopping cart system if you would prefer to keep your data in a central location.

How to use fetch a goal

You must always attempt the Goal Retrieval after the tracking event otherwise a false negative will be returned. Make a call to the below url including the correct variables:

http://aflite.co.uk/data/goals?apikey=[API Key]&mref=[Merchant Reference]

Variables

Variable Example Description
apikey abc123 Your api key
mref abc123 Merchant Reference you sent in the mref variable
help 1 or 0 (Optional) this help

Variables can be sent to http://aflite.co.uk/data/goals as either GET or POST.

Need more help?

Support Chat
E-mail
Call us
0844 800 9672