CartLens for WooCommerce Documentation
Everything you need to install CartLens, verify live funnel tracking, activate Pro features, and keep your WooCommerce database fast.
1. Install CartLens Free (2 Minutes)
- Download cartlens-for-woocommerce-1.0.0.zip (or search CartLens for WooCommerce on WordPress.org once approved).
- In WordPress Admin, go to Plugins → Add New → Upload Plugin, upload the ZIP file, and click Activate.
- Open WooCommerce → CartLens Funnel. Three compact daily aggregate tables are created automatically—no setup wizard required.
2. Verify Live Tracking (Important!)
By default, CartLens excludes logged-in Store Managers and Administrators so your own testing does not pollute conversion rates. To verify live tracking immediately:
- Open a Private / Incognito browser window (logged out).
- Visit any WooCommerce product page, click Add to Cart, and open the Checkout page.
- Refresh WooCommerce → CartLens Funnel—you will see your Product View, Add to Cart, and Checkout Started counters increment immediately.
3. Activate CartLens Pro (Gumroad License Key)
- Purchase CartLens Pro ($59/yr) or CartLens Agency ($149/yr).
- Download
cartlens-pro-1.0.0.zipfrom your Gumroad receipt and copy your unique License Key. - Upload and activate
cartlens-pro-1.0.0.zipalongside the Free plugin. - Navigate to WooCommerce → CartLens Pro, paste your License Key, and click Activate License.
4. Configure Slack / Discord & Email Error Alerts (Pro)
Under WooCommerce → CartLens Pro, set your Alert Email and optional Slack or Discord Incoming Webhook URL, plus your daily error spike threshold (default: 10). CartLens checks hourly via WP-Cron and sends an immediate alert whenever checkout or coupon errors cross your threshold.
5. Full-Page Caching Compatibility
CartLens works out of the box with Cloudflare APO, WP Rocket, LiteSpeed Cache, W3 Total Cache, and server-level Nginx FastCGI cache. Product views and checkout starts are delivered via a ~1 KB gzipped navigator.sendBeacon() call to /wp-json/cartlens/v1/event, while Add-to-Cart and Order Completion use server-side WooCommerce hooks. Make sure your firewall/security plugin allows same-origin POST requests to /wp-json/cartlens/v1/event.
6. Privacy, GDPR & Database Maintenance
- Zero Cookies & Zero IP Storage: Only daily aggregate counts are saved locally in
wp_cartlens_daily_funnel,wp_cartlens_product_funnel, andwp_cartlens_checkout_errors. - PII Redaction: Email addresses and 6+ digit numeric tokens are stripped before checkout error strings are saved.
- Auto-Pruning: Configure retention (7–365 days, default 90 days) under CartLens Funnel → Settings & Privacy.
Need Help?
Email tuananh482k3@gmail.com with your WordPress & WooCommerce versions and we will reply promptly.