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

Posthog Analytics #226

Merged
merged 34 commits into from
Dec 12, 2024
Merged

Posthog Analytics #226

merged 34 commits into from
Dec 12, 2024

Conversation

PaulMcInnis
Copy link
Collaborator

@PaulMcInnis PaulMcInnis commented Nov 28, 2024

This migrates from MixPanel analytics over to PostHog, and changes some events to include more data per the spec.

ex:

swap_BERA event
https://eu.posthog.com/project/40908/events/0193741e-4563-7bf1-bedf-c1709ae7090b/2024-11-28T18%3A52%3A41.342000Z

image

edit: this also dumps mixpanel analytics, including their packages, but since react 19 has released and we're not trying to upgrade that right now, i've pinned those dependencies to <19 (we can upgrade later)

@PaulMcInnis PaulMcInnis self-assigned this Nov 28, 2024
Copy link

vercel bot commented Nov 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 5:03pm
v2-honey ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 5:03pm
v2-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 5:03pm
9 Skipped Deployments
Name Status Preview Comments Updated (UTC)
bartio-dex ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 5:03pm
bartio-honey ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 5:03pm
bartio-lend ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 5:03pm
bartio-perps ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 5:03pm
bartio-station ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 5:03pm
berajs-docs ⬜️ Ignored (Inspect) Dec 12, 2024 5:03pm
v2-bend ⬜️ Ignored (Inspect) Dec 12, 2024 5:03pm
v2-berps ⬜️ Ignored (Inspect) Dec 12, 2024 5:03pm
v2-dex ⬜️ Ignored (Inspect) Visit Preview Dec 12, 2024 5:03pm

@berachain berachain deleted a comment from vercel bot Nov 28, 2024
@PaulMcInnis
Copy link
Collaborator Author

OK, this is effectively blocked until we decide if we want to change the events to match the new incoming ones

@PaulMcInnis
Copy link
Collaborator Author

OK this first PR will focus on a subset of events 👍

@PaulMcInnis
Copy link
Collaborator Author

phew! OK, sorted the issue with static build, it seems that we needed to be using node 20 in that GH action.

RE the node 19/18 debacle I've cut a separate PR to address that #255

@PaulMcInnis PaulMcInnis merged commit f231077 into v2 Dec 12, 2024
15 checks passed
@bearpong bearpong deleted the posthog-setup branch December 16, 2024 18:22
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.

3 participants