The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
import Link from "next/link";
import {
Smartphone,
Github,
ShieldCheck,
Terminal as TerminalIcon,
MousePointer2,
BookOpen,
Globe,
Route,
Bookmark,
Newspaper,
} from "lucide-react";
import { Chip } from "@/components/chip";
import { Eyebrow } from "@/components/eyebrow";
import { SectionHead } from "@/components/section-head";
import { StatsStrip } from "@/components/stats-strip";
import { FinalCTA } from "@/components/final-cta";
import { Terminal } from "@/components/terminal";
import { AuroraBackground } from "@/components/aurora-background";
import { FeatureRow } from "@/components/feature-row";
import { HeroEmailCTA } from "@/components/hero-email-cta";
import { FlutterReplayShowcase } from "@/components/flutter-replay-showcase";
export default function FlutterSessionReplayPage() {
return (
<main className="relative">
{/* 1. HERO: centered, matches home page layout */}
<section className="hero hero-product relative">
<AuroraBackground variant="hero" />
<div className="wrap relative z-10">
<div className="text-center max-w-3xl mx-auto flex flex-col items-center">
<Chip>
<Smartphone className="h-3 w-3 inline mr-1" />
Flutter Session Replay
</Chip>
<h1 className="mt-6">
See the crash.
<br />
<em>Not just the Stack Trace.</em>
</h1>
<p className="hero-sub">
Full-screen session recording, pinned to every stack trace. Four
lines of setup. Zero frame drops on your app.
</p>
<div className="mt-10 w-full">
<HeroEmailCTA />
</div>
</div>
</div>
</section>
{/* 1a. Showcase: stack trace paired with phone replay */}
<FlutterReplayShowcase />
{/* 1b. Free-tier positioning section */}
{/* WHITE BAND: feature sections render on white */}
<div className="band-light">
<section className="wrap py-16">
<div className="grid gap-14 md:grid-cols-[11fr_9fr] items-center">
<SectionHead
eyebrow="Free tier"
title={
<>
Same crash reporting. <em>Full replay. Free forever.</em>
</>
}
description={
<>
Same error grouping, same impact ranking, same alerts you’d
expect from{" "}
<span style={{ fontWeight: 900, color: "#7f5cfc" }}>Sentry</span>,{" "}
with the full replay included on the free tier. No per-replay
billing.
</>
}
/>
<div className="dark-tile rounded-2xl px-8 py-10">
<p className="font-mono text-[0.6875rem] uppercase tracking-[0.14em] text-fg-3">
What you get
</p>
<div className="mt-3 flex items-center gap-3">
<p
className="text-[56px] leading-none font-semibold text-fg-0"
style={{ fontFamily: "var(--font-display)" }}
>
10,000
</p>
<span
className="inline-flex items-center px-3.5 py-1.5 rounded-md text-[13px] font-semibold uppercase tracking-[0.08em]"
style={{
fontFamily: "var(--font-mono)",
color: "#06120c",
background: "var(--ok)",
}}
>
Free forever
</span>
</div>
<p className="muted mt-2">replays per month.</p>
<ul className="feat-bullets">
<li>1 replay = 1 crash clip, up to 10 seconds</li>
<li>Retained for 30 days</li>
<li>No credit card required</li>
</ul>
<Link
href="/cloud"
className="mt-6 inline-flex items-center gap-1.5 text-[13px] hover:text-[color:var(--a2)]"
style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}
>
Explore Traceway Cloud →
</Link>
</div>
</div>
</section>
{/* 2. SEE IT: product screenshot, the single biggest missing piece */}
<section className="wrap pt-10">
<FeatureRow
eyebrow="The actual player"
title={
<>
Press play on <em>the moment it broke.</em>
</>
}
description="Every exception in the Traceway dashboard carries its replay. Open the stack trace, press play, and watch the last seconds of your user's session leading up to the crash, synced to the timeline."
bullets={[
"Scrub through the full session timeline",
"Replay ID linked from every stack trace",
"Tap, route, network, and console overlays",
"Share a single URL with your team",
]}
image={{
src: "/images/session-replay-viewer.png",
alt: "Traceway session replay viewer with stack trace",
}}
/>
</section>
{/* 3. THE 4 LINES: masking on by default */}
<section className="wrap py-20">
<div className="grid gap-12 md:grid-cols-[1fr_1.1fr] items-center">
<div>
<Eyebrow>Setup</Eyebrow>
<h2 className="mt-3">
Paste four lines. <em>Ship.</em>
</h2>
<p className="muted mt-4 max-w-[460px]">
Recording starts on the first frame. Every exception carries the
replay ID automatically. Sensitive widgets are masked by default.
Wrap anything extra in <code>TracewayMask</code>.
</p>
<p
className="mt-4 text-[13px]"
style={{
color: "var(--fg-3)",
fontFamily: "var(--font-mono)",
}}
>
// <code>flutter pub add traceway</code> to install.
</p>
</div>
<Terminal
title="main.dart"
lines={[
{ type: "cmd", content: "Traceway.run(" },
{
type: "tx",
content:
" connectionString: '[email protected]/api/report',",
},
{
type: "tx",
content:
" options: TracewayOptions(replay: ReplayOptions.maskAll),",
},
{ type: "cmd", content: " child: MyApp());" },
]}
showCursor
/>
</div>
</section>
{/* 4. WHAT'S IN A REPLAY */}
<section className="wrap py-10">
<SectionHead
eyebrow="What you actually see"
title={
<>
A video is <em>the start.</em> The context is the rest.
</>
}
description="Every replay carries the surrounding signal, so you don't just watch what happened, you see why."
/>
<div className="mt-14 grid gap-x-12 gap-y-10 sm:grid-cols-2 lg:grid-cols-3">
<div>
<div className="flex items-center gap-2.5">
<MousePointer2 className="size-[18px] text-fg-2" aria-hidden />
<h3 className="text-base font-semibold text-fg-0">
Taps & gestures
</h3>
</div>
<p className="muted mt-2">
Every tap and gesture rendered onto the recording, frame-synced
with the last 10 seconds before the crash.
</p>
</div>
<div>
<div className="flex items-center gap-2.5">
<TerminalIcon className="size-[18px] text-fg-2" aria-hidden />
<h3 className="text-base font-semibold text-fg-0">
Console logs
</h3>
</div>
<p className="muted mt-2">
Every <code>print</code> and <code>debugPrint</code> from the
last 10 seconds, captured via a Zone hook with no manual
wiring. Capped at 200 lines.
</p>
</div>
<div>
<div className="flex items-center gap-2.5">
<Globe className="size-[18px] text-fg-2" aria-hidden />
<h3 className="text-base font-semibold text-fg-0">
HTTP requests
</h3>
</div>
<p className="muted mt-2">
Method, URL, status, duration, and byte counts for every
dart:io HTTP call. Catches <code>package:http</code>, Dio,
Firebase, and anything on the platform client.
</p>
</div>
<div>
<div className="flex items-center gap-2.5">
<Route className="size-[18px] text-fg-2" aria-hidden />
<h3 className="text-base font-semibold text-fg-0">
Navigation timeline
</h3>
</div>
<p className="muted mt-2">
Every push, pop, and replace from any <code>Navigator</code>.
Attach <code>Traceway.navigatorObserver</code> once and the
route history rides with every crash.
</p>
</div>
<div>
<div className="flex items-center gap-2.5">
<Bookmark className="size-[18px] text-fg-2" aria-hidden />
<h3 className="text-base font-semibold text-fg-0">
Custom actions
</h3>
</div>
<p className="muted mt-2">
Tag your own breadcrumbs like <code>cart.add_item</code> and{" "}
<code>auth.login_succeeded</code> with{" "}
<code>Traceway.recordAction</code>. Capped at 200 entries.
</p>
</div>
<div>
<div className="flex items-center gap-2.5">
<TerminalIcon className="size-[18px] text-fg-2" aria-hidden />
<h3 className="text-base font-semibold text-fg-0">
Full stack trace
</h3>
</div>
<p className="muted mt-2">
Caught <code>FlutterError</code>s and uncaught async
exceptions, symbolicated and stitched to the same timeline as
the replay.
</p>
</div>
</div>
</section>
{/* 6. BENCHMARKS */}
<section className="wrap py-20">
<SectionHead
eyebrow="Measured on real hardware"
title={
<>
No frame drops. <em>No battery spike.</em>
</>
}
description="Benchmarked on Pixel 5/6/8 and iPhone 8/14 Pro/16 Pro via Firebase Test Lab: 10 workloads × 4 SDK configs per device. Full harness open source; re-run it on your own tier. Tail latencies included because p50 is where bugs hide."
/>
<StatsStrip
stats={[
{ num: "<em>+0</em>MB", label: "Memory overhead when idle (loaded, not recording)" },
{ num: "<em>+16</em>MB", label: "Median RAM during active screen capture" },
{ num: "<em><1</em>ms", label: "Exception capture latency on iOS" },
{ num: "<em>0%</em>", label: "Steady-state wall-clock impact" },
]}
/>
<div className="mt-14 grid gap-12 md:grid-cols-2">
<div className="border-t border-hair pt-8">
<p className="font-mono text-[0.6875rem] uppercase tracking-[0.14em] text-fg-3">
What we guarantee
</p>
<ul
className="mt-4 space-y-3 text-[14px]"
style={{ color: "var(--fg-2)" }}
>
<li>
<strong style={{ color: "var(--fg-1)" }}>Idle is free.</strong>{" "}
With <code>screenCapture: false</code> or before the first
recording, RSS overhead stays under 10 MB on every tested
device, and is typically zero.
</li>
<li>
<strong style={{ color: "var(--fg-1)" }}>Active recording stays small.</strong>{" "}
Median memory overhead during capture is under 20 MB; the
worst measured case across all devices held below 80 MB
even under bursty video + exception workloads.
</li>
<li>
<strong style={{ color: "var(--fg-1)" }}>Exception capture beats a frame.</strong>{" "}
Sub-millisecond on iOS, under 15 ms on Android. Both fit
inside a single 60 Hz frame (16.7 ms), so capturing an
exception cannot drop a frame in steady state.
</li>
<li>
<strong style={{ color: "var(--fg-1)" }}>Disk persistence is free.</strong>{" "}
Writing recordings to disk consumes the same RAM as in-memory
only, with no extra cost for offline-safe shipping.
</li>
</ul>
</div>
<div className="border-t border-hair pt-8">
<p className="font-mono text-[0.6875rem] uppercase tracking-[0.14em] text-fg-3">
The fine print
</p>
<ul
className="mt-4 space-y-3 text-[14px]"
style={{ color: "var(--fg-3)" }}
>
<li>
Numbers come from a single GitHub Actions run on Firebase Test
Lab hardware. Methodology and raw data live in the SDK repo.
</li>
<li>
Frame-timing carries enough variance per scenario that we don’t
claim improvements; we claim "no measurable regression on any
tested workload".
</li>
<li>
Worst-case memory peaks come from synthetic burst tests (5
exceptions per second during video playback). Apps that throw
1–2 exceptions per session sit at the median.
</li>
<li>
Run the benchmark yourself with{" "}
<Link
href="https://github.com/tracewayapp/traceway-flutter/blob/main/.github/workflows/benchmark.yml"
className="underline decoration-dotted underline-offset-4 hover:text-[color:var(--a2)]"
>
Performance Benchmarks
</Link>{" "}
on your fork.
</li>
</ul>
</div>
</div>
</section>
{/* 7. TRUST ROW */}
<section className="wrap pb-10">
<div
className="rounded-2xl px-6 py-8 md:px-10 md:py-10"
style={{
background: "var(--ink-1)",
border: "1px solid var(--hair)",
}}
>
<div className="grid gap-8 md:grid-cols-[1.2fr_1fr] items-center">
<div>
<Eyebrow>Built in the open</Eyebrow>
<h3 className="mt-3 text-[22px] leading-tight">
Read the SDK. Run the benchmarks. Self-host the server.
</h3>
<p
className="mt-3 text-[14px] max-w-[520px]"
style={{ color: "var(--fg-2)" }}
>
Every part of Traceway is open source: the Flutter SDK, the Go
backend, the dashboard. Nothing about your crash data is a
black box.
</p>
</div>
<div className="flex flex-wrap gap-x-6 gap-y-3 text-[13px]">
<Link
href="https://github.com/tracewayapp/traceway-flutter"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-1.5 hover:text-[color:var(--a2)]"
style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}
>
<Github className="h-3.5 w-3.5" />
traceway-flutter →
</Link>
<Link
href="https://github.com/tracewayapp/traceway"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-1.5 hover:text-[color:var(--a2)]"
style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}
>
<Github className="h-3.5 w-3.5" />
traceway (server) →
</Link>
<Link
href="https://docs.tracewayapp.com/client/flutter"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-1.5 hover:text-[color:var(--a2)]"
style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}
>
<BookOpen className="h-3.5 w-3.5" />
Documentation →
</Link>
<Link
href="/blog/flutter-session-replay"
className="inline-flex items-center gap-1.5 hover:text-[color:var(--a2)]"
style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}
>
<Newspaper className="h-3.5 w-3.5" />
Blog post →
</Link>
<Link
href="/dpa"
className="inline-flex items-center gap-1.5 hover:text-[color:var(--a2)]"
style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}
>
<ShieldCheck className="h-3.5 w-3.5" />
Privacy & DPA →
</Link>
</div>
</div>
</div>
</section>
{/* 8. FINAL CTA */}
</div>
<FinalCTA
title={
<>
Ship it <em>before your next release.</em>
</>
}
description="10,000 replays every month. Free. Forever. No card required. One crash clip = one replay, retained 30 days."
primary={{
label: "Create your project",
href: "https://cloud.tracewayapp.com/register?framework=flutter",
}}
secondary={{
label: "Read the docs",
href: "https://docs.tracewayapp.com/client/flutter",
external: true,
}}
/>
</main>
);
}