Games I Know logoGames I Know

Embed setup

Embed Four in a Row Game on Your Website

Add a free, mobile-friendly Four in a Row browser game to your site with a simple iframe widget. It is a good fit for blogs, school pages, community sites, restaurants, and lightweight engagement pages.

Same-screenRemote playAI bot

Live demo

Copy the iframe code, try Four in a Row on the right, and watch postMessage events on the left. Fullscreen expands inside the preview on supported devices.

Iframe code

Paste this iframe where your website allows custom HTML. Replace YOUR_TENANT_ID with your partner tenant ID. Domain-restricted embed settings are managed in the partner dashboard.

<iframe
  src="https://gamesiknow.com/embed/four-in-a-row/frame/?tenantId=YOUR_TENANT_ID"
  title="Four in a Row by Games I Know"
  width="100%"
  height="640"
  style="border:0;border-radius:16px;max-width:420px;display:block;margin:0 auto;"
  loading="lazy"
  allow="fullscreen"
  referrerpolicy="no-referrer-when-downgrade"
  allowfullscreen
></iframe>

Need tenant setup help? Read embed documentation or create a free partner account.

Install by platform

The iframe works anywhere your website or CMS allows custom HTML iframe embeds. Games I Know provides the iframe code; each platform controls where custom embeds are allowed.

Plain HTML

Paste the iframe into the page where you want the game to appear. Keep the recommended width, height, and fullscreen attributes.

WordPress

Use a Custom HTML block or a template area that allows iframes. Some WordPress plans, builders, or security plugins may restrict custom iframe code.

Wix

Use an Embed HTML element if your Wix site plan and editor settings allow custom iframe content.

Squarespace

Use a Code block on pages or posts where Squarespace allows custom iframe HTML.

Webflow

Use an Embed element or custom code area, then paste the iframe snippet and test it at mobile widths.

React

Render the iframe as a component and pass the frame URL as the src. Keep the title, loading, allow, and allowFullScreen attributes.

Next.js

Render the iframe in a page or component. Keep your own page indexable, and do not try to index the iframe frame URL.

Iframe and mode notes

  • Four in a Row embeds use iframe code, so players can start from your page without downloading an app.
  • Same-screen mode is for on-page play inside the embedded widget.
  • Remote play should link visitors to /games/four-in-a-row/play/, where live rooms and room codes run on Games I Know.
  • AI mode can be requested in the iframe URL when tenant config and available quota allow it.
  • The frame route is the playable iframe target and should stay noindex; this landing page is the indexable setup page.

Good pages for this widget

Four in a Row works best where a short, recognizable browser game can add a quick pause or playful interaction without taking visitors away from the page.

Why embed Four in a Row

  • Free browser game widget
  • No install for players
  • Mobile and desktop friendly
  • Helps increase engagement and time on page
  • Easy setup with iframe
  • Works well for blogs, business sites, and community pages

Good fits

  • Blogs and content sites
  • Education and training pages
  • Restaurants, cafés, and food courts
  • Family dining and hotel restaurant pages
  • Cloud kitchen and takeaway websites
  • Event and party venue pages
  • Sports bars and hospitality lounges
  • Community websites and forums
  • Newsletters and resource pages
  • Internal company engagement pages
  • Small business websites

Setup steps

  1. Step 1

    Choose the game

    Pick the Games I Know title that fits your page, audience, and layout.
  2. Step 2

    Copy the iframe code

    Use the frame URL snippet from the embed setup page or your partner dashboard.
  3. Step 3

    Add it to your website

    Paste the iframe into a CMS block, custom HTML area, or site template.
  4. Step 4

    Configure tenant and domain settings

    Use your tenant ID and allowed domains so the iframe only loads on approved sites.
  5. Step 5

    Track basic engagement

    Use partner dashboard analytics and embed events to see loads and gameplay activity.

FAQ

Can I embed Four in a Row for free?

Yes. Four in a Row can be embedded on approved websites with a simple iframe during the Games I Know embed beta.

Does the Four in a Row embed work on mobile?

Yes. The iframe layout is designed for phones, tablets, and desktops without requiring a download.

Do players need to sign up?

No signup is required for normal embedded play. Visitors can start from the iframe on your page.

Can I control where the iframe works?

Yes. Domain-restricted embed settings let you choose which websites can load your tenant iframe.

Can I use the iframe in WordPress, Wix, Squarespace, or Webflow?

Yes, when your site plan and editor allow custom HTML or iframe embeds. Games I Know provides iframe code; each CMS controls where custom embed blocks are available.

Can I use AI mode inside the embedded Four in a Row game?

You can request AI mode in the iframe URL when your tenant has AI quota available. The backend decides what is allowed.

Does remote play happen inside the iframe?

Remote play means you can link visitors to the full Games I Know play page for room-code matches. The iframe itself is designed for embedded on-page play modes.

Is the iframe SEO-friendly?

The iframe game route uses noindex metadata. Your public embed landing page is indexable and can rank separately.

Can I embed multiple Games I Know games?

Yes. You can add more than one Games I Know embed on different pages or sections when each uses the correct frame URL.

Explore more on Games I Know

Compare embed games, read the main game guide, or open the live play page.