How to Track Website Conversions (2026 Guide)
Complete guide to tracking website conversions. Learn to set up conversion tracking, measure ROI, and understand which marketing channels drive real results.
Published on January 20, 2026 by TrackFox Team
How to Track Website Conversions: Complete 2026 Guide
You're spending money and time on marketing. But how do you know if it's working?
Conversion tracking is how you find out.
This guide covers everything you need to know about tracking conversions on your website—from basic setup to advanced attribution.
What is a Conversion?
A conversion is when a visitor takes a desired action:
Macro conversions (primary goals):
- Purchase/payment
- Subscription signup
- Demo request
- Quote request
Micro conversions (secondary goals):
- Email signup
- Content download
- Account creation
- Add to cart
You should track both. Micro conversions indicate interest. Macro conversions indicate revenue.
Why Conversion Tracking Matters
Without conversion tracking:
- "We got 10,000 visitors from Google Ads"
- Did any of them buy? "Umm... probably?"
With conversion tracking:
- "We got 10,000 visitors from Google Ads"
- "50 converted to customers"
- "$15,000 in revenue"
- "ROI: 200%"
Conversion tracking turns traffic data into business intelligence.
Setting Up Basic Conversion Tracking
Step 1: Define Your Conversions
Write down your key conversions:
- Primary conversion: [e.g., "Purchase completed"]
- Secondary conversions: [e.g., "Email signup", "Trial started"]
Be specific. "Engaged user" is not a conversion. "Submitted contact form" is.
Step 2: Choose Your Analytics Tool
Options:
- TrackFox - Best for revenue attribution (recommended)
- Google Analytics - Free but complex
- Plausible - Simple but limited conversion features
For this guide, we'll use TrackFox, but concepts apply to any tool.
Step 3: Install Tracking Code
Add TrackFox to your site:
npx trackfox add
Or add manually:
<script
defer
src="https://trackfox.app/script.js"
data-website-id="your-website-id"
></script>
Step 4: Track Conversion Events
For form submissions:
document.querySelector('#signup-form').addEventListener('submit', () => {
window?.trackfox('signup_completed', {
form_type: 'newsletter',
page: window.location.pathname,
});
});
For purchases:
// After successful payment
window?.trackfox('purchase_completed', {
amount: 99,
currency: 'usd',
product: 'pro_plan',
});
For button clicks:
document.querySelector('.cta-button').addEventListener('click', () => {
window?.trackfox('cta_clicked', {
button_text: 'Start Free Trial',
location: 'hero',
});
});
Tracking Conversions by Source
The magic of conversion tracking is knowing WHERE conversions come from.
Using UTM Parameters
Tag your marketing links:
https://yoursite.com/?utm_source=google&utm_medium=cpc&utm_campaign=spring-sale
UTM parameters:
utm_source- Where traffic comes from (google, facebook, newsletter)utm_medium- Marketing medium (cpc, email, social)utm_campaign- Specific campaign name
Your analytics tool captures these automatically.
Viewing Conversions by Source
In TrackFox, go to Dashboard → Conversions:
| Source | Visitors | Conversions | Conv Rate |
|---|---|---|---|
| Google Organic | 5,000 | 50 | 1.0% |
| Google Ads | 2,000 | 40 | 2.0% |
| 3,000 | 15 | 0.5% |
Insight: Google Ads converts 4x better than Facebook.
Building Conversion Funnels
A funnel tracks the path to conversion:
Landing Page → Pricing Page → Signup Form → Payment
1,000 → 300 → 100 → 25
Overall conversion rate: 2.5%
Setting Up Funnels
In TrackFox:
- Dashboard → Funnels → Create New
- Add steps:
- Step 1: Page visit
/pricing - Step 2: Event
signup_started - Step 3: Event
signup_completed - Step 4: Event
payment_completed
- Step 1: Page visit
- Save
Now you see drop-off at each step.
Connecting Conversions to Revenue
This is where most analytics tools fail.
Knowing "50 people converted" is nice. Knowing "50 people converted, generating $15,000, from Google Ads" is actionable.
Revenue Attribution with TrackFox
Connect your payment provider:
- Dashboard → Integrations
- Connect Stripe (or PayPal, LemonSqueezy)
- Revenue automatically attributed to traffic sources
Your dashboard now shows:
| Source | Conversions | Revenue | Avg Value |
|---|---|---|---|
| Google Organic | 50 | $12,500 | $250 |
| Google Ads | 40 | $8,000 | $200 |
| 15 | $2,250 | $150 |
Google Organic brings highest-value customers.
Advanced Conversion Tracking
Cross-Device Tracking
User clicks ad on phone, converts on desktop.
To track this:
- Identify users when they log in
- Connect sessions to user ID
// When user logs in
window?.trackfox('identify', {
user_id: 'usr_12345',
});
Now their journey is connected across devices.
Multi-Touch Attribution
A customer touches your brand 5 times before buying:
- Google search (first touch)
- Facebook retargeting
- Email newsletter
- Direct visit
- Purchase (last touch)
Which touchpoint gets credit?
- First-touch: Google gets 100%
- Last-touch: Direct gets 100%
- Linear: Each gets 20%
- Time-decay: Recent touches get more
TrackFox supports all models. Choose based on your business.
Offline Conversion Tracking
Customer converts via phone call or in-person.
Track manually:
// Log offline conversion via API
await trackfox.track({
event: 'offline_purchase',
userId: 'customer_email@example.com',
properties: {
amount: 500,
source: 'phone_call',
},
});
Common Conversion Tracking Mistakes
Mistake 1: Tracking Everything
Problem: 50 different "conversion" events, no clarity
Fix: Pick 3-5 key conversions that matter. Track those well.
Mistake 2: Not Tracking Revenue
Problem: Know conversion count, not conversion value
Fix: Connect to payment provider. Track revenue, not just events.
Mistake 3: Ignoring the Funnel
Problem: Only tracking final conversion
Fix: Track steps leading to conversion. Find drop-off points.
Mistake 4: Wrong Attribution Model
Problem: Using last-touch when first-touch matters (or vice versa)
Fix: Understand your sales cycle. Choose appropriate model.
Conversion Tracking Checklist
Basic setup:
- Analytics tool installed
- Primary conversion event tracking
- Secondary conversion events tracking
- UTM parameters on all marketing links
Intermediate:
- Conversion funnel built
- Revenue tracking connected
- Conversions segmented by source
Advanced:
- User identification for cross-device
- Multi-touch attribution configured
- Offline conversions tracked
Quick Start: TrackFox Conversion Tracking
Get started in 10 minutes:
- Sign up: trackfox.app/sign-up
- Install:
npx trackfox add - Track conversions:
window?.trackfox('conversion_name', { properties }); - Connect revenue: Dashboard → Integrations → Stripe
- View data: Dashboard → Conversions
14-day free trial. All features included.
Conclusion
Conversion tracking isn't optional—it's essential.
Without it, you're spending money on marketing and hoping it works. With it, you know exactly what's working and what isn't.
Start simple:
- Install analytics
- Track your main conversion
- Tag your marketing links
- Connect revenue
Then iterate: build funnels, segment by source, optimize.
Start tracking conversions with TrackFox →
Last updated: January 2026
Related Articles
Best Google Analytics Alternatives in 2026: Privacy-First Options
Looking for a Google Analytics alternative? Compare the best GA4 alternatives for 2026: TrackFox, Plausible, Fathom, Simple Analytics, and more.
How to Measure Marketing ROI: A Practical Guide
Learn to measure marketing ROI accurately. Connect ad spend to revenue, track campaign performance, and know exactly which marketing drives your business.
Privacy-Focused Analytics Tools: GDPR Compliant Options for 2026
Compare the best privacy-focused analytics tools that don't require cookie consent banners. GDPR compliant analytics that respect user privacy.
Try TrackFox free for 14 days
No credit card required. Cancel anytime. All features included.