We'll be with you in a second ;)

Smart attribution

Docly Child

Dynamic parameters: affiliate network

Estimated reading: 4 minutes

Macros can be very useful, but not all affiliate networks support them. Usually, there are several ‘empty’ parameters available for integrations (one of them should be used for passing the click id value). These ’empty’ parameters do not contain any information themselves and are used to receive parameters (click ids, campaign ids, source ids) and then send this info back where/if needed.
However,  some of the networks provide additional information through the dynamic parameters.

Every tracking solution – including RedTrack – requires a postback integration to receive conversions from the affiliate network and send them to the traffic source when needed. The integration process requires the usage of dynamic parameters (macros/tokens).

In general, this integration is established in 3 simple steps:

1. Add the click id parameter to the Offer URL.

You will need to use both the network and RedTrack parameters.

Remember: you are to send RedTrack parameter to the affiliate network, and thus the macro order will be as follows:

Our click id data will be recorded under affiliate_network_parameter in your network account.
This parameter can have various names, starting from clickid and ending with some abstract ones, such as aff_sub or utm_medium.

2. Add the click id parameter to the postback URL.

Again, you will need both the corresponding parameters from the network and RedTrack here.
The only difference is in the macro order: since the postback URL sends click id data recorded in the network back to RedTrack, the order will be opposite to the offer.


This parameter is inserted with the specific placeholders used by your network ({}, [], ##, etc.) and should be the same as used in the offer URL (offer_url?affiliate_network_parameter={clickid})

3. Add the postback URL to the Affiliate Network.

Just grab the URL with the replaced click id parameter (the one described in step 2) and copy it to your affiliate network postback settings. We recommend using it for a global postback if there is such an option.

Receiving additional parameters

Some affiliate networks have dynamic parameters with data ({status}, {targetid}, {campaignid}, etc.). You can use this data for your campaigns: to track them in RedTrack and send to your traffic source campaign. To do that, you need to put these parameters to your affiliate network postback URL. It’s very simple – RedTrack allows you to do that automatically:

Go to your Network settings -> scroll down to Postback sub IDs -> put them into the available fields.
You may have noticed that the parameters you put in subID fields appear in the ‘postback URL’ field.

After you finish adding them, simply grab the generated ‘postback URL’ and put it to your affiliate network postback (preferably under the global postback).

Sending additional parameters to the traffic source

Yes, it is also possible – RedTrack has a set of ‘empty’ parameters exactly for that purpose. Make sure you need it, though: some traffic sources want to receive extra parameters, while most of them do not even require any conversion postback at all.


Your custom parameters for

Affiliate Network -> RedTrack -> Traffic Source 


How does it work?

Assuming you have set the postback integration with your Affiliate Network and it supports additional parameters (in this example – {status} and {targetid}), let’s return to your Traffic Source settings in RedTrack.

We will need to adjust the postback URL with the corresponding parameters:

Note: your Traffic Source should support receiving these parameters. In our example, we used {status} and {targetid} macros. To get info on the parameters you can use, ask your account manager.

Simply put, you will see your affiliate network {status} data received via the postback with conversion under your traffic source ‘status’ parameter and {targetid} under the traffic source ‘target_id’ parameter in your traffic source account.