FoxPlug launches on Product Hunt on Tue Nov 17. Get notified

FoxPlug Help / Connect your tools

Connect PostHog: what to paste and what FoxPlug reads

An open-source product-analytics platform for events, funnels, session replay and feature flags. FoxPlug reads it only when you press Check for what's new. What you give it: Personal API key with Read on the listed rows (including Organization & account, Project), plus Project ID, and host only on the EU site.

Where to find it: In FoxPlug open Settings, then Publishing & integrations, then the Analytics section, and press How to connect next to PostHog. Faster: press / in Settings and type PostHog. Open it in FoxPlug

Steps

  1. Open https://us.posthog.com/settings/user-api-keys (if your PostHog address starts with eu, open https://eu.posthog.com/settings/user-api-keys instead). If you see a login screen, sign in the way you normally do, with the Google or GitHub button.
  2. Click "+ Create personal API key" and name it FoxPlug.
  3. Set these rows to Read: Product analytics; Web, marketing & revenue analytics; Events, people & data model; Session replay; Setup & data management. Then find "Organization & account" and set Project to Read as well. PostHog refuses the key without that one. Everything else stays on No access.
  4. Click Create key and copy the key that starts with phx_. PostHog shows it once.
  5. Project ID: look at your PostHog address bar. The number after /project/ is it (us.posthog.com/project/295721/... means 295721).
  6. Host: leave it out if your address starts with us.posthog.com. If it starts with eu, put a bar and https://eu.posthog.com after the ID, like 295721|https://eu.posthog.com.
  7. Paste the key and the Project ID into the two boxes and press Connect.
  8. Press the connect button in FoxPlug. FoxPlug checks the key or sign-in straight away and tells you in plain words if it was refused.

Try it on your own site first

Paste your site address and see the brief FoxPlug writes from it, right here. Free, no account, no card.

Read my site, free

Good to know

What it does not do

Related

Something here not matching what you see? Write to hello@foxplug.com and say which line. Last checked 2026-11-13.