title: "LemonSqueezy Revenue Analytics: Track Sales by Traffic Source" description: "Connect LemonSqueezy to analytics and see which marketing drives revenue. Track sales by source, campaign, and page in real-time. Perfect for digital products." date: "2026-01-06" author: "TrackFox Team" category: "Integrations" keywords: [ "lemonsqueezy analytics", "lemonsqueezy revenue tracking", "digital product analytics", "track lemonsqueezy sales", ]
LemonSqueezy Revenue Analytics with TrackFox
LemonSqueezy makes selling digital products easy. TrackFox shows you which marketing actually drives sales.
Connect LemonSqueezy to TrackFox and see exactly which traffic sources, campaigns, and pages convert to revenue.
Why LemonSqueezy Sellers Need Analytics
What LemonSqueezy Doesn't Show
LemonSqueezy dashboard shows:
- ✅ Total revenue and sales
- ✅ Product performance
- ✅ Customer emails
- ✅ Subscription metrics
What LemonSqueezy doesn't show:
- ❌ Which marketing channel brought each customer
- ❌ Revenue by traffic source (SEO vs ads vs social)
- ❌ ROI by campaign
- ❌ Which landing pages convert best
With TrackFox + LemonSqueezy, you see the full customer journey from first click to purchase.
What You'll Track
Complete Revenue Attribution
See LemonSqueezy sales by:
- Traffic source: Organic, paid ads, social media, email, referrals
- Campaign: Which specific ads or emails drove sales
- Landing page: Which pages convert visitors to customers
- Product: Which products sell from which channels
- Geography: Where your best customers come from
Example Insights
Revenue by Source (This Month):
- Twitter: $8,500 (50 sales)
- Product Hunt: $6,200 (38 sales)
- Indie Hackers: $4,800 (29 sales)
- Google SEO: $12,100 (71 sales)
- Newsletter: $5,400 (32 sales)
Insight: Google SEO drives highest revenue. Focus on content marketing.
Key Benefits for Digital Product Sellers
💰 Track Launch Success
Launching on Product Hunt or Hacker News? See real-time revenue during your launch.
📊 Optimize Landing Pages
Test different landing pages and see which convert to LemonSqueezy purchases.
🎯 Improve Social Campaigns
Share on Twitter/LinkedIn? Track which posts drive actual sales (not just likes).
📈 Understand Customer Journey
See how many touches it takes before someone buys your digital product.
💵 Calculate Marketing ROI
Spending on ads? See exact return on investment by channel.
Perfect For
- SaaS products selling through LemonSqueezy
- Digital courses and ebooks
- Software tools and templates
- Design assets and themes
- Membership subscriptions
- Indie hackers validating products
How to Set Up LemonSqueezy Tracking
Quick Setup (5 Minutes)
Step 1: Sign up for TrackFox (free 14-day trial)
Step 2: Install tracking script on your site
npx trackfox add
Step 3: Add LemonSqueezy revenue tracking
Choose your implementation method:
- Client-side tracking - Quick JavaScript setup (5 minutes)
- Server-side tracking - Most accurate with webhooks (10 minutes)
Step 4: Start seeing LemonSqueezy revenue by traffic source!
Implementation Methods
Client-Side Tracking (Quick)
Add tracking to your LemonSqueezy success page:
// After LemonSqueezy checkout succeeds
window?.trackfox("payment", {
email: customerEmail,
amnt: productPrice * 100, // Convert to cents
});
Best for: Simple setups, quick implementation
Server-Side Tracking (Recommended)
Use LemonSqueezy webhooks for 100% accurate tracking:
// In your LemonSqueezy webhook handler
await fetch("https://trackfox.app/api/v1/attribute-payment", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer YOUR_API_KEY",
},
body: JSON.stringify({
session_id: userSessionId,
visitor_id: userVisitorId,
website_id: "your_website_id",
email: customerEmail,
revenue: orderAmount * 100, // In cents
}),
});
Best for: Accurate attribution, subscription tracking
Track Subscriptions & Recurring Revenue
For LemonSqueezy subscriptions, track:
- Initial subscription purchases
- Monthly/annual renewals
- Upgrades and downgrades
- Churn by traffic source
See which marketing channels bring customers who stick around longest.
Frequently Asked Questions
Q: Does this work with LemonSqueezy Checkout?
A: Yes! Works with standard LemonSqueezy checkout, overlays, and payment links.
Q: Can I track individual products?
A: Yes! Add product info to your tracking:
window?.trackfox("payment", {
email: customerEmail,
amnt: 4900,
productId: "saas-starter-template",
productName: "SaaS Starter Kit",
});
Q: Does it track subscriptions?
A: Yes! Use server-side tracking with LemonSqueezy webhooks to track initial purchases, renewals, and churn.
Q: What about refunds?
A: Track refunds as separate events to see net revenue by channel.
Q: Can I see which Twitter posts drive sales?
A: Yes! Use UTM parameters in your links:
https://yoursite.com?utm_source=twitter&utm_campaign=launch_week
TrackFox shows revenue per Twitter campaign.
Pricing
TrackFox pricing:
- $9/month - 10k events (new products, testing)
- $19/month - 100k events (growing product)
- $29/month - 200k events (established product)
All plans include:
- ✅ LemonSqueezy revenue tracking
- ✅ Traffic source attribution
- ✅ Product launch tracking
- ✅ Real-time analytics
- ✅ Conversion funnels
Ready to Track LemonSqueezy Revenue?
Stop guessing which marketing works. See which channels drive sales.
No credit card required. Free 14-day trial. Perfect for indie hackers.
Last updated: January 2026
Related Articles
Try TrackFox free for 14 days
No credit card required. Cancel anytime. All features included.