Tracking in ClickFunnels
ClickFunnels lets you build funnels with checkout pages, payment processing and upsells.
FunnelFlux records ClickFunnels sales through a webhook. The FunnelFlux tracking script adds the visitor’s hit ID to your opt-in and order forms. ClickFunnels then includes that hit ID in its contact and purchase webhooks, and FunnelFlux records the conversion against the right visitor.
ClickFunnels Classic and ClickFunnels 2.0
Section titled “ClickFunnels Classic and ClickFunnels 2.0”This guide is for ClickFunnels Classic. The FunnelFlux webhook reads the ClickFunnels Classic contact and purchase events.
ClickFunnels 2.0 sends webhooks in a different format, with event types such as one-time-order.completed (ClickFunnels 2.0 webhook event types).
The FunnelFlux ClickFunnels webhook does not read that format.
For ClickFunnels 2.0, add the Universal tracking script to your pages and record conversions with the Conversion Pixel or Conversion iFrame from System Links on your thank-you page.
Step 1: Get your ClickFunnels webhook URL
Section titled “Step 1: Get your ClickFunnels webhook URL”Go to the System Links page in FunnelFlux.
Copy the URL from the ClickFunnels Webhook card.
![]()
Step 2: Add the webhook in ClickFunnels
Section titled “Step 2: Add the webhook in ClickFunnels”In ClickFunnels Classic, open the funnel you want to track and go to Settings.
Scroll to Webhooks and click Manage Your Funnel Webhooks.
![]()
Click New Webhook. Paste the FunnelFlux webhook URL and select these events:
contact_createdcontact_destroyedpurchase_createdpurchase_destroyed
Do not add the updated events.
Leave Version and Adapter on their defaults.
![]()
Click Create Funnel Webhook.
ClickFunnels’ own steps are in Webhooks in ClickFunnels.
A created event records a conversion.
A destroyed event reverses it, for example after a refund.
Step 3: Create a funnel in FunnelFlux
Section titled “Step 3: Create a funnel in FunnelFlux”Create a funnel that mirrors your ClickFunnels flow.
Use landers for pages where no conversion happens, and offers for pages where conversions happen. Your order form page should be an offer, and so should upsell pages with accept and decline options.
Link the nodes in the same order as the ClickFunnels flow and save.
For the lander and offer URLs, use the URLs ClickFunnels gives those pages, for example https://domain.com/funnel-path.
If you use a custom domain in ClickFunnels, use that domain in these URLs.
Step 4: Copy the tracking script
Section titled “Step 4: Copy the tracking script”Right-click a page node and choose Send Traffic Here. In the Funnel URL window, turn on Use direct tracking and copy the Universal tracking script. The same script is on System Links under Get campaign link.
![]()
The classic interface at /admin/ also shows a funnel-level script in the funnel’s Advanced Settings.
V2 funnel settings do not have this box.
Step 5: Modify the tracking script
Section titled “Step 5: Modify the tracking script”Change the script so that it adds the hit ID to form submissions. This matters most on the first page with a form, because that is where ClickFunnels picks up the hit ID it later sends in the webhook.
The script ends with an fflux.track call like this:
fflux.track({ timeOnPage: false, timeOnPageResolution: 3000, noCookies: false, tokenInjection: { intoUrl: false, intoForms: { selector: null }, intoLinks: { selector: null }, tokens: {} }});Change it to:
fflux.track({ timeOnPage: false, timeOnPageResolution: 3000, noCookies: false, tokenInjection: { intoUrl: false, intoForms: { selector: 'form' }, intoLinks: { selector: null }, tokens: { flux_hid: '{hit-id}' } }});The script now adds flux_hid with the current hit ID to every form on the page.
Step 6: Add the script to ClickFunnels
Section titled “Step 6: Add the script to ClickFunnels”Add the modified script to every page in the funnel. The simplest way is funnel-wide: open the funnel’s Settings, paste the script into Body Tracking Code, and click Save and Update Settings.
You can also add it to a single page in that page’s tracking code settings. ClickFunnels explains both in Add tracking pixel.
Step 7: Make ClickFunnels pages go to action links
Section titled “Step 7: Make ClickFunnels pages go to action links”This step routes each page’s next step through FunnelFlux, so you see lander clicks and click-through rates.
ClickFunnels moves buyers from page to page itself, so you set the next step in the ClickFunnels page editor.
Open each page in the editor and click Settings > General Settings:
![]()
In the sidebar, enter the FunnelFlux action link that connects that page to the next one.
![]()
Use action links with organic parameters, so the redirect works even when the visitor has no FunnelFlux cookie.
To build one, open Links > System Links, copy the Action click URL, and replace ACTION-NUMBER with the action number.
Append &flux_f= with the Funnel ID from Funnel settings and &flux_ffn= with the ID of the node the action starts from.
To find a node’s ID, right-click the node, choose Send Traffic Here, and copy the number at the start of 3. Node.
Changing the funnel, for example deleting a node, can break existing action links, so make such changes carefully.
Step 8: Match offer and product names
Section titled “Step 8: Match offer and product names”Make the offer names in FunnelFlux match the product names in ClickFunnels.
The webhook carries the visitor’s hit ID, not the page they bought on. FunnelFlux matches each purchased product to an offer by name, so upsells are credited to the right offer.
In your ClickFunnels funnel, open each step that sells something, go to its Products tab, and rename the products to match your FunnelFlux offers, or rename the offers to match.
Use the product names, not the step names:
![]()
Step 9: Optionally pass the funnel ID
Section titled “Step 9: Optionally pass the funnel ID”If several FunnelFlux funnels use the same ClickFunnels pages, pass the funnel ID in the lander and offer URLs.
Add &flux_f={funnel-id} to those URLs.
When visitors arrive through a tracking link, flux_f is passed on to later steps, so the tracking script does not move them back to its default funnel.
If you link straight to the first page, add flux_fts to its URL to declare the funnel and traffic source.
Step 10: Send traffic
Section titled “Step 10: Send traffic”You can send visitors through a FunnelFlux tracking link, or link straight to your ClickFunnels pages, because they run the tracking script.
When you link straight to a page, add flux_fts and that traffic source’s custom tracking fields to the URL.
Otherwise the visit is recorded as organic.
Right-click the lander or traffic entrance node and choose Send Traffic Here. In the Funnel URL window, copy the link and move its whole query string onto your page URL.
For example, if the link for Facebook is:
https://trackerdomain.com/?flux_fts=qpopxcaoqcpzxiizxieqoqicoaapxlclztlcta0083&place=#{{placement}}&ad_id=#{{ad.id}}&adset_id=#{{adset.id}}&campaign_id=#{{campaign.id}}&source=#{{site_source_name}}change the base URL to your page:
https://your.clickfunnels-url.com/path-to-funnel/?flux_fts=qpopxcaoqcpzxiizxieqoqicoaapxlclztlcta0083&place=#{{placement}}&ad_id=#{{ad.id}}&adset_id=#{{adset.id}}&campaign_id=#{{campaign.id}}&source=#{{site_source_name}}If your results look wrong, use the chat in your FunnelFlux dashboard or email support@funnelflux.com.

