Splitlab home

Book a Demo

Splitlab home

Book a Demo

Splitlab home
ClickFunnels 2.0 logo

ClickFunnels 2.0

Credit every ClickFunnels 2.0 order, upsell and subscription payment to the test variant the buyer saw, with refunds reversed.

Connect ClickFunnels 2.0 so its contacts and sales count toward your A/B tests. ClickFunnels sends each event to a Splitlab webhook the moment it happens, and Splitlab credits the money to the variant the buyer saw. The webhook belongs to one Splitlab workspace, and there is no campaign to pick: Splitlab finds the variant from the visitor.

What Splitlab tracks
  • Completed orders and paid invoices, credited to the buyer's variant

  • One-time offers such as upsells

  • Subscription payments, including the first payment

  • Refunds and voided invoices, which reverse the revenue

  • New and updated contacts, linked to the visitor as leads

How it works
  1. The Splitlab snippet assigns each visitor to a variant and fills a hidden mvt_visitor_id field on your ClickFunnels form, so the contact carries the visitor ID.

  2. When an order is paid, refunded or voided, ClickFunnels sends the event to your Splitlab webhook, signed with the endpoint's webhook secret.

  3. Splitlab credits the sale to the variant that visitor saw, so your report compares revenue per visitor across variants.

Set it up
  1. Install the Splitlab snippet on the funnel. On each form that creates the contact, add an INPUT with Input Type set to Custom Type, Custom Type set to mvt_visitor_id, Not Required, and hidden under Visibility. Without it, sales still arrive but show as Unattributed.

  2. In Splitlab, select the workspace, open Integrations → ClickFunnels 2.0 and click Create. Give the connection a name, click Create webhook URL, and copy the URL. Keep the wizard open.

  3. In ClickFunnels, open Workspace Settings, then Webhooks, and click Add new endpoint. Enter a Name, paste the Splitlab URL, select the Event types the wizard lists, and set API Version to V2.

  4. Under Endpoint scopes → Funnels, select the funnel your test runs on, then click Create endpoint.

  5. Click the new endpoint's name and copy its Webhook Secret. Back in the Splitlab wizard, click I've added the URL, tick I've selected these events in ClickFunnels, and paste the secret into the Webhook secret step.

  6. Optional: add a read-only API token so Splitlab can read your product catalog and fill in order details the webhook leaves out. In ClickFunnels, open Team Settings → Developer Portal, click Add new platform application, select Read only, click Create platform application, and paste the API access token into the wizard's API token step.

  7. Submit the live form in a private window with a new email. A contact.created delivery appears under ⋮ → View events. Make a test purchase and an orders/invoice.paid delivery appears, with the revenue shown as Attributed.

ClickFunnels 2.0 new webhook endpoint form with Name, URL, Event types and API Version fieldsClickFunnels 2.0 endpoint scopes with the Funnels field and the Create endpoint buttonClickFunnels 2.0 webhook endpoint details page with the Webhook Secret copy button
Good to know
  • Subscribe to the required events, order.completed, orders/invoice.paid, contact.created and contact.updated. order.created and order.updated alone record no revenue, because they fire before payment settles.

  • The webhook secret is optional, but without it Splitlab accepts unsigned deliveries. You can add it later with ⋮ → Edit Integration.

  • Revenue counts only in the Splitlab workspace that created the webhook.

Start testing with Splitlab, or book a demo and we will walk you through the setup.


Start optimizing for revenue today not just conversion rates.

Run experiments, track revenue per variation, and scale what actually makes you money.

We’ll increase your conversion rate by 30% or you don’t pay. Terms apply.


Start optimizing for revenue today not just conversion rates.

Run experiments, track revenue per variation, and scale what actually makes you money.

We’ll increase your conversion rate by 30% or you don’t pay. Terms apply.


Start optimizing for revenue today not just conversion rates.

Run experiments, track revenue per variation, and scale what actually makes you money.

We’ll increase your conversion rate by 30% or you don’t pay. Terms apply.