Forward Mida events into PostHog and capture PostHog events as Mida goals for unified product + A/B testing.
PostHog is the open-source product analytics, session replay, and feature flag platform built for engineers. Teams use PostHog to understand product usage, replay sessions, and roll out features behind flags — making it a natural complement to Mida's marketing-led A/B testing.
Mida ↔ PostHog is bidirectional. Outbound, Mida calls posthog.capture() with mida_pageview, mida_execute, and mida_conversion. Inbound, Mida hooks PostHog's capture function so every event you already track in PostHog (page views, button clicks, custom events) becomes selectable as a Mida goal.
Filter PostHog session recordings by the mida_execute event and variant property to watch real users interact with each version of your test — invaluable for understanding why a variant won or lost.
PostHog autocaptures clicks, form submits, and pageleaves out of the box. Pick any of them as a Mida goal from a dropdown — no extra instrumentation required.
Use Mida for visual, marketer-led tests on landing pages and use PostHog feature flags for engineer-led product experiments. Both stream to PostHog so you have one dashboard.
Define a cohort in PostHog like 'Users who saw variant B of pricing test'. Use it to filter funnels, retention, and dashboards — or feed it back into PostHog feature flags for follow-up rollouts.
Mida and PostHog exchange the following events:
| Event | Direction | Description |
|---|---|---|
mida_pageview |
Data out | posthog.capture() called on every page after variant assignment. |
mida_execute |
Data out | posthog.capture() called when a test executes on the current page. |
mida_conversion |
Data out | posthog.capture() called when a Mida conversion goal is reached. |
* |
Data in | Every PostHog capture event is mirrored to Mida and selectable as a goal. |
Yes. The integration uses the standard PostHog JavaScript SDK, so it works against PostHog Cloud (US/EU) and any self-hosted instance.
PostHog's experiments are engineer-driven (feature flags). Mida adds a no-code visual editor, AI variant generation, and a sub-15KB script — ideal for marketing teams iterating on landing pages without engineering bandwidth.
Mida groups events by name and surfaces the most frequent ones first, so the dropdown stays usable even on busy sites.
Mida is the lightweight A/B testing and personalization platform that integrates with the tools you already pay for.