Troubleshoot when the Insights/Analytics tab displays errors, blank charts, or fails to load data
The WhoKnew Views™ Analytics dashboard (found in the Insights tab) provides powerful visualizations of your product view data. If the charts aren’t loading or you’re seeing error messages, here’s how to diagnose and fix the issue.
🔒 First: Is This a Pro Feature?
The full Analytics dashboard with interactive charts, forecasting, and export features is a Pro-only feature.
🔑 Check First: Go to WhoKnew Views → License and verify your license status shows Active. If not, you’ll see an upsell page instead of the analytics dashboard.
If your license is inactive or expired beyond the grace period, the Insights tab will show a promotional page instead of the analytics interface.
🔍 Common Issues & Solutions
1
“No View Data Available” Message
The chart area shows a dashed border with a 📊 icon and the message “No View Data Available.”
This means:
- No products have been viewed by real customers yet
- All views are outside the selected time range
- A PHP error prevented view recording
✅ Solution: Visit your products on the frontend (logged out or incognito) to generate view data, then refresh the Insights page. Also try expanding the time range dropdown.
2
Blank White Space Where Chart Should Be
The chart area is completely empty—no message, no loading indicator, just blank space.
Likely cause: Chart.js library failed to load.
✅ Check: Open browser DevTools (F12) → Console tab → Look for red errors mentioning Chart or chart.umd.min.js
✅ Fix: The plugin includes a CDN fallback. If both local and CDN fail, check if your site blocks external scripts or if a security plugin is interfering.
3
Chart Loads But Shows Flat Line at Zero
The chart renders, but all data points are at zero.
Possible causes:
- Your IP is whitelisted (your views aren’t counted)
- You’re viewing as admin (admin views excluded)
- The selected time range has no views
- Bot filter is blocking all traffic
✅ Solution: Generate real views from a non-admin, non-whitelisted source, or expand the time range selector.
4
JavaScript Errors in Console
The Insights page partially loads but functionality is broken.
✅ Check: Open DevTools (F12) → Console → Look for red JavaScript errors.
Common culprits:
- Another plugin’s JavaScript error breaking execution
- Ad blocker blocking analytics scripts
- Security plugin blocking inline scripts
- Minification/optimization plugin corrupting JS
✅ Test: Temporarily disable other plugins to isolate the conflict.
5
Product Dropdown Is Empty
The product multi-selector shows no products to choose from.
Possible causes:
- No published WooCommerce products exist
- WooCommerce is deactivated or missing
- Database query timeout on large stores
✅ Check: Verify WooCommerce is active and you have at least one published product.
6
Slow Loading / Timeout on Large Stores
The analytics page takes forever to load or times out on stores with thousands of products.
✅ Solutions:
- Select fewer products (max 10 at a time)
- Use a shorter time range (24 hours or 7 days)
- Increase PHP memory limit and max execution time
📦 Required Scripts
The Analytics dashboard loads these scripts (all included with the plugin):
| Script | Purpose | Fallback |
|---|---|---|
chart.umd.min.js | Chart.js library for rendering graphs | CDN fallback enabled |
chartjs-adapter-date-fns | Date/time handling for chart axes | CDN fallback enabled |
prophet-forecast-*.js | AI forecasting modules | Local only |
✅ Built-in Resilience: The plugin includes automatic CDN fallbacks for Chart.js. If the local file fails to load, it automatically tries the jsdelivr CDN.
🛠️ Debugging Steps
Step-by-step debugging process:
- Open browser DevTools:
F12orCtrl+Shift+I - Go to the Console tab
- Reload the Insights page
- Look for red error messages
- Note any errors mentioning
Chart,wkv, orundefined
📊 What the Analytics Dashboard Shows
When working correctly, the Insights tab displays:
📈
View Charts
Line, bar, and area charts
🔮
AI Forecasts
Prophet-powered predictions
🏆
Rankings Table
Product performance leaderboard
📥
Export Tools
PNG and CSV downloads
📋 Quick Checklist
- ✅ Pro license is Active
- ✅ WooCommerce is installed and active
- ✅ At least one published product exists
- ✅ Real view data has been recorded (check from logged-out browser)
- ✅ No JavaScript errors in browser console
- ✅ Selected time range contains view data
- ✅ Ad blocker / security plugins not blocking scripts
💡 Pro Tip: The analytics page works best with products that have at least a few days of view history. Brand new stores may need to accumulate traffic before meaningful patterns appear.
If you’ve verified all the above and analytics still won’t load, generate a System Info Report and contact support with the browser console errors included.