PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.23k stars 1.26k forks source link

feat: track anonymous personfull events in usage reports #23461

Closed raquelmsmith closed 3 months ago

raquelmsmith commented 3 months ago

Problem

We want to see how many of our events per customer are anonymous but personfull to see if we can make the anonymous events all personless.

Changes

In usage reports, adds a metric for anonymous personfull events.

I will re-run usage reports for the last few days so this metric shows up and we can run numbers from there.

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

How did you test this code?

Updated the tests, which annoyingly took forever, I think there are too many ways to do the same thing, or they're named poorly or something.