Skip to content
JS
Package

@posthog/next

PostHog integration for Next.js

$ npm install @posthog/next

Key numbers

As of 25 Sept 2026
Weekly downloads
49.9k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
23 days ago
v0.9.0
GitHub stars
610
347 forks
Open issues / PRs
113 / 50
Contributors
-
Commits, last 52 weeks
2,562

No weekly download data in the snapshot.

49,932 downloads last week, 242,356 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
0.9.0, 1 Sept 202623 days ago
First published
-
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
113
Open pull requests
50
Commits, last 52 weeks
2,562
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
219 kB
Dependencies (5)
posthog-jsserver-onlyposthog-node@posthog/core@posthog/react
Peer dependencies (4)
nextreactreact-dom@vercel/functions
npm install @posthog/next
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@posthog/next@0.9.0/
  • unpkghttps://unpkg.com/@posthog/next@0.9.0/
  • esm.shhttps://esm.sh/@posthog/next@0.9.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@interfere/next7.3k-1 month agoESM only-
@segment/analytics-consent-wrapper-onetrust16.8k-11 months agoESM + CommonJS-
langfuse-langchain96.3k-9 days agoESM + CommonJS-
@logtail/next49.9k-2 months agoESM + CommonJS-
@grafana/ui69k-9 days agoESM + CommonJS-
@pothos/plugin-tracing29k-11 days agoESM + CommonJS-
@pothos/tracing-opentelemetry12k-2 months agoESM + CommonJS-
@pothos/tracing-sentry8.4k-2 months agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.