Skip to content

feat: improve KPI tracking with Posthog #1222

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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

n1k0
Copy link
Member

@n1k0 n1k0 commented Jul 7, 2025

refs #1075

Useful notes about Posthog at ADEME

  • Create Posthog account for Ecobalyse (done: https://eu.posthog.com/project/76190)
  • Invite @vjousse and @camcoq-start
  • Install Posthog deps
  • Allow configuring Posthog host and key through env vars
  • Configure Posthog to track client side events
    • pageviews (posthog can't handle hash-based routing like ours)
    • login
    • signup
    • saved simulation
    • open comparator
    • for each, attach current scope to properties
  • Configure Posthog to track API events (docs, nodejs sample)
    • one event per endpoint
    • for each, attach scope to properties

@n1k0 n1k0 changed the title Feat/1075 improve kpi feat: improve KPI tracking with Posthog Jul 7, 2025
@n1k0 n1k0 force-pushed the feat/1075-improve-kpi branch from 65870c2 to b397cef Compare July 7, 2025 14:56
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