Skip to main content
Probabilistic attribution for a long chain of redirects
Natalya Yefimenko avatar
Written by Natalya Yefimenko
Updated over 7 months ago

Before you begin:

Probabilistic attribution for a long chain of redirects

In probabilistic attribution, the chain of redirects can be more than four traffic sources.

If the whole chain of redirects is long, it's recommended to do the following:

use the {sub8} macro for the advertiser's tracking URL, and the &sub8 parameter for the probabilistic postback.

  1. Receive the offer ID and affiliate ID via the &sub8 parameter in your Affise tracking link.

    https://yourcompany.g2afse.com/click?pid=1&offer_id=1&sub8={sub8}|{offer_id},{pid}

    where:

    • &pid: affiliate ID on your side.

    • &offer_id: offer ID on your side.

    • &sub8: parameter for receiving offer ID and affiliate ID of your affiliate's sources.

    • {sub8}: offer IDs and affiliate IDs of your affiliate's sources.

    • {offer_id}: offer ID on your affiliate side.

    • {pid}: affiliate ID on your affiliate side.

  2. Pass your offer ID and affiliate ID, and as well as the offer ID and affiliate ID your sub sources via {sub8} macro to your advertiser:

    https://youradvertiser.g2afse.com/click?pid=1&offer_id=1&sub8={sub8}|{offer_id},{pid}

    where:

    • &pid: affiliate ID on the advertiser side.

    • &offer_id: offer ID on the advertiser side.

    • &sub8: parameter for receiving offer ID and affiliate ID of your sources.

    • {sub8}: offer IDs and affiliate IDs of your sources.

    • {offer_id}: offer ID on your side.

    • {pid}: affiliate ID on your side.

⚠️ Keep the indicated order of macros in the advertiser tracking link: &sub8={sub8}|{offer_id},{pid}. If you don't have sub sources, the order is: &sub8={offer_id},{pid}. If the order is incorrect, the system can't extract the needed data on the postback level.

3. Receive offer ID and affiliate IDs of all traffic sources (including yourself) via your postback link:

https://offers-yourcompany.affise.com/probattribution?sub8={sub8}

where:

  • &sub8: your parameter to receive offer IDs and affiliate IDs of all your sub sources, including yourself.

  • {sub8}: advertiser's macro to pass this data to you.

4. Pass the offer ID and affiliate ID of all your sub sources via the {sub8} parameter in the postback link to your affiliate:

https://offers-youraffiliate.affise.com/probattribution?sub8={sub8}

where:

  • &sub8: parameter of your affiliate to receive offer IDs and affiliate IDs of all his sub sources.

  • {sub8}: your macro to pass this data to your affiliate.

⚠️ If you use this scheme, there's no need to use the &offer_id and &pid parameters in the postback link. You can also use all the macros and parameters for probabilistic attribution, except these in the postback link.

🔎 It's recommended to set a local postback for your affiliates instead of a global one.

You can set the postback for the probabilistic attribution type of integration. The system sends via the link you set up only conversions with this type of integration.

Example scheme

The scheme: Affise client #4 Affise client #3 Affise client #2 Affise client #1 Appsflyer Affise client #1 Affise client #2 Affise client #3 Affise client #4.

Clicks

Client #

Affise tracking link sample

Example data

Client #4

client3.g2afse.com/click?pid=3&offer_id=3&sub8={offer_id},{pid}

client3.g2afse.com/click?pid=3&offer_id=3&sub8=4,4

Client #3

client2.g2afse.com/click?pid=2&offer_id=2&sub8={sub8}|{offer_id},{pid}

client2.g2afse.com/click?pid=2&offer_id=2&sub8=4,4|3,3

Client #2

client1.g2afse.com/click?pid=1&offer_id=1&sub8={sub8}|{offer_id},{pid}

client1.g2afse.com/click?pid=1&offer_id=1&sub8=4,4|3,3|2,2

Client #1

app.appsflyer.com/com.appsflyer?af_siteid={pid}&af_c_id={offer_id}&parameter_for_all_subsources={sub8}|{offer_id},{pid}

app.appsflyer.com/com.appsflyer?af_siteid=1&af_c_id=1&parameter_for_all_subsources=4,4|3,3|2,2|1,1

Appsflyer receives

&af_siteid={pid}&af_c_id={offer_id}&parameter_for_all_subsources={sub8}|{offer_id},{pid}

&af_siteid=1&af_c_id=1&parameter_for_all_subsources=4,4|3,3|2,2|1,1

Conversions

Client #

Affise postback link

Example data

Client #4

offer_id={offer_id}&pid={pid}

offer_id=4&pid=4

Client #3

offers-client4.affise.com/probattribution?sub8={sub8}

offers-client4.affise.com/probattribution?sub8=4,4

Client #2

offers-client3.affise.com/probattribution?sub8={sub8}

offers-client3.affise.com/probattribution?sub8=4,4|3,3

Client #1

offers-client2.affise.com/probattribution?sub8={sub8}

offers-client2.affise.com/probattribution?sub8=4,4|3,3|2,2

Appsflyer sends

offers-client1.affise.com/probattribution?sub8=a_macro_with_data_on_all_subsources

offers-client1.affise.com/probattribution?sub8=4,4|3,3|2,2|1,1


Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?