Skip to content

Make PostHog optional so the app doesn't crash without the key#692

Draft
valentin0h wants to merge 1 commit intodevfrom
posthog-key
Draft

Make PostHog optional so the app doesn't crash without the key#692
valentin0h wants to merge 1 commit intodevfrom
posthog-key

Conversation

@valentin0h
Copy link
Collaborator

Summary

  • Guard PostHog initialization so the app gracefully degrades when NEXT_PUBLIC_POSTHOG_KEY is missing
  • Server-side analytics calls no-op instead of crashing

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.

2 participants