Skip to content

Clarity & Experiments

B2B SaaSE-commerce

Watch Microsoft Clarity replays by A/B test variant

Stop discarding strong experiment ideas because of a hidden UI bug. Auto-tag Microsoft Clarity replays by A/B variant and watch exact rage clicks in minutes.

Free monthly allowances included. Microsoft Clarity is free forever.

5 min read~15 min active setupUpdated
Product designer and engineer reviewing a softly blurred web layout in a sunlit studio
Filter free Microsoft Clarity replays directly by apex_exp and apex_var to fix variant friction before concluding a test.

Interactive preview · Microsoft Clarity + Apex Experiments

Watch why an A/B test variant lost before you discard the hypothesis.

Apex automatically pushes apex_exp and apex_var custom tags into Microsoft Clarity on every exposure. Switch variants below to inspect rage-click friction alongside verified Stripe signup lift.

Illustrative fixture · FormFlow Studio
ApexClarity Filter · apex_exp=pricing_annual_toggle_v2 · apex_var=annual_toggle_v2

Checkout rate

11.8%

224 of 1,900

Clarity rage clicks

1.3%

Healthy baseline

Dead clicks

0.9%

Filtered by apex_var

Clarity Replay Segment · apex_var=annual_toggle_v284s avg session

After turning the annual savings pill into a real toggle button, rage clicks plunged by 13.5 pp and Variant B v2 beat Control by +3.4 pp on settled Stripe annual plans.

clarity("set", "apex_exp", "pricing_annual_toggle_v2");
clarity("set", "apex_var", "annual_toggle_v2");

Variant B v2 (after replay fix)

11.8%

224 annual signups out of 1,900 visitors

Control pricing cards

8.4%

160 annual signups out of 1,900 visitors

Causal lift & 95% confidence interval+3.4 pp (95% CI +1.5 to +5.3 pp)
+64 annual plans (+$30,720 Year-1 revenue)p < 0.001
Microsoft Clarity is free forever. Connecting your Clarity Project ID in Apex auto-tags every experiment arm so you jump straight from a dipping conversion chart into the exact broken sessions.
Qualitative proof + quantitative cash

Tagged replay → Stripe buyer

Active · V2 Converted

Tessa Gallagher

tessa.gallagher@example.com

$480/yr

Brightpath Legal · 84s replay

  1. Subscription startedNov 30, 2026, 2:22 PM

    $480.00

  2. pricing_annual_toggle_v2Nov 30, 2026, 2:20 PM

    Shown apex_var=annual_toggle_v2 · web · sent

The complete playbook

Step-by-step setup, worked math, and real limits.

Follow the steps below, check how this interacts with tools you already run, and inspect live Apex pricing before turning anything on.

How it works without Apex

When an A/B test variant underperforms in week one, numbers alone can't tell you whether buyers disliked the offer or hit a broken mobile toggle. Teams routinely kill winning hypotheses before watching five session replays of the losing arm.

How Apex does it for you

Apex integrates directly with free Microsoft Clarity so every experiment assignment automatically sets apex_exp and apex_var custom session tags, letting you filter Clarity rage clicks and replays per variant alongside verified Stripe conversion lift.

How to set this up in 4 steps

  1. Connect your free Microsoft Clarity Project ID

    Paste your Clarity Project ID into Apex Integrations (or call connect_microsoft_clarity via MCP).

  2. Launch your A/B test normally

    Apex automatically calls clarity('set', 'apex_exp', ...) and clarity('set', 'apex_var', ...) on every variant exposure.

  3. Filter Clarity by apex_var and inspect rage clicks

    When a variant underperforms early, watch five rage-click replays to separate implementation bugs from weak hypotheses.

  4. Ship the clean fix and confirm Stripe cash lift

    Fix any broken interactions, re-run cleanly against control, and graduate the verified winner.

Why winning hypotheses get killed when you cannot see broken sessions

Every product team has watched a promising pricing or checkout A/B test tank in week one. Without session replays filtered directly by experiment variant, you only see "Variant B lost by 2.7 pp," assume buyers hated the offer, and throw the idea away. Half the time, the offer was great and a tiny UI bug caused mobile visitors to rage-click a non-interactive badge and bounce.

Apex integrates natively with Microsoft Clarity (free forever) so every experiment exposure automatically calls clarity("set", "apex_exp", ...) and clarity("set", "apex_var", ...). One click jumps you from any Apex experiment arm straight into the filtered Clarity replays, heatmaps, and rage-click telemetry for that exact variant.

How Apex auto-tags Microsoft Clarity for every experiment arm

  1. Paste your Clarity Project ID in Apex Integrations. Connect Microsoft Clarity once; Apex takes care of tagging every live experiment automatically with zero extra client code.

  2. Inspect rage clicks and dead clicks per variant. Whenever an experiment arm underperforms early, open Clarity filtered to apex_var=<variant> and watch five rage-click sessions in under three minutes.

  3. Fix implementation friction before declaring the idea dead. Separate "buyers rejected the offer" from "a collapsed toggle broke on iOS Safari," ship the fix as a clean revision, and re-run against control.

  4. Measure the fixed variant on real Stripe revenue. Pair Clarity's qualitative proof with Apex's Stripe revenue ledger so every graduated winner is backed by both smooth UX and settled cash.

Worked Clarity replay + A/B lift math (illustrative)

In the FormFlow Studio example above, the team tests an annual billing toggle on the pricing page:

  • Variant B v1 (before Clarity): Converted at just 5.7% vs 8.4% control, with Clarity flagging 14.8% rage clicks on a static "Save 20%" badge.

  • Variant B v2 (after fixing the badge): Rage clicks fell by 13.5 pp (to 1.3%) and checkout conversion jumped to 11.8% vs 8.4% control.

  • Verified Stripe impact: +3.4 pp lift (p = 0.0006), adding +64 annual plans worth +$30,720 in Year-1 revenue.

Pricing & replay-tagged experiment cost

Live Apex pricing · Pay-as-you-go

Estimated Apex cost for 3,800 pricing visitors split 50/50 with Clarity replay tags

$0 / month

Fully inside Apex's free monthly allowances (resets every calendar month).

Apex meter / scheduleScenario volumeFree allowance / basisRateApex cost
Events
~14,200 monthly events (pricing page views, exposure tags pushed to Clarity, Stripe checkouts)
14,200 / mo1M / month$5 per 100K events$0
Orchestrations
3,800 variant assignments tagged into Microsoft Clarity
3,800 / mo1M / month$5 per 100K assignments$0

Microsoft Clarity integration, automatic apex_exp/apex_var tagging, Stripe revenue verification, and unlimited seats carry no extra Apex fee. Individual event history stays queryable for 13 months without a card, 3 years with a card on file, and 7 years once you've paid an invoice. See the live pricing page.

Third-party and campaign costs (not paid to Apex)

ExpenseTypical rangeNotes
Microsoft Clarity$0 / moMicrosoft Clarity session replays and heatmaps are free with no traffic cap.

Limits and when Apex is the wrong tool

  • Respects visitor consent and privacy masking. If a visitor declines analytics consent in EU/UK regions, Clarity will not record a session replay; mask sensitive billing and PII inputs in Clarity settings before enabling.

  • Web browser sessions only. Microsoft Clarity's automatic apex_exp / apex_var tagging covers web experiments running the Apex Web SDK; native iOS and Android replays require Clarity's native mobile SDK separately.

  • When Apex is the wrong tool: If you only want heatmaps on a brochure site without running controlled experiments or tying behavior to Stripe or Shopify cash, install Microsoft Clarity standalone.

For your product engineer or AI editor

Connect Microsoft Clarity variant tagging via Apex MCP.

Use Apex MCP to connect your Clarity Project ID and verify every live experiment automatically tags Clarity sessions.

1Add Apex to your editor

Install in Grok Build

Opens Grok Build and adds Apex. Nothing to configure.

2Tell your agent

Paste this prompt into your AI editor (scroll to read full prompt)

Inspect my Apex workspace integrations before making changes. Propose a plan to: (1) connect my Microsoft Clarity Project ID using connect_microsoft_clarity, (2) verify our active pricing experiment forwards apex_exp and apex_var custom tags cleanly, and (3) confirm Stripe checkout conversions reconcile per arm.

The first time your agent calls Apex, it gives you a link to approve in the browser. There is no key to paste. In Grok Build you can also run /setup-apex.

See how editor setup works step by step

formflow-studio-web · Grok BuildWaiting for approval
Agent
You

Set up Apex in this repo.

Set up Apex · 0 of 4
  • Signed in
  • Workspace named
  • Events arriving
  • Conversion picked
  • Stripe

Your move

See why an experiment variant wins or loses in five replays.

Paste your Clarity Project ID once and automatically filter heatmaps and rage clicks by every Apex experiment arm.