Thisbefine

Thisbefine Documentation

Your app is on fire. Here's how to sit with it.

Thisbefine Docs

Lightweight analytics, error tracking, and logging for indie devs. One SDK, no enterprise nonsense.

pnpm add @thisbefine/analytics
app/layout.tsx
import { Analytics } from '@thisbefine/analytics/next';

export default function RootLayout({ children }) {
  return (
    <html>
      <body>
        {children}
        <Analytics apiKey={process.env.NEXT_PUBLIC_THISBEFINE_API_KEY!} />
      </body>
    </html>
  );
}

That's it. Pageviews tracked. Keep reading for events, users, and errors →

Get Started

Features

Reference

For AI Assistants

On this page