ClickMagick for ClickFunnels - Tracking Every Funnel Sale Back to the Ad (2026)

Connect your funnels during the 14-day free trial.

Try ClickMagick Free

Why Track ClickFunnels With ClickMagick

Card held near a payment terminal

ClickFunnels tells you how your funnel pages convert. It doesn't reliably tell you which Facebook ad, Google keyword or email produced each sale, especially when buyers come back days later or on another device.

ClickMagick fills that gap. It tracks the visitor from the first ad click, records the sale straight from ClickFunnels, and credits it to the right campaign. It can then pass those sales to your ad platforms through Audience Optimization.

How the Setup Works

Ad clickClickMagick code on your funnel pagesPurchase in ClickFunnelsWebhook sends the order to ClickMagickSale credited to the ad

There are two parts: tracking code on your pages, which records visits and opt-ins, and a webhook, which sends orders from ClickFunnels. Because sales come straight from the platform, ClickMagick says integrations like this should be fully accurate.

Step-by-Step Setup

  1. Create a ClickMagick projectUnder Campaigns, then copy your click tracking code from the Website Code Wizard.
  2. Add the code to your funnel pagesPaste it into the funnel's tracking code settings so every page loads it.
  3. Track opt-ins as actionsAdd the conversion code for opt-ins on your thank-you or confirmation step if you want lead tracking.
  4. Add the sales webhookSee the version-specific settings below.
  5. Remove old sales codeIf you previously added ClickMagick sales tracking code, take it off. Using both breaks tracking.
  6. Test with a real orderMake a low-value or test purchase and confirm it appears in ClickMagick against the right source.

Webhook Settings by Version

Where to add the ClickMagick webhook
ClickFunnels ClassicClickFunnels 2.0
WhereFunnel Settings, then Webhooks, then Manage Your Funnel WebhooksWorkspace Settings, then Webhooks, then Add new endpoint
Eventpurchase_updatedorder.updated
Version1 (adapter: attributes)API V2
ScopePer funnelWorkspace-wide

The webhook URL itself comes from your ClickMagick integrations page and includes your user ID.

What You'll See Afterwards

  • Sales and refunds by ad, ad set and keyword, not just by funnel.
  • Funnel Steps reports showing where visitors from each source drop off.
  • Return on ad spend once ad costs are synced.
  • Visitor profiles showing every click before a purchase.

Common Mistakes

Mechanic's tools
  • Keeping old sales code and the webhook, which double-counts or breaks sales.
  • Skipping UTMs on ads, so sales show without a clear source. See our UTM guide.
  • Using the Classic event on 2.0, or the other way round.
  • Not testing before scaling spend.

Is It Worth It for ClickFunnels Users?

If you run paid traffic to ClickFunnels, we'd say yes. Funnels are often bought days after the first click and after several emails, which is exactly where pixel-only tracking struggles. Our funnel tracking guide covers multi-step funnels in more depth.

See which ads actually fill your ClickFunnels funnels.

Try ClickMagick Free

Frequently Asked Questions

Does ClickMagick work with ClickFunnels?

Yes. ClickMagick has a ClickFunnels integration for both ClickFunnels Classic and ClickFunnels 2.0. Tracking code goes on your landing pages and a webhook sends sales and refunds directly from ClickFunnels.

How do I connect ClickFunnels 2.0 to ClickMagick?

In ClickFunnels 2.0, go to Workspace Settings, then Webhooks, and add a new endpoint using your ClickMagick ClickFunnels URL with the order.updated event type and API version 2.

Do I still need sales tracking code on my thank-you page?

No. If you use the integration, remove any older ClickMagick sales tracking code. ClickMagick warns that using both at once breaks tracking.

Will upsells and refunds be tracked?

The integration sends order updates from ClickFunnels, so sales and refunds are recorded directly from the platform rather than relying on a page loading.

Why use ClickMagick if ClickFunnels has its own stats?

ClickFunnels shows what happened inside the funnel. ClickMagick shows which ad, keyword or email sent each buyer, and can send those sales back to Meta, Google, TikTok and Microsoft for optimisation.