https://github.com/posthog/posthog-js
Send usage data from your web app or site to PostHog, with autocapture.
https://github.com/posthog/posthog-js
analytics javascript npm posthog typescript
Last synced: 2 days ago
JSON representation
Send usage data from your web app or site to PostHog, with autocapture.
- Host: GitHub
- URL: https://github.com/posthog/posthog-js
- Owner: PostHog
- License: other
- Created: 2020-02-07T22:28:18.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2026-01-30T04:13:37.000Z (8 days ago)
- Last Synced: 2026-01-30T08:17:25.908Z (8 days ago)
- Topics: analytics, javascript, npm, posthog, typescript
- Language: TypeScript
- Homepage: https://posthog.com/docs/libraries/js
- Size: 54.4 MB
- Stars: 500
- Watchers: 16
- Forks: 220
- Open Issues: 226
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Posthog JS
This is a monorepo containing multiple packages to integrate with Posthog using JavaScript!
## Documentation
- [Posthog JS Documentation](https://posthog.com/docs/libraries/js)
## Packages
- [posthog-js](./packages/browser/README.md)
- [posthog-js-lite](./packages/web/README.md)
- [posthog-node](./packages/node/README.md)
- [posthog-react-native](./packages/react-native/README.md)
- [@posthog/react](./packages/react/README.md)
- [@posthog/ai](./packages/ai/README.md)
- [@posthog/nextjs-config](./packages/nextjs-config/README.md)
- [@posthog/nuxt](./packages/nuxt/README.md)
- [@posthog/rollup-plugin](./packages/rollup-plugin/README.md)
- [@posthog/types](./packages/types/README.md)
- [@posthog/webpack-plugin](./packages/webpack-plugin/README.md)
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md)