Skip to content

Conversation

@k11kirky
Copy link
Contributor

@k11kirky k11kirky commented Nov 1, 2025

Adding posthog js and posthog node tracking to Array

@k11kirky k11kirky requested a review from a team as a code owner November 1, 2025 19:06
Copy link
Contributor

Choose a reason for hiding this comment

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

pnpm-lock.yaml instead

@jonathanlab
Copy link
Contributor

I've updated this to be a map of type Record<Event, EventProperties>, instead using a generic tracking function, so we won't have to create a new function for each event we need to track.

};

posthogClient.capture({
distinctId: "app-event",
Copy link
Contributor

Choose a reason for hiding this comment

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

Take or leave, but after first login, we'll be able to cache a useful identifier to plug in here. Could be useful for tracking activation and retention across populations. But if the argument is to take a lighter hand in exchange for the privilege of being a desktop app, I totally back that too.

@k11kirky k11kirky merged commit 8aa75fb into main Nov 6, 2025
3 of 5 checks passed
@k11kirky k11kirky deleted the k11kirky/add-posthog branch November 6, 2025 20:54
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.

4 participants