Skip to content

chore(docs-next): replace PostHog with Vercel Analytics#314

Merged
EmersonBraun merged 1 commit into
mainfrom
chore/vercel-analytics
Apr 16, 2026
Merged

chore(docs-next): replace PostHog with Vercel Analytics#314
EmersonBraun merged 1 commit into
mainfrom
chore/vercel-analytics

Conversation

@EmersonBraun

Copy link
Copy Markdown
Collaborator

Summary

  • Replaced PostHog (`posthog-js` + custom `AnalyticsProvider`) with `` from `@vercel/analytics/next`.
  • Vercel Analytics already enabled in project dashboard — zero-config pageview tracking via Vercel edge.
  • Dropped PostHog-specific files: `lib/analytics.tsx`, `ANALYTICS.md`, `.env.example`.
  • Removed unused `Suspense` import from root layout.

Test plan

  • `pnpm --filter @agentskit/docs-next lint` passes (verified)
  • `pnpm --filter @agentskit/docs-next build` succeeds
  • Vercel preview deploy shows pageviews in Vercel Analytics dashboard
  • No `posthog` references remain in `apps/docs-next/` source (docs content references in `migrating/*.mdx` intentionally kept)

Vercel Analytics enabled in project dashboard. Drops the posthog-js
dependency, the custom AnalyticsProvider wrapper, PostHog env vars,
and the PostHog-specific ANALYTICS.md docs. Uses <Analytics /> from
@vercel/analytics/next in the root layout — zero-config pageview
tracking via Vercel edge.
@vercel

vercel Bot commented Apr 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentskit-doc Ready Ready Preview, Comment Apr 16, 2026 0:56am

@EmersonBraun EmersonBraun merged commit 37cc1ef into main Apr 16, 2026
7 checks passed
@EmersonBraun EmersonBraun deleted the chore/vercel-analytics branch April 16, 2026 01:01
EmersonBraun added a commit that referenced this pull request Apr 16, 2026
Re-publish only — the Fumadocs migration (#286, #313, #314) rewrote every
package README to link to www.agentskit.io, but none of the packages have
been republished since, so npmjs.com still surfaces the legacy
emersonbraun.github.io URL. This patch bump across all 14 packages
refreshes the READMEs in a single sweep.
EmersonBraun added a commit that referenced this pull request Apr 16, 2026
Re-publish only — the Fumadocs migration (#286, #313, #314) rewrote every
package README to link to www.agentskit.io, but none of the packages have
been republished since, so npmjs.com still surfaces the legacy
emersonbraun.github.io URL. This patch bump across all 14 packages
refreshes the READMEs in a single sweep.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant