Feature is still in development and subject to change.
1. Load Tapjoy SDK for Javascript
<script>
(function(){var t,a,p,j,o,y;t=window,a=document,p="https://webofferwall.tapjoy.com/sdk/latest","function"==typeof t[j="Tapjoy"]?t[j]("activator-reinitialized"):(t[j]=function(){(t[j].q=t[j].q||[]).push(arguments)},t[j].l=1*new Date,o=a.createElement("script"),y=a.getElementsByTagName("script")[0],o.async=1,o.src=p,y.parentNode.insertBefore(o,y))})();
</script>
2. Insert code for your link to show Offerwall
<div
class="tj-offerwall-button"
data-userid="YOUR_USER_ID"
data-newtab="true"
data-preload="false"
>Show Offers</div>
Option | HTML5 Attribute | Default Value | Description |
---|---|---|---|
userId* | data-userid |
`` | Publisher User ID, which should get rewards |
newTab | data-newtab |
false |
whether to open in a new tab, or inside current domain |
preload | data-preload |
true |
whether to preload SDK |