Skip to content

fix(analytics): switch to @openpanel/nextjs SDK#29

Merged
jal-co merged 1 commit into
mainfrom
fix/openpanel-nextjs-sdk
Apr 24, 2026
Merged

fix(analytics): switch to @openpanel/nextjs SDK#29
jal-co merged 1 commit into
mainfrom
fix/openpanel-nextjs-sdk

Conversation

@jal-co

@jal-co jal-co commented Apr 24, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes OpenPanel integration to use the correct Next.js SDK.

Changes

  • Use OpenPanelComponent from @openpanel/nextjs for client-side tracking
  • Replace Umami server-side tracking with OpenPanel OpenPanel class
  • Update client-side track() helper to use window.op
  • Remove deprecated @openpanel/web package and Umami files

Environment

Requires:

  • NEXT_PUBLIC_OPENPANEL_CLIENT_ID — for client-side tracking
  • OPENPANEL_CLIENT_SECRET — for server-side registry download tracking (optional)

- Use OpenPanelComponent for client-side tracking
- Replace Umami server-side tracking with OpenPanel
- Update client-side track helper for window.op
@jal-co jal-co merged commit 334c205 into main Apr 24, 2026
2 checks passed
@jal-co jal-co deleted the fix/openpanel-nextjs-sdk branch April 24, 2026 15:39
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