Install the offers frame
One script line, no trackers.
This script puts your offers on a page with one script line. It draws a frame that shows your offers and sponsored units, resizes itself and loads nothing from third parties.
Install the script#
Paste this where you want the frame to appear. Replace the key with your own public Spot key from the app.
<script src="https://offers.kre8.fun/widget/offerwall.js" data-placement="pk_YOUR_SPOT_KEY" async></script>The frame mounts right after the script. Your Spot key is public and safe to put in a page. The matching secret key starts with sk_ and stays on your server.
Options#
| Attribute | What it does |
|---|---|
| data-placement | Your public Spot key (pk_…). Required. |
| data-target | A CSS selector for where to mount, for example #earn-here. Default: right after the script. |
| data-mode="modal" | No inline frame. Open a popup from your own button with GullyOfferwall.open(). |
| data-height | Starting height in pixels (default 640). The frame then resizes itself. |
| data-theme | A JSON object to change colors: night, ink, line, cyan (accent), blue (links), green, white (text), muted and font. |
<div id="earn-here"></div>
<script src="https://offers.kre8.fun/widget/offerwall.js" data-placement="pk_YOUR_SPOT_KEY" data-target="#earn-here" data-height="640" async></script><button id="earn-btn" type="button">Earn rewards</button>
<script src="https://offers.kre8.fun/widget/offerwall.js" data-placement="pk_YOUR_SPOT_KEY" data-mode="modal" async></script>
<script src="/open-earn.js"></script> <!-- document.getElementById('earn-btn').onclick = () => GullyOfferwall.open() --><script src="https://offers.kre8.fun/widget/offerwall.js" data-placement="pk_YOUR_SPOT_KEY" data-theme='{"cyan":"#ff7a00","night":"#0b0d12"}' async></script>Sizes and responsive layout#
- The frame is 100% wide and never wider than its container, so it fits phones and desktops without extra code.
- The height starts at data-height and then follows the content (up to 4,000 px), so there is no inner scrollbar.
- The popup is at most 560 px wide and fits the window with a 16 px margin. Press Escape or the close button to dismiss it.
Sponsored units inside the frame#
| Unit | Where it shows | Image size |
|---|---|---|
| Featured offer | Top of the frame, one sponsor a day | 1200 × 400 |
| Text card | Between offers (after the 2nd, 5th and 8th) | Text up to 90 characters, optional 256 × 256 |
| While you wait | Not offered: it interrupts the person, so it does not run (ad rules) | – |
Every sponsored unit says Sponsored and has Why this ad?, Hide and Report. You can turn promotions off per Spot and block categories or sponsors in the app.
Allow your site#
For a web Spot, list the exact origins it runs on, such as https://example.com. The frame only loads on those origins. Then prove you own each origin; the app guides you, or call the check yourself:
curl -X POST https://offers.kre8.fun/v1/placements/plc_YOUR_SPOT/verify-origin \
-H "authorization: Bearer YOUR_GULLY_ID_TOKEN" -H "content-type: application/json" \
-d '{"origin":"https://example.com"}'Check that it works#
- Open your page in a normal browser window. The frame should appear within a second or two.
- If it does not, look for a message in the console. A blocked frame almost always means the site origin is not on the Spot yet.
- Open Install in the app. A live check there shows when the tag is seen once the check route is open on the service; until then it says so instead of guessing.
No trackers#
- No third-party scripts, pixels or cookies are loaded. Counting is first party.
- A viewer is a salted hash that changes every UTC day. Nothing else about a visitor is stored.
- The Content Security Policy for the frame is strict, so it cannot load code from other sites.