Conversion information can be transmitted by:
The Postback Types
Postback
Better to use, since in this case there is only one redirect when following a tracking link.
https://app.indoleads.com/acquisition?click_id=CLICK_ID&security_token=SECURITY_TOKEN&rate=AMOUNT¤cy=USD&txn_id=UNIQUE_TRANSACION_ID
- click_id – is a unique and dynamic set of characters, generated by Indoleads Network. It is sent through an offer URL and returned through POSTBACK URL after the conversion is complete.
- security_token - unique token provided to Advertiser, available on the offer detail page
- rate | revenue – commission amount
- sale_amount - for the case if the commission amount is not defined
- currency - the currency of conversion
- cat– the category code and our system applies payout for the category accordingly.
- txn_id – unique order/transaction id generated from your platform, any random unique number. This helps to avoid duplicates.
- status - it may be the value of:
- pending (by default)
- approved
- declined
- sub1
- sub2
- sub3
- sub4
Pixel
Add on your “thank you page” tag ing:
<img style="visibility:hidden;" src="https://app.indoleads.com/pixel?adid=3&rate=AMOUNT¤cy=USD&txn_id=UNIQUE_TRANSACION_ID&cat=CATEGORY_CODE">
If you separate payout for publishers by categories you should send us a specific marker where we can detect which category of payout it applies.
<img src=”https://app.indoleads.com/api/pixel?adid=206&sale_amount=AMOUNT¤cy=MYR&cat=fashion”>
adid – your unique offer in indoleads.com platform
rate – commission amount
txn_id – unique order/transaction id generated from your platform, any random unique number. This helps to avoid duplicates.
sale_amount – the amount of purchase made from our traffic
currency – the currency of amount in 3 symbol currency code (for e.g. MYR Malaysian Ringgit)
cat– here we understand that is the specific payout for the “fashion” category and our system applies payout for the category accordingly.
In the sale amount, you need to put the exact amount of the purchase made.
As long as it’s pixel no need to add anything specific into tracking link (except your personal marks for e.g. UTM for Google analytics). Each user that comes with our traffic from our tracking links all the information will be stored in browser cookies which ones we can read in the pixel if conversion from the user occurs.
Click_id will be detected by the cookie.
Container
Add on your “thank you page” tag script:
<script> //unique transaction id var TXN_ID = {YOUR_TXN_ID}; // publisher commission var RATE = {AMOUNT}; // order currency var CURRENCY = "USD"; // indoleads offer id var OFFER_ID = 3; // network domain var NETWORK = "https://app.indoleads.com"; </script> <script src="https://app.indoleads.com/js/platform/pixel.js"></script>
Click_id will be detected by a cookie.
API
When an advertiser already has an API for fetching conversions via their API. In this case, we should implement integration.
What type should be used?
POSTBACK - if the advertiser has the ability to send requests to our system from his back-end. The advertiser should store on his side click ID which he will send in postback request.
PIXEL or CONTAINER – if the advertiser sends requests from the front – end or has no ability to store click ID on his side. The pixel uses COOKIES that’s why all requests are sent from the client’s browser after certain actions.
To prevent the occurrence of conversion duplicates in both you should add into it TXN ID with a unique identifier of for example saleID (order ID on the advertiser side)
Rate and Sale amount parameters
sale_amount - if we can't get exact payout from an advertiser.
If you used sale_amount publisher reward will be calculated based on offer commissions and type of offer (CPA - fixed amount, CPS & CPI - percentage commission)
categories - provides ability to manage payouts according to provided category code
rate - if we CAN get exact payout from an advertiser
In case of using rate offer commissions won’t be used. Publisher reward will be calculated based of network commission (rate - network commission = publisher payout)