Does anyone have step-by-step instructions on implementing PostHog in Wasp by any chance?
Hoping to bypass my usual slog through figuring out a new integration π
4 Replies
Hi @AC. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I don't see specific step-by-step instructions for implementing PostHog in Wasp in the provided knowledge sources. While there is a mention of PostHog being used for telemetry in Wasp's installation script (as seen in one of the documents), there isn't comprehensive documentation about how to integrate PostHog into a Wasp application.
The Wasp team does seem to be working on documentation for various integrations. For example, there's an open issue about documenting ChatGPT embeddings with pgvector Document how to use Wasp with ChatGPT embeddings (pgvector), but nothing specific about PostHog integration.
If you're looking for integration guidance, you might want to:
1. Check the official Wasp documentation website
2. Ask in the Wasp Discord community where other users have received help with integrations like Radix UI and Shadcn
3. Look at example apps in the Wasp GitHub repository
Sorry I couldn't provide the specific step-by-step instructions you were hoping for based on the available knowledge sources.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @AC, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
You get the script from Posthog, and add it to the head
This is what I did: https://github.com/wasp-lang/wasp/pull/2563/files
Thanks!!
I'm a bit embarrassed about how easy that was...π
Better than it being difficult π