Skip to content
Source
Sign inSign up
TanStack/cli

packages/create/src/frameworks/react/add-ons/posthog

Contents of packages/create/src/frameworks/react/add-ons/posthog
NameLast commit messageLast commit date
..
assets (directory)
files.json
info.json
package.json
README.md

README.md

Setting up PostHog

  1. Create a PostHog account at posthog.com
  2. Get your Project API Key from Project Settings
  3. Set VITE_POSTHOG_KEY in your .env.local

Optional Configuration

  • VITE_POSTHOG_HOST - Set this if you're using PostHog Cloud EU (https://eu.i.posthog.com) or self-hosting