Frequently Asked Questions
Landing page builders

Custom Affiliate Network Integration

How to integrate a custom affiliate network in AnyTrack

Before you begin

Tracking conversions from affiliate networks that you did not find in the catalog, you should search and/ or select "custom".

You will need the following info in order to complete the integration.

  1. Click Tracking query string: What is the query string to pass to the affiliate link? For example: hasoffers is &aff_sub={click_id} or &aff_click_id={click_id}

  2. Postback Tracking parameters: What are the placeholders that should be added to the AnyTrack postback URL?

https://postbackurl.io?click_id={aff_sub}

If you can't find this information, please fill this form or send it to your affiliate manager.

Integration steps:

  1. Name the affiliate network

  2. Add the affiliate network's login page

  3. Postback Tracking settings:

    1. Fill each field accordingly and Save This example below is for Zanox.

4. Upon saving, AnyTrack will create and display the postback URL

Conversion logic:

Because not all affiliate networks have the ability to send a conversion type parameter in the postback, we apply a conversion logic based on the values sent in the conversion.

  1. A conversions recorded with 0 commission value will trigger a "lead" conversion event.

  2. Conversions recorded with a commission > 0 will trigger a "sale" conversion.

If you wish to use a different logic or use specific conversion names, please follow these guidelines:

Conversion type parameter

  1. Add &conversion_type=lead to the postback URL

  2. The conversion types supported are*: acquisition, sale, lead

*Conversion Types are case sensitive.

Conversion types mapped to third party analytics

Conversion type

Google Analytics

Facebook Pixel

Allows Duplicates

lead, cpl

AnyTrack Lead

Lead

false

acquisition, cpa

AnyTrack Acquisition

CompleteRegistration

false

sale, cps

AnyTrack Sale

Purchase

true

The default postback url provided by AnyTrack:

post
Postback URL end point

https://t1.anytrack.io/:accountId/collect
Request
Response
Request
Path Parameters
collect
required
string
The postback end point preset when generating the postback url
accountId
required
string
Your unique account id preset when generating the postback url.
Query Parameters
conversion_type
optional
string
lead, acquisition, sale or according to naming policy above.
currency
optional
string
The 3 letters currency code. Read more here
transaction_id
optional
string
A unique transaction id generated and sent by the affiliate network for each conversion.
brand_name
optional
string
The offer name or product name.
commission
optional
number
The commission amount for the conversion
click_id
required
string
The unique `click_id` value sent to the offer link during the click event.
custom
required
string
The affiliate network name as set during the network creation process.
Response
200: OK
[
{
"statusCode": 200,
"data": {
"nid": "gfrhuVSx",
"iid": "custom-integromat",
"receivedAt": "2020-10-22T09:31:09.797Z"
},
"fileSize": 84
}
]
https://t1.anytrack.io/IqbY3nLd/collect?custom=custom-newtest
&click_id={subid}&commission={commission}&transaction_id={refid}
&brand_name={brand_name}

When adding it to your network, just add the conversion_type query string and the name of the conversion.

https://t1.anytrack.io/IqbY3nLd/collect?custom=custom-newtest
&click_id={subid}&commission={commission}&transaction_id={refid}
&brand_name={brand_name}&conversion_type=lead

Click Tracking Settings

In order for AnyTrack to track your affiliate links, you will need to update your affiliate links with the correct query string and the AnyTrack {click_id} placeholder.

There are two methods to update the links:

1. When you publish the offer links "as is" on your site ":

https://offerlink.foo?aff_id=asdf&offer_id=123

then you will update the link with the query string and zpar4={click_id} placeholder.

https://offerlink.foo?aff_id=asdf&offer_id=123&
zpar4={click_id}

2. When you publish your offer links behind a redirect URL, add the query string and placeholder as described.

https://yousitelink.foo/redirect/offerzanox?zpar4={click_id}

In both cases, AnyTrack will AutoTag the link with the {click_id} value.

You must ensure that your redirect URL can pass the parameter to the destination URL. This is a standard feature with most redirect plugins. Learn more

Troubleshoot conversions tracking

Not seeing conversions? You can see the exact payload sent by the affiliate network in the debugger.