Web & HTML5 SDK

Error tracking for Web Games

A single script tag for any HTML5 or web game. Crash reports, player feedback, and session data — all in one dashboard.

Sign up for free
<script src="https://api.bugnet.io/sdks/web/bugnet-sdk.js"></script>
<script>
// Initialize
Bugnet.init({
  apiKey: "YOUR_API_KEY",
  serverUrl: "https://api.bugnet.io",
  gameVersion: "1.0.0"
});

// Show the bug report widget (e.g. on button click)
document.getElementById("report-btn")
  .addEventListener("click", () => {
    Bugnet.showWidget();
  });

// Or report programmatically
Bugnet.reportBug("Bug title", "Description", {
  category: "gameplay",
  priority: "high",
  includeScreenshot: true,
  canvas: document.querySelector("canvas")
});

// Errors are captured automatically!
// Session tracking is built-in.
</script>

Everything you need to ship bug-free web games

One Script Tag

Add a single <script> tag. Works with any framework, canvas renderer, or vanilla JS.

Automatic Error Capture

Unhandled exceptions, promise rejections, and console errors captured automatically.

Screenshot Capture

Canvas-aware screenshot capture works with WebGL, PixiJS, Phaser, and Three.js.

Session Replay

Replay the last 30 seconds of DOM and canvas state before an error.

Network Logging

Failed API calls and WebSocket disconnects automatically attached to bug reports.

Tiny Footprint

Under 12KB gzipped. Async loading. Zero impact on your game's performance.

Three steps to fewer bugs

1

Add the script

Drop one script tag into your HTML. Configure your project key and you're live in under a minute.

2

Players report bugs

Players tap a button or trigger a report automatically. Screenshots, errors, and session data are captured instantly.

3

You fix and ship

Triage reports in your dashboard, track fixes, and notify players when their bug is resolved.

“As a solo dev, players were leaving faster than I could read Discord. Bugnet showed me exactly which bugs were causing the most churn. I fixed the top three and my retention rate doubled in two weeks.”

SB
Sam Bell
Solo Dev, Echoes of the Rift
340+Studios
1.2M+Bug reports
38%Less churn

Start tracking errors in your web game

Set up in under a minute. Free for indie projects. No credit card required.