- Make sure you have enabled
opt_in_site_apps: truein your posthog-js config. - Install this app from PostHog's app repository.
- Enable and configure the app for your site.
If you wish to make this a juicier example app, then clone the repo and run the following:
npx @posthog/app-dev-serveror
pnpm install
pnpm startThen browse to http://localhost:3040/, open site.ts in an editor, and hack away.
