Skip to content
NAIJA INDIE

For makers

Add one line to your game and your page on Naija Indie shows how many people played it this week.

The snippets below are ready for PH FLOOD RUN. Copy and paste.

Web games

Paste this into your game's HTML, anywhere on the page. That's it.

HTML
<script src="https://www.indiegames.ng/play.js" data-game="ph-flood-run" defer></script>

Works on any host: Vercel, Netlify, GitHub Pages, itch.io or your own domain.

React and Next.js

Next.js
import Script from "next/script";

<Script src="https://www.indiegames.ng/play.js" data-game="ph-flood-run" strategy="afterInteractive" />

Unity, Godot and other web builds

Add the HTML line to the index.html your engine exports, just before the closing body tag.

Mobile and desktop apps

Send one request when a play session starts. Any HTTP library works.

HTTP
POST https://www.indiegames.ng/api/play
Content-Type: text/plain

{"game":"ph-flood-run"}
curl
curl -X POST https://www.indiegames.ng/api/play -H "Content-Type: text/plain" -d '{"game":"ph-flood-run"}'

Questions

What counts as a play? Anyone who opens your game counts once per day, Lagos time. Refreshing or replaying the same day does not add more, and bots are ignored. Every game is counted the same way, so numbers are fair to compare.

What do you collect? Only a count. No names, emails or IP addresses are stored, and nothing about your players is shared.

When do numbers show? Straight away as "plays since" the day you add it, then as "plays this week" after 7 days. Counting starts when you add the line, so earlier traffic is not included.

What about people already playing? They are counted the next time they open or refresh the game. App players are counted once they install the update.

Can it break my game? No. It is under 1 KB, loads after your game, and does nothing if it cannot reach us.

Not listed yet? Submit your game