Reverse Proxy for PostHog, installable as a WordPress plugin
-
Install and enable the plugin
-
Update PostHog initalization
posthog.init('API_KEY', { api_host: '/ingest', ... } );
-
Save Permalinks (Settings -> Permalinks)
Using a reverse proxy means that events are less likely to be intercepted by tracking blockers. You'll be able to capture more usage data without having to self-host PostHog, ensuring you get a complete view of your users.