Webflow Integration
Spyglasses provides comprehensive AI SEO, bot detection, and AI referrer tracking for Webflow sites through our Cloudflare Workers integration. This approach is necessary because Webflow doesn't provide direct access to request logs or middleware capabilities that Spyglasses requires for effective bot detection and analytics.
Why Cloudflare Workers?
Webflow is a powerful website builder, but it has certain limitations when it comes to server-side integrations:
Webflow Limitations
- No Server Access: Webflow doesn't provide access to server-side code or middleware
- No Request Logs: You can't intercept or analyze incoming HTTP requests
- Limited Custom Code: Only client-side JavaScript is supported
- No Bot Detection: No way to identify bots before they load your pages
Cloudflare Workers Solution
Cloudflare Workers sit in front of your Webflow site, providing:
- ✅ Full Request Access: Analyze every request before it reaches Webflow
- ✅ Edge Processing: Lightning-fast bot detection at 300+ global locations
- ✅ Complete Analytics: Track bots, AI referrers, and human visitors
- ✅ Selective Blocking: Block harmful bots while allowing legitimate crawlers
- ✅ Zero Webflow Changes: Your Webflow site remains completely unchanged
How It Works
- Visitor makes request to your domain
- Cloudflare Worker intercepts the request before it reaches Webflow
- Spyglasses analyzes the request for bots and AI referrers
- Legitimate traffic is forwarded to your Webflow site
- Analytics data is sent to your Spyglasses dashboard
Prerequisites
To use Spyglasses with Webflow, you need:
- Webflow site (any plan)
- Cloudflare account (free plan works)
- Domain on Cloudflare (your custom domain must use Cloudflare DNS)
Setup Process
Step 1: Move Your Domain to Cloudflare
If your domain isn't already on Cloudflare:
- Sign up for a free Cloudflare account
- Add your domain to Cloudflare
- Update your domain's nameservers to Cloudflare's
- Ensure your site is working through Cloudflare
Step 2: Configure Webflow
In your Webflow project settings:
- Go to Publishing → Custom Domain
- Add your domain (the one now on Cloudflare)
- Verify the domain is properly connected
Step 3: Deploy Spyglasses Worker
🚀 Easiest Option: Use Our Template
We've created a ready-to-deploy template that requires no coding and no file editing:
✅ Everything is configured in the Cloudflare dashboard - no technical skills needed!
Alternative: Manual Setup
Follow our complete Cloudflare Workers Integration Guide with these Webflow-specific settings:
Step 4: Configure Cloudflare Routes
In your Cloudflare dashboard:
- Go to Workers & Pages → Overview
- Click Add Route
- Set route pattern:
*your-domain.com/*
- Select your Spyglasses Worker
- Save the route
Webflow-Specific Considerations
E-commerce Sites
For Webflow e-commerce sites, consider these exclusions:
Form Submissions
Webflow forms will work normally since the Worker forwards all legitimate traffic:
- ✅ Contact forms continue working
- ✅ Newsletter signups unaffected
- ✅ E-commerce checkout process unchanged
- ✅ All Webflow integrations remain functional
Benefits for Webflow Sites
AI SEO Insights
- Track AI Platform Visits: See when your content appears in ChatGPT, Claude, or Perplexity
- Content Performance: Understand which pages AI platforms find most valuable
- SEO Optimization: Optimize content for both humans and AI
Bot Protection
- Scraper Prevention: Block aggressive content scrapers
- SEO Protection: Prevent duplicate content issues from bot scraping
- Server Load: Reduce server load by blocking unwanted bots
Analytics Enhancement
- Separate Bot Traffic: Clean analytics data with bot traffic filtered out
- AI Referrer Tracking: Track human visitors coming from AI platforms
- Real User Metrics: Focus on actual human engagement
Pricing
Cloudflare Workers
- Free Plan: 100,000 requests/day (sufficient for most sites)
- Paid Plans: $5/month for 10M requests + additional usage
Spyglasses
- Free Tier: Basic bot detection and analytics
- Pro Plans: Advanced features and higher request limits
Migration from Other Platforms
If you're moving to Webflow from another platform with existing Spyglasses integration:
- Keep your Spyglasses account - no changes needed
- Update your property settings in the Spyglasses dashboard
- Deploy the Cloudflare Worker as described above
- Update your origin URL to point to your new Webflow site
Troubleshooting
Common Issues
Site not loading through Cloudflare:
- Verify DNS settings are correct
- Check SSL/TLS encryption mode is set to "Full" or "Full (strict)"
- Ensure Webflow domain is properly configured
Worker not triggering:
- Verify route pattern in Cloudflare dashboard
- Check that the Worker is deployed to the correct zone
- Test with debug mode enabled
Webflow forms not working:
- Ensure all POST requests are being forwarded correctly
- Check that Webflow's form action URLs are accessible
- Verify no essential paths are excluded
Getting Help
Need assistance with your Webflow integration?
- 📖 Complete Setup Guide - Full Cloudflare Workers documentation
- 💬 Support: Contact support@spyglasses.io
- 🐛 Issues: Report bugs or request features
Deployment Options for Non-Developers
We understand that Webflow users often prefer visual, no-code solutions. Here are your options:
🚀 One-Click Deploy (Recommended)
- No GitHub account needed
- No code knowledge required
- Deploy directly from our template
🔧 GitHub Import (Simple)
- Fork our example repository
- Use Cloudflare's "Import a repository" feature
- Minimal setup required
Visit: github.com/orchestra-code/spyglasses-cloudflare-worker-example
📋 Manual Copy-Paste (No GitHub)
- Download files manually
- Copy code into Cloudflare Workers editor
- Perfect if you don't want to use GitHub
Next Steps
Ready to add Spyglasses to your Webflow site?
👉 Use Our Example Template (Easiest)
👉 Follow the Complete Integration Guide (Advanced)
Both guides include step-by-step instructions, troubleshooting tips, and support options.