Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics Integration #20

Merged
merged 5 commits into from
Mar 25, 2024
Merged

Analytics Integration #20

merged 5 commits into from
Mar 25, 2024

Conversation

rathijitpapon
Copy link
Member

Basic pageview and user analytics are added using Posthog

New ENV Variables for frontend:

  1. NEXT_PUBLIC_POSTHOG_KEY
  2. NEXT_PUBLIC_POSTHOG_API_HOST
  3. NEXT_PUBLIC_POSTHOG_UI_HOST

Distributed Tracing on/off controlling using environment variables

New ENV Variable for backend:

  1. SENTRY_ENABLE_TRACING=TRUE/FALSE

Copy link
Contributor

@ivarflakstad ivarflakstad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Just one suggestion. You would have to do the same conditional in PostHogPageView I guess.

@rathijitpapon rathijitpapon merged commit 80b4732 into main Mar 25, 2024
1 check passed
@rathijitpapon rathijitpapon deleted the posthog-analytics branch July 1, 2024 08:16
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