Developers
Everything needed to put an Unlatch game on your own page. There is one thing to paste and one thing to get right — the domain your code is registered to.
Quick start
- Register your site — a domain and an email address.
- Open the link we send you. Your code appears; it looks like
pub_3f8a1c9d. - Paste this where you want a game, with your code in it:
<iframe
src="https://unlatchgames.com/play/solitaire/?pub=YOUR_CODE"
title="Solitaire by Unlatch Games"
allow="autoplay; fullscreen"
allowfullscreen
loading="lazy"
style="border:0;width:100%;aspect-ratio:9/16;max-height:100dvh;display:block"
></iframe>
That is the whole integration. Nothing to install, no script to load, no API key to keep secret, no build step.
What it costs
Nothing. There is no revenue share to calculate because there is nothing in the games to share — no ads, no purchases, no accounts. What we ask for is a visible credit near the game, linking back to us. That is in the terms and it is the whole of the arrangement.
Where to next
- The iframe, line by line — what each attribute does
- Sizing it — recipes, and the two ways to get it wrong
- Every game and its id — the live catalogue
- Managing your code — domains, pausing, closing
- Rewarding your players — postbacks, and what can be proved
- Saving a player's progress — so a streak follows them
- When a game will not load — symptoms to causes
- What we do not offer — said plainly, so nobody builds against it