How WhoKnew Views uses cookies for accurate, privacy-friendly view tracking
Cookies are essential to how WhoKnew Views™ tracks views accurately without double-counting the same visitor. This article explains what cookies the plugin uses, how they work, the differences between Free and Pro cookie systems, and how they comply with privacy regulations like GDPR.
🍪 What Are Cookies in WhoKnew Views?
WhoKnew Views™ uses first-party functional cookies to track which products a visitor has viewed and when. These cookies prevent the same person from inflating view counts by repeatedly refreshing the page.
✅ Privacy-First Design: WhoKnew Views™ cookies are functional (not tracking/marketing), first-party (no third-party data sharing), and store only timestamps—no personal information.
🆚 Free vs Pro: Cookie Systems
Free and Pro versions use different cookie strategies to support their respective features:
| Feature | Free | Pro |
|---|---|---|
| Cookie Types | Single view tracking cookie per product | Multiple cookie types (view tracking, variation, display, analytics) |
| Cookie Lifespan | Tied to view window duration (e.g., 48 hours) | Configurable separately (default: 5 hours) |
| Purpose | Prevent duplicate real view counting only | Track views + manage padding variations + analytics |
| Configurable? | ❌ No (automatic based on view window) | ✅ Yes (WhoKnew → WhoKnew Views → Variation tab) |
🆓 Free Version: Simple Cookie System
The Free version uses a straightforward, single-cookie approach:
Cookie Details:
| Property | Value |
|---|---|
| Cookie Name | wkv_viewed_[product_id] |
| Cookie Value | Timestamp of when view was recorded |
| Expiration | Tied to view window duration (default: 48 hours) |
| Scope | Product-specific (each product gets its own cookie) |
| Security Flags | HttpOnly (prevents JavaScript access), Secure (HTTPS only) |
How It Works:
🔧 Free Cookie Flow:
- Visitor loads product: Plugin checks for
wkv_viewed_[product_id]cookie - No cookie exists: View is counted, cookie is set with current timestamp
- Cookie exists: Plugin checks if 30+ minutes have passed since last view
- Within cooldown: No new view counted
- After cooldown: New view counted, cookie timestamp updated
- Cookie expires: After view window duration passes (e.g., 48 hours)
📊 Example (Free):
View window: 48 hours. Customer views Product #123 at Monday 2:00 PM. Cookie wkv_viewed_123 is set, expires Wednesday 2:00 PM. If customer returns Tuesday at 3:00 PM (25+ hours later, past cooldown), new view is counted and cookie timestamp updates.
💎 Pro Version: Advanced Cookie System
Pro uses multiple cookie types to support number padding, variations, and analytics:
1. View Tracking Cookie
| Property | Value |
|---|---|
| Cookie Name | wkv_fingerprint_[hash]_[product_id] |
| Purpose | Track real view counts with configurable cooldown |
| Expiration | Configurable cookie lifespan (default: 5 hours) |
2. Display Persistence Cookie
| Property | Value |
|---|---|
| Cookie Name | wkv_display_[product_id] |
| Purpose | Store displayed view count to ensure consistency |
| Expiration | Configurable cookie lifespan |
3. Variation Timing Cookie
| Property | Value |
|---|---|
| Cookie Name | wkv_variation_[product_id] |
| Purpose | Control when padding variations can update |
| Expiration | Configurable cookie lifespan |
4. Analytics Cookie (90-day)
| Property | Value |
|---|---|
| Cookie Name | wkv_lifetime_[product_id] |
| Purpose | Track first-time vs returning visitors for analytics |
| Expiration | 90 days (fixed for accurate visitor tracking) |
Configuring Pro Cookie Lifespan:
Pro users can control cookie lifespan independently from view window:
⚙️ Where to Set:
- Navigate to WhoKnew → WhoKnew Views
- Click the Variation tab
- Find Cookie Lifespan (Hours) field
- Set your desired duration (default: 5 hours)
- Click Save Changes
📊 Example (Pro):
Cookie lifespan: 5 hours. Refresh cooldown: 7 minutes. Customer views product at 2:00 PM. Multiple cookies are set, all expiring at 7:00 PM. Customer can trigger new real views every 7+ minutes, but displayed padding variations stay consistent for 5 hours.
🔒 Cookie Security & Privacy
WhoKnew Views™ implements industry-standard cookie security practices:
Security Features:
- 🔒 HttpOnly Flag: Prevents JavaScript from accessing cookies (protects against XSS attacks)
- 🔒 Secure Flag: Cookies only transmitted over HTTPS connections (prevents interception)
- 🔒 SameSite Attribute: Prevents CSRF attacks by limiting cross-site cookie sending
- 🔒 First-Party Only: No third-party tracking or data sharing
- 🔒 Minimal Data: Only timestamps stored, no personal information
Privacy Compliance (GDPR, CCPA, etc.):
| Aspect | WhoKnew Views™ Compliance |
|---|---|
| Cookie Type | ✅ Functional (strictly necessary for service operation) |
| Personal Data | ✅ None collected (only timestamps, no PII) |
| Third-Party Sharing | ✅ None (first-party cookies only) |
| Consent Required? | ⚠️ Generally no (functional cookies), but consult legal counsel |
| User Control | ✅ Browsers allow users to delete cookies anytime |
⚖️ Legal Disclaimer:
While WhoKnew Views™ cookies are functional and privacy-friendly, privacy regulations vary by jurisdiction. Consult your legal counsel to ensure compliance with local laws (GDPR, CCPA, LGPD, etc.).
🔍 Troubleshooting Cookie Issues
Common Issues & Solutions:
| Issue | Solution |
|---|---|
| Every page refresh counts as a new view | Cookies may be blocked. Check browser settings and privacy extensions. |
| Incognito mode counts every time | ✅ Expected behavior. Incognito doesn’t persist cookies between sessions. |
| Mobile and desktop count separately | ✅ Expected behavior. Different devices = different cookies. |
| Cookies deleted too quickly | Pro: Check cookie lifespan setting. Free: Check view window duration. |
| Cookies not setting on HTTPS site | Ensure SSL certificate is valid and properly configured. |
✅ Key Takeaways
🎯 Cookie System Summary:
- Free: Simple system with single cookie per product, tied to view window
- Pro: Advanced system with multiple cookies for tracking, variations, and analytics
- All cookies are functional, first-party, and store only timestamps
- Security-first design with HttpOnly, Secure, and SameSite flags
- Privacy-friendly with no personal data collection or third-party sharing
- Pro users can configure cookie lifespan independently from view window
Cookies are the invisible backbone of accurate view tracking. WhoKnew Views™ uses them responsibly, securely, and in compliance with privacy best practices—giving you reliable data without compromising your customers’ privacy.