Installation
Install SourceTag on ClickFunnels
Add SourceTag’s tracking script to your ClickFunnels pages using the custom code settings. This lets you track which campaigns, sources, and keywords drive conversions across your funnel.
Step 1: Copy your script tag
In your SourceTag dashboard, go to your site’s detail page and copy the script tag. It looks like:
<script src="https://cdn.sourcetag.io/scripts/YOUR_SITE_ID/st.js" async></script> Step 2: Add to ClickFunnels
For your entire funnel (recommended)
- Open your funnel in ClickFunnels
- Go to Settings for the funnel
- Find the Head Tracking Code section
- Paste the script tag
- Save
This loads the script on every step of the funnel, so attribution data follows the visitor from landing page through to conversion.
For a single page
- Open the specific funnel step in the editor
- Go to Settings for that page
- Find the Head Tracking Code section
- Paste the script tag
- Save
We recommend adding the script to the entire funnel rather than individual pages. SourceTag needs to run on the page where the visitor first arrives, which isn’t always the page with the form.
Step 3: Save and test
Save your funnel. The tracking script is now active on the published pages.
Visit your funnel with UTM parameters:
https://yourfunnel.com/?utm_source=test&utm_medium=cpc&utm_campaign=clickfunnels-test Walk through the funnel and submit a form. Check wherever your submissions are received (ClickFunnels contacts, webhook, CRM integration). The submission should include hidden fields with attribution data.
Notes
- The script works with ClickFunnels’ built-in form elements. Hidden fields are added automatically.
- Because SourceTag stores attribution data in a cookie, the data persists as the visitor moves through multiple funnel steps. It doesn’t matter which step has the form — the attribution data from the original landing is carried through.
- If you’re using ClickFunnels’ order forms or checkout pages, SourceTag will detect those forms as well.
- If you’re connecting ClickFunnels to a CRM or email platform, the attribution hidden fields will be included in the form submission data.
- Browser cookies are limited to 7 days on ClickFunnels (no server-side cookie option available for ClickFunnels pages currently).