integration-tanstack-start

Community

PostHog analytics for TanStack Start apps

AuthorLucaDeLeo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Integrates PostHog analytics into TanStack Start applications to enable both client-side and server-side event tracking, user identification, and error monitoring.

Core Features & Use Cases

  • Client-side analytics: instrument events with usePostHog and identify users on login to link events across sessions.
  • Server-side analytics: implement a singleton PostHog client in API routes to securely capture server events and tie them to user sessions.
  • Error tracking: capture exceptions from frontend and backend to diagnose issues quickly.
  • Dashboard insights: leverage PostHog dashboards to monitor funnels, retention, and key conversions for TanStack Start apps.

Quick Start

Wrap your app with PostHogProvider at the root and begin emitting client- and server-side events as demonstrated in the repository.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: integration-tanstack-start
Download link: https://github.com/LucaDeLeo/ASTN/archive/main.zip#integration-tanstack-start

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.