Quickstart

Feature is still in development and subject to change.

Prerequisities

In order to implement our Web Offerwall, you will need to implement the Self Managed Currency postback. Once created, please contact Tapjoy with the Postback URL so we can create your SDK Key.

The SDK Key for Web Offerwall is required and will be provided by the Tapjoy team.

Getting started

In this article, you'll learn how to do a minimal installation of our offerwall to test your keys.

image

Changing the SDK Key

You need to save the code below to an HTML file, for example demo.html and update the SDK_KEY with the one provided by our team.

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
</head>

<body>
    <script>
        (()=>{var t,a,p,j,o,y;t=window,a=document,p="http://webofferwall.tapjoy.com/widget/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>
    <script>
        Tapjoy('init', {
            sdkKey: '<SdkKey>',
            publisherUserId: 'EXAMPLE_USER',
            logger: console,
        });
    </script>
    <button onclick="javascript:Tapjoy('showOfferwall', {});"> Click Me </button>
</body>
</html>

After you save the file, open it in your favourite browser and click the button. You should see the offerwall rendering fullscreen. To test rewarding, please refer to our Self Managed Currency documentation.