SEO content stays server-rendered
Headings, guides, FAQs, and schema can render as HTML while the game loads in a frame.

Astro game widget
Astro sites can ship fast, indexable pages and still offer a playable game. Keep headings, copy, and schema in the Astro page, render the GamesIKnow iframe in the body, and use a small client script or island only where browser events are needed.
Static-friendly pages
Minimal client JS
Indexable copy
Iframe frame route
Short answer
In Astro, build an indexable page with metadata and FAQ content, then embed /embed/{gameSlug}/frame/ in the page. Add a client script for postMessage when you need GAME_STARTED or completion events.
The live demo mirrors the iframe and event log pattern you can place on an Astro content page.
Astro developers adding an iframe game
Astro excels at content-heavy pages. The game stays in an iframe so you do not ship game logic in the main bundle.
Headings, guides, FAQs, and schema can render as HTML while the game loads in a frame.
Only event listeners or fullscreen helpers need client-side JavaScript.
Use the same frame URL pattern across Astro, Next.js, WordPress, and custom sites.
Setup flow
Create a route with frontmatter metadata, place the iframe in the template, and isolate browser messaging in a client script.
Step 1
Add title, description, canonical URL, and useful copy around the game placement.
Step 2
Use the GamesIKnow frame URL with your tenantId in the page body or a small partial component.
Step 3
Use a client:load script or island to listen for postMessage events from the iframe.
Step 4
Use an API route or backend endpoint to verify completion before granting rewards.
Implementation
Treat the Astro page as the SEO surface and the iframe as the playable application boundary.
Use /embed/{gameSlug}/frame/ inside the iframe. Keep /embed/{gameSlug}/ as a normal crawlable link.
Set a fixed height near 640px to reduce layout shift when the game frame loads.
FAQ and HowTo schema on the Astro page helps search engines and AI systems understand the integration.
Available games
Tic Tac Toe
Embed for same-screen play on your site, or send players to GamesIKnow to challenge a friend remotely with a room link.
Embed setup
Four in a Row
Embed for local two-player drops on one screen, or link friends to play Four in a Row online from anywhere.
Embed setup
Bingo
Same-screen Bingo in your embed, or host a remote room so players can join from their own devices.
Embed setup
I Know
Quick trivia in your embed on one screen, or run a live room so friends can answer from anywhere.
Embed setup
FAQ
Use /embed/{gameSlug}/frame/ as the iframe src. That route is the lightweight game frame built for website embeds and postMessage events. The /embed/{gameSlug}/ route is the public preview and SEO page for people, not the route to place inside an iframe.
No. Visitors can play inside the browser iframe on phone, tablet, laptop, or desktop. A partner account is only needed by the website owner who installs the embed.
Yes. GamesIKnow embeds are designed around registered websites and domain-restricted tenant settings, so copied iframe code cannot be freely reused on unauthorized sites.
Tic Tac Toe, Four in a Row, Bingo, and I Know are available as embeddable browser games. The embed documentation uses the same event model across supported games.
Yes. The page content can be fully static HTML. The iframe loads the game from GamesIKnow at runtime in the visitor browser.
Create a partner account, register your domain, and generate a domain-restricted iframe for your website.