Why Track ClickFunnels With ClickMagick

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
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
- Create a ClickMagick projectUnder Campaigns, then copy your click tracking code from the Website Code Wizard.
- Add the code to your funnel pagesPaste it into the funnel's tracking code settings so every page loads it.
- Track opt-ins as actionsAdd the conversion code for opt-ins on your thank-you or confirmation step if you want lead tracking.
- Add the sales webhookSee the version-specific settings below.
- Remove old sales codeIf you previously added ClickMagick sales tracking code, take it off. Using both breaks tracking.
- 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
| ClickFunnels Classic | ClickFunnels 2.0 | |
|---|---|---|
| Where | Funnel Settings, then Webhooks, then Manage Your Funnel Webhooks | Workspace Settings, then Webhooks, then Add new endpoint |
| Event | purchase_updated | order.updated |
| Version | 1 (adapter: attributes) | API V2 |
| Scope | Per funnel | Workspace-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

- 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 FreeFrequently 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.