2. Incentive Ad‎ > ‎3) Web API‎ > ‎

Script

This is for CPA advertising of web sites. (with script)


1. Add the following script to th landing page(event page).

<script src="//api3.tnkfactory.com/tnk/js/tnk-webapi-cpatrack.1.3.js"></script>


2. Add the script below to the page that completes the action.

And TnkSession.actionCompleted(); at the time of completing the action(mission) Call the function.



<script src="//api3.tnkfactory.com/tnk/js/tnk-webapi-cpatrack.1.3.js"></script>

<script>

TnkSession.actionCompleted();

</script>



* caution : Because cookies are used, the landing page and mission completion page must have the same domain.


Comments