The complete technical breakdown of WhoKnew Views’ view counting system and what gets tracked
Ever wonder what actually triggers a view count in WhoKnew Views™? Understanding how the plugin tracks views helps you interpret your data accurately and troubleshoot unexpected numbers. This article explains the complete view counting system—what gets counted, what doesn’t, and the critical differences between Free and Pro tracking behavior.
🎯 The Simple Answer
WhoKnew Views™ counts one real view when:
- ✅ A visitor loads a product page
- ✅ They haven’t viewed that product recently (cooldown period applies)
- ✅ They’re not an administrator
- ✅ They’re not a bot or crawler
- ✅ Their IP address isn’t whitelisted
That’s it! One product page load = one real view (if all conditions are met). Simple, accurate, and honest.
✅ Key Principle: WhoKnew Views™ always tracks real human views accurately. The free version shows only real views. Pro can add padding to displayed numbers, but the underlying real view data is always accurate and preserved separately.
🆚 Free vs Pro: Tracking Differences
Before we dive deeper, it’s crucial to understand that Free and Pro users have different cooldown and cookie systems:
| Feature | Free | Pro |
|---|---|---|
| Refresh Cooldown | 30 minutes (fixed, industry-standard, cannot be changed) | Configurable (default 7 minutes, set on Variation tab) |
| Cookie Lifespan | Tied to view window duration (e.g., 48 hours) | Separate configurable setting (set on Variation tab, in hours) |
| Purpose | Prevent duplicate real view counting | Control variation timing for number padding + real view tracking |
| Customizable? | ❌ No | ✅ Yes (WhoKnew → WhoKnew Views → Variation tab) |
💡 Key Insight:
Free users have a simple, industry-standard, fixed 30-minute cooldown and view-window-based cookies. Pro users have independent controls for refresh cooldown and cookie lifespan, designed to work with number padding variations while still accurately tracking real views.
🔍 What Triggers a View Count
Let’s break down exactly when WhoKnew Views™ records a view:
✅ Counted as Views:
| Action | Counted? |
|---|---|
| Visitor loads a product page | ✅ Yes |
| Visitor refreshes after cooldown expires | ✅ Yes (Free: 30+ min, Pro: configurable) |
| Visitor views product via direct link, search, or navigation | ✅ Yes |
| Visitor opens product in new tab/window | ✅ Yes (if cooldown expired) |
| Visitor views different products on your store | ✅ Yes (each product tracked separately) |
❌ NOT Counted as Views:
| Action | Counted? |
|---|---|
| Administrator views product while logged in | ❌ No (admins excluded) |
| Bot or crawler accesses product page | ❌ No (bots filtered) |
| Whitelisted IP address views product | ❌ No (IP whitelist active) |
| Same visitor refreshes during cooldown | ❌ No (Free: <30 min, Pro: |
| Shop page, category page, archive page | ❌ No (only individual product pages) |
⚙️ The View Counting Process (Step-by-Step)
Here’s what happens behind the scenes when someone visits a product page:
🔧 Technical Breakdown:
- Visitor loads product page: WordPress fires the
wpaction hook - Plugin checks page type: Is this a single product page? (If not, tracking stops)
- Administrator check: Is the visitor logged in with admin privileges? (If yes, tracking stops)
- IP whitelist check: Is the visitor’s IP address whitelisted? (If yes, tracking stops)
- Bot filter check: Is the visitor a bot based on User-Agent? (If yes, tracking stops)
- Cooldown check: Did this visitor view this product recently? (Cooldown: Free = 30 min, Pro = configured time)
- Record the view: Plugin adds current timestamp to product’s view array
- Update lifetime counter: Increments permanent total views counter (never decreases)
- Set tracking cookie: Stores cookie to prevent duplicate counting during cooldown
- Clean old data: Removes view timestamps older than 90 days
- Check achievements: Triggers milestone achievement notifications if enabled
All of this happens in milliseconds without impacting page load speed.
🍪 Cookie-Based Tracking: Free vs Pro
WhoKnew Views™ uses browser cookies to prevent the same visitor from inflating view counts. However, Free and Pro use different cookie systems:
🆓 Free Version Cookies:
- Cookie name:
wkv_viewed_[product_id](unique per product) - Cookie duration: Tied to your view window (default: 48 hours)
- Refresh cooldown: Fixed at 30 minutes
- Purpose: Prevent same visitor from counting multiple times within 30 minutes
📊 Free Example:
Customer views Product #123 at 2:00 PM. Cookie expires with your view window (48 hours). If they refresh at 2:15 PM, no new view is counted (within 30-minute cooldown). If they return at 2:35 PM, a new view IS counted (cooldown expired).
💎 Pro Version Cookies:
- Cookie name:
wkv_viewed_[product_id](same as Free) - Cookie duration: Separately configurable (set in hours on Variation tab)
- Refresh cooldown: Configurable (default: 7 minutes, set on Variation tab)
- Purpose: Control variation timing for number padding + track real views
📊 Pro Example:
You set refresh cooldown to 5 minutes and cookie lifespan to 12 hours. Customer views product at 2:00 PM. If they refresh at 2:03 PM, no new view (within cooldown). At 2:06 PM, new view is counted (cooldown expired). Cookie persists for 12 hours regardless of refresh cooldown.
💡 Why Pro Has Separate Controls:
Pro’s shorter refresh cooldown (configurable, often 5-10 minutes) allows number padding variations to update more frequently, creating dynamic social proof. The separate cookie lifespan prevents the same user from being counted too many times while still allowing variation changes.
Privacy & GDPR Compliance:
The tracking cookies used by WhoKnew Views™ are:
- ✅ Functional cookies (not marketing/analytics)
- ✅ First-party cookies (stored by your domain, not third parties)
- ✅ Minimal data (only timestamps, no personal information)
- ✅ HttpOnly & Secure flags (enhanced security)
Most privacy regulations (including GDPR) allow functional cookies without explicit consent, but consult your legal counsel for your specific jurisdiction.
⏱️ Understanding Refresh Cooldown
The refresh cooldown is the minimum time that must pass before the same visitor can trigger another view count on the same product.
🆓 Free Version: 30-Minute Fixed Cooldown
- Duration: 30 minutes (cannot be changed)
- Why 30 minutes? Industry standard for e-commerce session tracking
- Prevents inflation: Stops rapid refreshing from inflating real view counts
- Balances accuracy: Long enough to prevent abuse, short enough to catch genuine return visits
| Time | Action | Result (Free) |
|---|---|---|
| 2:00 PM | Customer views product | ✅ View counted |
| 2:15 PM | Same customer refreshes | ❌ Not counted (15 min < 30 min) |
| 2:35 PM | Same customer returns | ✅ View counted (35 min > 30 min) |
💎 Pro Version: Configurable Refresh Cooldown
- Duration: Configurable (default: 7 minutes, can be set to 1-30+ minutes)
- Where to set: WhoKnew → WhoKnew Views → Variation tab → Refresh Cooldown field
- Purpose: Controls how often number padding variations can update AND real view tracking cooldown
- Typical range: 5-10 minutes for dynamic social proof, 15-30 minutes for more conservative stores
| Time | Action | Result (Pro, 7min cooldown) |
|---|---|---|
| 2:00 PM | Customer views product | ✅ View counted |
| 2:05 PM | Same customer refreshes | ❌ Not counted (5 min < 7 min) |
| 2:08 PM | Same customer returns | ✅ View counted (8 min > 7 min) |
🚫 What Gets Automatically Excluded
WhoKnew Views™ automatically excludes certain traffic to keep your counts accurate (applies to both Free and Pro):
1. Administrator Views
Who’s excluded: Any WordPress user with manage_options capability (typically Administrators)
Why: You shouldn’t inflate your own view counts by checking your products.
How to test: Open an incognito window or log out to see real view counting in action.
2. Bot & Crawler Traffic
Who’s excluded: Search engine bots (Googlebot, Bingbot), scrapers, monitoring services, and automated tools
How it works: Plugin analyzes the User-Agent string and compares against a comprehensive bot database
Configurable: You can enable/disable bot filtering and customize the bot list in Admin tab → Bot Filtering
3. Whitelisted IP Addresses
Who’s excluded: Any IP addresses you manually add to the whitelist
Why: Useful for excluding your office, developers, or testing environments
How to configure: Admin tab → IP Whitelisting → Add IP addresses
📊 How View Data is Stored
Understanding data storage helps you troubleshoot and interpret your analytics (same for Free and Pro):
🗄️ Database Storage:
| Meta Key | What It Stores |
|---|---|
product_views | Array of timestamps for all real views (last 90 days) |
_wkv_total_real_views_ever | Lifetime total real views (never decreases) |
Data Retention:
- View timestamps: Kept for 90 days, then automatically deleted
- Lifetime counter: Never deleted (permanent record)
- Why 90 days? Prevents database bloat while preserving data even if you change view window settings
📊 Example:
Your view window is 48 hours, but WhoKnew Views™ keeps 90 days of timestamps. This means if you later increase your window to 7 days, the historical data is still available—no data loss!
✅ Key Takeaways
🎯 View Counting Summary:
- One product page load = one real view (with conditions)
- Free: 30-minute cooldown (fixed) | Pro: Configurable cooldown (default 7 minutes)
- Free: Cookie tied to view window | Pro: Separate cookie lifespan control
- Admins, bots, and whitelisted IPs are automatically excluded
- Data stored for 90 days, lifetime counter preserved forever
- View window filters display, but all real data is retained
WhoKnew Views™ prioritizes accuracy over inflated numbers. Every real view you track represents a genuine person who loaded that product page—no tricks, no manipulation, just honest tracking you can trust.
🚀 Want to dive deeper? Check out the next articles: “Understanding Cookie-Based Tracking” for privacy details and “Refresh Cooldown Explained (30 minutes)” for advanced cooldown mechanics specific to your version.