WhoKnew Views™ | Analytics Widgets (Pro)

Skip to main content
Table of Contents
Print

Track 7-day performance trends with interactive charts right on your WordPress dashboard

Your WordPress dashboard is where every workday begins. The WhoKnew Views™ Analytics widget ensures you never need to click through menus to understand your store’s view performance. At a glance: total views, growth trends, top product, and a beautiful 7-day chart—all rendered with Chart.js and refreshed every time you load the dashboard.

🔒 PRO FEATURE — Full functionality requires WhoKnew Views™ Pro


📊 Widget Anatomy

The Analytics widget packs a surprising amount of data into a compact, draggable dashboard element. Here’s what each section delivers:

PRO

📊 Line

📈 Total Views

2,847

Last 7 days

↗ Growth

+23.5%

vs prev week

🏆 Top Product

Premium Hea…

487 views

📈

Interactive Chart.js Graph

7-day view trend with tooltips

📊 View Full Analytics

🔮 View Forecast


📈 The Three Stat Cards

Each stat card delivers a focused metric with supporting context:

Stat CardWhat It ShowsCalculation Method
📈 Total ViewsSum of all real views across all productsLast 7 days from midnight today (WordPress timezone)
↗ GrowthWeek-over-week percentage change(7d - prev7d) / prev7d × 100
🏆 Top ProductBest-performing product by view countHighest 7-day views (name truncated to 10 chars)

💡 Growth Color Coding: Positive growth shows in emerald green (↗). Negative growth shows in red (↘). This makes spotting trends instant.


📊 Chart Type Toggle

Click the green chart button to cycle through three visualization styles—all powered by Chart.js 4.4:

📈

Line Chart

Smooth curves with tension
4px point radius
Ideal for trends

📊

Bar Chart

Solid bars per day
80% opacity fill
Ideal for comparisons

🏔️

Area Chart

Line with filled area
20-30% opacity fill
Ideal for volume

// Chart type cycle order:

Line → Bar → Area → Line …


🔮 Quick Action Buttons

Two action buttons at the bottom provide instant navigation to deeper analytics:

📊 View Full Analytics

🔮 View Forecast

📊 View Full AnalyticsOpens Insights tab with graphs, tables, and exports
🔮 View ForecastOpens Insights tab with WhoKnew the Future™ AI panel

🆓 Free Version Experience

Free users still see the Analytics widget, but with a strategic twist: demo data + upgrade prompt overlay. Here’s what differs:

👤 Your Data

📊 Line

📈 Total Views

5,644

Last 7 days

↗ Growth

+45.8%

vs prev week

🏆 Top Product

Premium Pro

1,243 views

🔮

Unlock WhoKnew the Future™

Meta Prophet AI forecasting

👤 Your Data button: Toggle between demo data and your real store data

🔄 Data Toggle Feature

Free users get a special “👤 Your Data” button that switches between:

🎭

Demo Mode (Default)

Pre-populated impressive data:
* 5,644 total views
* +45.8% growth
* “Premium Pro” top product

👤

Your Data Mode

Your actual store metrics:
* Real 7-day view totals
* Actual growth percentage
* Your real top product


⚙️ Enabling & Disabling the Widget

The Analytics widget can be toggled independently from the Achievements widget:

📍 Navigation Path

WhoKnew→WhoKnew Views→General tab→🎯 Dashboard Integration

✓

Show Analytics Dashboard Widget PRO

Display a draggable “WhoKnew Views™: Analytics” widget on your WordPress dashboard with real-time product performance metrics, interactive charts, and view trends

Default: Enabled (checked) | Affects: All admin users


🎨 Theme Support

The Analytics widget respects your Achievement Theme setting, adapting its colors to match your preference:

🌙 Dark Theme

* Slate navy background
* Light text on dark cards
* Indigo chart line

☀️ Light Theme

* Clean white background
* Dark text on light cards
* Indigo chart line


⚙️ Technical Details

⚙️ Under the Hood

Chart.js 4.4.0 Renders responsive, animated charts with tooltips

analytics_widget_enabled Setting key to enable/disable widget

WordPress timezone All calculations use gmt_offset for consistency

priority: high Widget appears near the top of the dashboard

CDN fallback If local Chart.js fails, loads from jsDelivr

Share