Use Cases
Sales Funnels Track every step of your funnel from ad click to purchase. See which traffic sources convert best. Lead Generation Funnels Capture opt-ins and attribute leads back to specific ad campaigns on Meta, Google, or TikTok. Webinar Funnels Track registrations, attendance, and conversions. See which ads drive the most qualified leads. Product Launches Monitor launch funnel performance and identify where visitors drop off.Before You Start
- You have a DATALYR account
- You’ve created a workspace
- You have a ClickFunnels account (Classic or 2.0)
- You have access to edit your funnel pages
Step 1: Get Your Tracking Code
- Log in to your DATALYR dashboard
- Go to Settings → Tracking
- Copy your tracking script:
Step 2: Add to ClickFunnels (Classic)
For Individual Pages
- Open your funnel in ClickFunnels
- Click on the page you want to track
- Click Settings (gear icon)
- Go to Tracking Code tab
- Paste your DATALYR script in Head Tracking Code
- Click Save
- Repeat for all pages in your funnel
For All Funnel Pages
- Go to your funnel settings
- Click Settings at the funnel level
- Go to Head Tracking Code
- Paste your DATALYR script
- Click Save
Step 3: Add to ClickFunnels 2.0
- Open your funnel in ClickFunnels 2.0
- Click Settings in the left sidebar
- Scroll to Tracking & Analytics
- Click Add Tracking Code
- Paste your DATALYR script
- Set placement to Header
- Click Save
Step 4: Verify Tracking Works
- Visit your published funnel page in a new browser tab
- Go to your DATALYR dashboard
- Click Events in the sidebar
- You should see a
page_viewevent within 10 seconds
What Gets Tracked Automatically
Once installed, DATALYR automatically captures:- Page views on all funnel pages
- Visitor IDs (persistent across sessions)
- UTM parameters from ad campaigns
- Ad click IDs (fbclid, gclid, ttclid)
- Referrer and traffic source
- Device and browser information
Track Opt-in Forms
Track form submissions on your opt-in pages:- Edit your page in ClickFunnels
- Click Settings
- Go to Tracking Code tab
- Add this to Footer Tracking Code:
'Lead Magnet Funnel' with your actual funnel name.
Track Order Bumps
Track when users select order bumps:Track Purchases
Track purchase events on your order confirmation page:- Go to your Thank You or Order Confirmation page
- Click Settings → Tracking Code
- Add this to Footer Tracking Code:
CFOrderInfo availability depends on your ClickFunnels setup. Test to verify it works.
Track Upsell Acceptance
Track when users accept upsells:Identify Users
After form submission, identify users for cross-device tracking:Track Funnel Steps
Track progression through your funnel:Troubleshooting
Not seeing events? Check that:- Your tracking script is in Head Tracking Code (not Footer)
- You’ve saved and published your funnel
- Your workspace ID is correct
- Ad blockers are disabled
- You’re testing on the live funnel URL (not editor preview)
Next Steps
Verify Tracking
Confirm events are coming through
Track Custom Events
Learn event tracking API
Connect Integrations
Link Meta Ads, Google Ads, TikTok
View Your Dashboard
See your tracking data