Documentation

​
​

Development

User Acquisition

Monetization

Industry

Unity Offerwall

Offerwall Android SDK

Offerwall iOS SDK

Offerwall Unity SDK

Unity Offerwall

Tapjoy Offerwall
​
​
Integration
  • Quickstart
Displaying Offerwall
  • Deep linking
  • Custom js integration
Advanced
  • API reference
  • Installation and authentication
  • User privacy
Testing
  • Test devices
  1. Grow your game
  2. Unity Offerwall
  3. Web Offerwall

Installation

Learn how to install and authenticate the Web Offerwall SDK in your web application.
Read time 1 minute
Last updated 2 months ago

Prerequisites

To implement our Web Offerwall, you need to implement the Self-managed currency postback. Also, create an app by using our publisher dashboard to access your SDK key.

SDK flow

The SDK needs to connect and validate the current user before we render the offerwall.
A diagram of the Web Offerwall SDK flow showing how the SDK connects and validates the current user before rendering the offerwall.

Adding SDK snippet

Add this snippet to your HTML Code. By adding this snippet.
<script> (() => { var t, a, p, j, o, y; (t = window), (a = document), (p = 'https://rewards.unity.com/owp/web/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>
The SDK can be used anywhere after this snippet. The following is an initialization example:
<script> Tapjoy('init', { sdkKey: '<SDK_KEY>', publisherUserId: '<USER_ID>', eventName: '<PLACEMENT_NAME>', // default is '#WebOfferwall' });</script>

Prefetching

By default, webofferwall is being preloaded on every sdkKey / publisherUserId change.
You can stop prefetching the offerwall by adding
preload
argument to your
init
call:
Tapjoy('init', { ..., preload: false,})
If you want to preload later in the process, you can call the
preload
method:
Tapjoy('preload');

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Prerequisites

    • SDK flow

    • Adding SDK snippet

    • Prefetching


Report a problem with this page