Skip to main content
Postback settings
Support avatar
Written by Support
Updated over 2 years ago

What is postback?

Postback is a mechanism for transferring data on the performance of an action (conversion) from an affiliate program to a tracker or any other third-party statistics system.

What is postback for?

You need a postback if you have a tracker or other third-party data accounting system installed. The postback makes it easier to work with the information received from the affiliate program.

How does the postback work?

You can insert a link with LuckyOnline postback macros in the postback field to send data about new leads or change their statuses. Most often, this mechanism is used to send data to trackers or other third-party traffic and lead tracking systems.

The Postback URL is the link by which the data you need will be sent. The postback URL is set in the relevant field in the flow settings. Also, in the flow settings, you can tick the events at which the lead will be sent.

The “PostBack URL” parameter will be useful if you need to automatically receive information about the status of orders.

Postback is a signal to your tracker if an order is made.

For example, if you track the conversions in a third-party statistics system or track conversions on traffic sources.

Postback macros are special code / codes added to the link, which are replaced with the corresponding values before sending data and help track traffic by available parameters.

PostBack requests will be sent to the specified address using the “Get” method. To pass parameters to a request, you can use the macros below:

  • {click_id} - the serial number of the lead in our system,

  • {status} - lead status (new, confirmed, rejected, trash),

  • {amount} - the amount of payments to the webmaster,

  • {click.country} - country,

  • {get.utm_source}, {get.utm_content}, {get.utm_term}, {get.utm_medium}, {get.utm_campaign}, {get.subid1}, {get.subid2}, {get.subid3} - utm- tags

  • {click_ts} - click time (format 2018-02-21 + 19: 34: 54)

  • {offer_id} - offer ID in an affiliate program

  • {click.ip} - order IP

  • {get.anyparam} - return any variable via get.

  • {currency} - currency (RUB, USD). The macro is filled in depending on the rates set in the affiliate program.

Example of the PostBack URL for transferring order status:

http://example.com/myscript.php?order={click_id}&profit={amount}&status={status}&country={click.country}&subid1={get.subid1}&utm_content={get.utm_content}&anyparam={get.anyparam} 

At the time of the transition, the macros will be replaced with the corresponding values.

What types of postback are there in LuckyOnline?

There are two types of postback in LuckyOnline: global and streaming.

Global postback is configured in the LuckyOnline profile and covers all offers and flows. To activate the global postback, activate the checkbox (option) - "Enable global Postback on all flows".

Streaming postback is configured when creating a flow in the “Postback URL” section. It is allowed to configure up to 5 streaming postbacks, which will send data in turn.

  • If the "Disable global postback" checkbox (option) is active (marked), then only streaming postbacks will be sent in this case.

  • If the "Disable global postback" checkbox (option) is not active (is not marked), then streaming postbacks and a global postback will be sent.

Did this answer your question?