Postbacks and integration

Traffic tracking is processes using postback requests. The postback can create a lead by click ID or flow ID. If you need postback-free integration, check out the tracking via pixels guide.

Integration

The tracker contains ready-made templates for integration with popular affiliate networks and platforms. In the flow settings, go to the "Integration" section and select the network you are interested in. If your favorite network isn't listed yet, contact support - we'll add it for you.

Postback settings

In the integration settings, check the box "Automatically add click ID to link" and all links in flows will be adjusted to the selected network. You can set up the links manually by specifying the {click} macro for our click ID in them. When working with local sites, add a field with this macro to the form - it will be substituted automatically.

<input type="hidden" name="subid" value="{click}" />

After selecting a network, sample postbacks will be shown in the integration block. Put them in the network settings in the appropriate fields, for example, in the global postback or postbacks for deposit and registration.

Manual postback settings

You can compose a postback request yourself. A sample postback with your code and parameters for the click ID is shown in the integration section.

https://www.altercpa.red/api/track/postback.json?id=TOKEN&click={click}

Available query options:

For a complete list of parameters and possible response formats, see API manual about the postback function.

Working with custom statuses

The tracker can recognize statuses automatically and adapts to most affiliate networks. But sometimes it's useful to specify which statuses to consider as a new order, which ones to consider as approved, what to send to trash.

The following parameters are used to specify special statuses:

Each parameter can contain either one status or several statuses separated by commas. Statuses are case-insensitive and special characters are ignored - you don't need to care of them.

Important! The hold status in our tracker is not a pending status. This is a delayed confirmation - leads that are confirmed but not yet paid. It is involved in the calculation of approval and EPC. Don't use it as pending status.

For example, when working with the KMA network, the following statuses are used: A - approve, D - cancel, F - trash, P - new order. The parameters will look like this:

stn=P&sta=A&stc=D&stt=F

Working with customer data

The tracker allows you to collect and store the data of buyers that they enter on the sites. You can remove the postback for a new lead from the affiliate network and instead send a new lead to the tracker from the thank you page.

The following fields are available to you:

Lifehack: you can send leads to the affiliate network using the lead creation postback in the flow settings. Read more about this form of perversion here.

Working without click ID

Working with leads can be done in two ways - by click ID or by flow ID. The second option can be useful in situations where there is no concept of following a link, for example, when working with applications.

When working with a click ID, you need to specify it in the click parameter. When working with a flow ID, you need to specify the parameters flow with a character flow ID and subid with a unique lead ID.

The use of subid is strictly required. It is subid that is used to identify unique leads. It is recommended to send data about geo, IP-address and tags in postback.

Postbacks log

All postbacks that arrive in the tracker by your leads are saved in the “Incoming postbacks” subsection of the “Logs” section. The following information about postbacks is available to you:

You can view detailed information about the request if you click on “Show” in the “Info” column: