This PR introduces the changes needed to set up Posthog (one of the todos that existed in the "next" branch).
I have followed the official integration and left the configuration and how to organize files to be discussed (if needed).
I also encountered eslint complaining about "no-unnecessary-condition". I could have fixed it by deleting posthog variable from if statement, however I preferred to disable it for now and see what you think.
Cspell was also complaining about the event name $pageview, so I changed it to Page View and tested it. this apparently doesn't break anything.
This PR introduces the changes needed to set up Posthog (one of the todos that existed in the "next" branch).
posthog
variable fromif
statement, however I preferred to disable it for now and see what you think.$pageview
, so I changed it toPage View
and tested it. this apparently doesn't break anything.