CallRail A/B testing integration

Close the loop on phone-call conversions. Capture Mida's visitor cookie in CallRail, paste one webhook URL, and every tracked call is credited to the experiment variant the caller saw.

Marketing & Email Data in Webhook (server-side) Works with Mida A/B Testing & Personalization

About CallRail

CallRail is the leading call tracking and attribution platform, used by businesses whose highest-value conversions happen on the phone — home services, legal, healthcare, automotive, and agencies. If your best leads call instead of clicking, this integration lets Mida measure which page variant made the phone ring.

How the CallRail integration works

Mida already stores each visitor's ID in a first-party cookie named optimize_uuid. You add that cookie name to CallRail's Custom Cookie Capture, then point a CallRail Post-Call webhook at Mida's dedicated CallRail endpoint. When a tracked visitor calls, CallRail posts its call object to Mida, Mida reads the visitor from the captured cookie, records a Phone Call event with call metadata (duration, answered, source, phone numbers), de-duplicates per call, and credits the conversion to the caller's experiment variant. No field mapping, no Zapier, no code.

Requirements

  • Mida tracking code installed on the page (it sets the optimize_uuid cookie automatically).
  • CallRail visitor tracking via a Website (Session) tracker number pool — static source tracker numbers don't carry captured cookies.
  • optimize_uuid added to CallRail's Custom Cookie Capture integration.
  • A CallRail Post-Call webhook pointed at Mida's CallRail endpoint.

How to use CallRail with Mida

  • Install the Mida snippet on the pages where your CallRail scripts, embeds, forms, or analytics events already run.
  • Enable the CallRail integration in your Mida workspace so experiment exposure and conversion events can be matched to the right visitor and variant.
  • Launch an A/B test or personalization campaign, then use CallRail data to analyze variant performance, diagnose friction, or select deeper conversion goals.

Use cases

Attribute phone calls to page variants

Run a Mida test on your landing page headline, offer, or layout and use Phone Call as the conversion goal. Perfect for industries where the phone — not a form — is the primary conversion path.

Test call-focused CTAs

Compare 'Call now' placements, sticky call bars, or click-to-call buttons against form-first layouts and see which variant actually drives completed calls, not just clicks.

Measure answered calls only

Mida stores answered and duration on every Phone Call event, so you can distinguish real conversations from missed calls when evaluating a test.

Retroactive goal attribution

Mida matches event goals to experiments at report time. Start capturing calls first and create the Phone Call goal later — past calls from visitors in the test are credited automatically.

Shared data

Mida and CallRail exchange the following events:

Event Direction Description
Phone Call Data in Recorded when CallRail's Post-Call webhook reaches Mida. The visitor is resolved from the captured optimize_uuid cookie; call metadata (duration, answered, direction, source, phone numbers) is stored on the event.

Frequently asked questions

Do I need Zapier or a developer?

No. Mida's CallRail endpoint accepts CallRail's native webhook payload as-is. Setup is two steps in the CallRail dashboard: add one cookie name to Custom Cookie Capture and paste one webhook URL.

Why does this require a CallRail number pool?

CallRail only attaches captured cookies to calls placed to Website (Session) tracker numbers, because those are matched to an individual web session. Calls to static source tracker numbers arrive without visitor data.

Will enabling multiple CallRail triggers double-count calls?

No. Mida de-duplicates on the CallRail call id, so Post-Call and Call-Modified webhooks for the same call record one Phone Call event.

Can I count past calls toward a test?

Yes, with one boundary: the caller must have been assigned to the test when they visited, and the call must fall within the test's active window. Creating the goal after calls were captured is fine — attribution happens at report time.

Ship A/B tests 10x faster — connected to your stack

Mida is the lightweight A/B testing and personalization platform that integrates with the tools you already pay for.

Decorative graphic Decorative graphic Decorative graphic Decorative graphic