Analytics integration

Run A/B tests with Mixpanel data: Optibase + Mixpanel integration

Every Optibase test fires an optibase_variant_shown event into your Mixpanel project automatically. Segment any Mixpanel funnel, retention curve, or report by which variant the user saw, with zero setup.
Auto-detected. No API keys, no project tokens. If Mixpanel is on your page, Optibase finds it.
Native Mixpanel events. Variant exposure lands as a standard event with variantId and testId, ready to use in any Insight, Funnel, Retention, or Cohort.
Live in minutes. Add the Optibase script, launch a test, see variant data flowing into Mixpanel on the next pageview.
Header image
Join 3000+ companies already testing with Optibase
About Mixpanel

What is Mixpanel?

Mixpanel is a product analytics platform used by 8,000+ companies to track user behavior across web and mobile. Teams rely on it for conversion funnels, retention curves, cohort analysis, and event-level segmentation. It answers questions like "which users came back in week 4?" or "where do trial users drop off?"
What Mixpanel does not do well is A/B testing on marketing pages. Its experimentation features are limited and require engineering setup. Optibase fills that gap. Marketing teams run no-code A/B tests, and every test result flows into the Mixpanel reports your team already lives in.
Why this integration

Why connect Optibase to Mixpanel

Conversion tracking icon

See real product behavior, not just clicks

Most A/B tools show you click rate and conversion rate. Mixpanel shows you what users actually did after: feature adoption, retention, revenue. Connect the two and every test reveals the variant that drives lasting product behavior, not just the one that wins above the fold.
Reporting icon

Keep your existing Mixpanel reports

No new dashboards to learn. Open your existing trial-to-paid funnel, your D7 retention chart, your activation cohort report. Add optibase_variant_shown as a breakdown property and you are done. The same reports your team already trusts now answer "which variant won?" too.
No flicker icon

Marketers ship tests, analysts get event-level data

Optibase is no-code for marketers. Mixpanel is event-level for analysts. The integration means both teams work on the same experiment data, in the tool they each prefer, without anyone exporting CSVs at midnight.
Use cases

What you can run with Optibase + Mixpanel

A/B testing icon

Pricing page test, MRR per variant in Mixpanel

Test two pricing layouts on Optibase. Open your existing Mixpanel revenue funnel, break it down by optibase_variant_shown → variantId. You instantly see trial signups, paid conversions, and revenue per variant in one report. No need to wait for the CTR data. You go straight to the dollar question.

Onboarding flow test, week-1 retention per variant

Run an Optibase test on your onboarding screens. In Mixpanel, open the retention report you already use, add the variant breakdown, and watch the curves diverge. The variant with the higher CTR is not always the one with higher retention. Mixpanel is the only place that fact shows up.

Marketing-page test, activation cohort impact

Optibase tests your homepage hero. Users sign up. In Mixpanel, build a cohort of users who saw each variant, then analyze their feature adoption over the next 30 days. Now you know which marketing message attracts users who actually use the product, not just users who click "Sign up."
Multiple testing options icon

Funnel-step test, bottleneck shift detection

Run a test on a single funnel step (a form, a signup screen). In Mixpanel's funnel report, segment by variant. You will often find the winning variant moves the bottleneck downstream. Knowing where it lands is what tells you what to test next.
Setup

How to set up the Mixpanel integration

The integration is automatic. Optibase detects Mixpanel on your page and starts firing events. There is no connection screen, no API key, no project token to copy.

Confirm Mixpanel is installed via Script Tag

The integration works when Mixpanel is added to your site via the Mixpanel JavaScript snippet (the standard install). It does not work with server-side Mixpanel or SDK-only setups. If you can see Mixpanel events firing in your browser DevTools, you are ready.

Add the Optibase script and launch a test

Install the Optibase script on your site (one-line snippet, or use the native Webflow app). Build your first A/B test in Optibase. The moment a user is exposed to a variant, Optibase fires an optibase_variant_shown event into your Mixpanel project automatically.

Build a Mixpanel Insight with the variant breakdown

Open Mixpanel → Insights, Funnels, or Retention. Pick the report you want. Add a breakdown by event property → optibase_variant_shown → variantId (and optionally testId if you are running multiple tests). That is the analysis. From here, every Mixpanel report you build can answer the variant question.
What syncs

What gets sent to Mixpanel

Field

Direction

Frequency

Sent as

optibase_variant_shown

Optibase → Mixpanel

Real-time, on variant exposure

Mixpanel event

variantId

Optibase → Mixpanel

Per event

Event property

testId

Optibase → Mixpanel

Per event

Event property

Mixpanel data → Optibase

n/a

n/a

The integration is one-way

FieldDirectionFrequencySent as
optibase_variant_shown Optibase → Mixpanel Real-time, on variant exposure Mixpanel event
variantId Optibase → Mixpanel Per event Event property
testId Optibase → Mixpanel Per event Event property
Mixpanel data → Optibase Not applicable n/a The integration is one-way

That is the full surface area. Optibase keeps it simple on purpose. Once exposure is in Mixpanel as an event property, every other Mixpanel feature (funnels, cohorts, retention, formulas, breakdowns) works without any extra setup.

Browse integrations

Optibase integrates with the rest of your stack

Google Analytics 4

The Google Optimize replacement. Variant exposure lands in GA4 as an event parameter, native or via GTM. Build variant-aware audiences for Google Ads remarketing.

Learn more

Amplitude

Variant assignment events flow into Amplitude. Skip the Amplitude Experiment seat. Analyze in your existing Amplitude dashboards.

Learn more

PostHog

PostHog Actions detect Optibase data attributes natively. Pair Optibase marketing-page testing with PostHog's product analytics.

Learn more

BigQuery

Service-account auth, batch export of variant assignments, conversions, visitor IDs, and timestamps. Joinable with the GA4 BigQuery export, Stripe revenue, and any other warehouse data.

Learn more

Stripe

Server-to-server attribution that survives Stripe Checkout's domain change. Pass the Optibase user ID via client_reference_id, fire conversions from your webhook, see revenue per variant on every test.

Learn more

Google Tag Manager

Trigger Optibase conversions from any GTM event with optibaseSendConversionEvent('your-conversion-id'). Push variant data into the dataLayer for every other tag to consume.

Learn more

MCP Server

Hosted Model Context Protocol server at https://my.optibase.io/api/mcp. Read tests, conversions, heatmaps, and traffic from Claude Desktop, Cursor, or any MCP-compatible client.

Learn more

Custom API

Active Variants API in the browser. Conversion endpoint for server-to-server events. External user IDs. Reverse-ETL flows.

Learn more
FAQ

Frequently asked questions

How do I A/B test in Mixpanel?
Mixpanel does not run A/B tests on its own. It analyzes them. Optibase runs the test (no-code, set up in minutes) and pushes an optibase_variant_shown event into Mixpanel each time a user sees a variant. You then break down any Mixpanel report by variantId to see which variant won. This is the standard pattern for any team that wants to run marketing-page tests and analyze them inside Mixpanel.
Does this replace Mixpanel's own experiment feature?
It depends on what you need. Mixpanel's experimentation features are limited and require engineering setup. Optibase is purpose-built for no-code A/B testing on marketing pages: pricing pages, homepages, signup flows, landing pages. It sends results into Mixpanel automatically. For most teams, Optibase handles the testing and Mixpanel handles the analysis.
What gets sent from Optibase to Mixpanel?
A single event named optibase_variant_shown with two properties. variantId shows which variant the user saw. testId shows which test it belongs to. The event fires the moment a user is exposed to a variant, in real time. Optibase does not send any other data, and no data flows back from Mixpanel to Optibase.
Do I need a developer to set this up?
No. As long as Mixpanel is already installed on your site via the standard Mixpanel JavaScript snippet, Optibase detects it automatically. Once you launch an Optibase test, events start flowing into Mixpanel immediately. The only "setup" on the Mixpanel side is building the Insight or Funnel you want to break down by variant. That is a marketer task, not a developer task.
Will this work with my server-side Mixpanel setup?
Not currently. The integration relies on Mixpanel being present in the browser via the Script Tag install. Server-side and SDK-only Mixpanel setups are not supported. If your team uses both client-side and server-side Mixpanel, the client-side install is what Optibase will pick up.
How long until events appear in Mixpanel?
In real time. The optibase_variant_shown event fires the same moment Optibase decides which variant to show. No batching, no delay. You will see it in Mixpanel Live View within seconds.
Is the Mixpanel integration available on every Optibase plan?
Yes. Every Optibase integration, including Mixpanel, is available on every plan, including the free tier. There is no upgrade or paid feature gate.