
- The ClickFlare script goes in the funnel’s Head Code, so every step records the visit and keeps the click ID in the browser.
- A conversion script in the thank-you page’s code reports the sale to ClickFlare when the page loads.
At a glance
To set up ClickFunnels with ClickFlare:- Set up a tracking domain and conversions.
- Create the campaign and funnel offer.
- Add the script to the funnel.
- Get the conversion script.
- Add it to the thank-you page.
How the data flows
What you’ll need
- A ClickFlare account with your own tracking domain. Shared domains get flagged by ad platforms and blocked by browsers. See Tracking domains.
- A ClickFunnels workspace with access to funnel settings and the page editor.
- Your funnel on a domain you connected to ClickFunnels, so all steps share one domain.
Setup
Set up your own tracking domain
trk.yourdomain.com before anything else. The tracking script and the conversion script both load from it, and the conversion script only finds the click ID when they use the same domain as the campaign. See Tracking domains.Create the custom conversions (optional)
sale) with Include in Conversions and Include in Revenue, and Upsell (upsell) with Include in Revenue if you track upsells. The parameter is the value you put in ct, and the two must match exactly. See Custom conversions.Create the campaign
- Redirect if the traffic source allows redirects. You can rotate landers and funnels.
- Direct for Google Ads and other sources that don’t. The ad links straight to the funnel, and the script records the visit.
Create the funnel as an offer
Add the ClickFlare script to the funnel
Get the conversion script
click_id=OPTIONAL placeholder and set the payout and transaction ID:Add it to the thank-you page
Payout and transaction ID
ClickFunnels’ help center doesn’t document variables that put the order ID or order total into page code. That shapes the conversion script:- Payout is fixed per page. Type the value of what the buyer bought on the way to that page. If one funnel sells several price points, give each its own thank-you page, or set the offer’s payout in ClickFlare instead.
- Use a fixed
txidper step. ClickFlare keeps one conversion per click ID and transaction ID. A fixed value likemainmeans a buyer who reloads the thank-you page doesn’t count twice, while a different value on another step (upsell1) counts as its own conversion on the same click.
txid and the real total as payout instead.
Upsells and order bumps
ClickFunnels’ one-click upsell (OTO) pages come after the order form. A page script only knows that the page loaded, not what the buyer accepted, so:- Order bumps are part of the main order. The fixed payout can’t tell whether the bump was taken. Report the main product’s price, or add the bump’s value if most buyers take it.
- Upsells can be tracked when the page after an accepted upsell is different from the page after a declined one. Add the conversion script to the accepted page with its own
txidandct=upsell:
About ClickFunnels webhooks
ClickFunnels can send webhooks on the Scale, Optimize and Dominate plans, from Workspace Settings → Webhooks → Add New Endpoint. Events includeorder.completed, one-time-order.completed and one_time_order.refunded. Webhooks are sent as a fixed JSON body you can’t rewrite, so they would need Zapier, Make or a small script between ClickFunnels and ClickFlare.
The blocker is the click ID. ClickFunnels doesn’t document URL parameters in the order or contact payload. To check your own account:
- Create a webhook endpoint pointing to a test URL from a service like webhook.site.
- Click through your ClickFlare campaign and place a test order.
- Look for your
click_idvalue in the delivered JSON. You can also see deliveries in Workspace Settings → Webhooks, under Deliveries.
ct=refund and a negative payout. If it isn’t, stay with the thank-you page script.
Verify the setup
Click through the campaign
click_id= followed by a long ID.Check the scripts load
/cf/scripts/ on your tracking domain on the first funnel step.Place a test order
/cf/cv.Check ClickFlare
txid and ct.Troubleshooting
The page won't save after I paste code
The page won't save after I paste code
{{ or {%. The ClickFlare scripts don’t contain either. If you added your own code, wrap that part in {% raw %} and {% endraw %}, or remove it.No conversions arrive
No conversions arrive
- Check that the conversion script is on the thank-you page itself, not in the funnel Head Code. Funnel-wide code would fire on every step.
- Check that the visitor came through the ClickFlare campaign URL.
- Turn off ad blockers while testing.
Conversions arrive without a campaign
Conversions arrive without a campaign
The sale is counted on every reload
The sale is counted on every reload
txid. Add a fixed one such as txid=main.FAQ
Does ClickFlare integrate with ClickFunnels?
Does ClickFlare integrate with ClickFunnels?
Does this work with Google Ads?
Does this work with Google Ads?
Can I send the sale back to my traffic source?
Can I send the sale back to my traffic source?