PostHog uses cookies by default, but offers various ways to control your privacy risk surface. The PostHog JS SDK can integrate with cookie banners, allowing users to opt out of tracking, and there’s also a “cookie-free” mode that relies on anonymized server-side fingerprints to provide a degree of measurement even when users have opted out of cookies.
PostHog also offers cloud hosting in both the US or EU, as well as an open-source, self-hosted option. If you’re hosting on their cloud, you can set up a reverse proxy and custom domain for free, to ensure accurate measurement and greater privacy if you’re relying on cookies.
Google Analytics requires cookies, with no cookie-free option, and may or may not satisfy GDPR and other requirements due to many of Google’s servers being domiciled outside the EU with no way of controlling where data is stored.