Put the game inside a page of your website, such as a landing page, a blog post or a campaign page, so visitors play without leaving your site.
Embed code
- Publish the game.
- In the Publish window, copy the Embed Code.
- Paste it into your page's HTML where the game should appear.
The code shows the game in a frame, 360 × 640 px by default; change the size in the code to fit your layout. It also includes a short script so that the game's shop and Call-to-Action buttons open in your page rather than inside the frame.
Floating button
The Floating Widget Code adds a floating play button to your site, in the bottom right, bottom left, top right or top left corner. Visitors press it to open the game.
Website popup
To open the game automatically, for example when a visitor is about to leave, use the website popup instead.
Allowed sites
A normal embed needs no extra setting. The Whitelisted Domains card on the Configure page is only needed when the game's page itself runs on another host; it isn't a list of sites allowed to embed the game.
Updates
The embed always shows the game's last published version, so you don't need to change the code when you edit and publish the game again.