It is technically possible to use Tapfiliate to set up an affiliate program that rewards affiliates for driving installs and in-app purchases. However, we do not support the technical implementation for these use cases.
The high-level flow to implement is as follows.
Tracking Installs
If you would like to track installations and issue rewards based on the install of your application, do as follows:
Follow step 1 of the Rest API integration guide to generate a click_id before the visitor installs your app
Tie this click_id to the visitor using your favorite install-tracking platform or service.
When the user installs your app, grab the click_id and use it to track a conversion as shown in step 2 of the Rest API Integration guide.
โ
In-app purchase tracking:
If you would like to track purchases taking place inside the app, you will follow a logic that very closely resembles that of our lifetime/recurring commissions guide, whereby you first track the customer and then attach conversions to that customer when purchases are made.
To achieve this, you would:
Follow step 1 of the Rest API integration guide to generate a click_id before the visitor installs your app.
Tie this click_id to the visitor using your favorite install-tracking platform or service.
When the user installs your app, grab the click_id and use it to track a customer as shown in the second half of step 2 of the Rest API Integration guide.
Whenever a recurring or new payment takes place for the customer, you can create a new conversion through the REST API. In this call, you indicate the customer_id.