Skip to main content
Local analytics is the zero-config development stub: it prints every tracked event to stdout so you can verify instrumentation without touching a real analytics service.

Why

The local provider lets you develop and test analytics instrumentation without an Amplitude account or API key. Every track() call prints a structured log line with the event name, properties, and identification attributes — enough to confirm your instrumentation is correct before deploying.

Setup

This is the default for development.ts and test.ts and requires no extra dependencies or environment variables:
analytics: {
  client: AnalyticsClientType.LOCAL,
}

What’s next?

  • Amplitude — the production provider to configure in production.ts.