WhoKnew Views™ | Understanding Cookie-Based Tracking

Skip to main content
Table of Contents
Print

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:

FeatureFreePro
Cookie TypesSingle view tracking cookie per productMultiple cookie types (view tracking, variation, display, analytics)
Cookie LifespanTied to view window duration (e.g., 48 hours)Configurable separately (default: 5 hours)
PurposePrevent duplicate real view counting onlyTrack 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:

PropertyValue
Cookie Namewkv_viewed_[product_id]
Cookie ValueTimestamp of when view was recorded
ExpirationTied to view window duration (default: 48 hours)
ScopeProduct-specific (each product gets its own cookie)
Security FlagsHttpOnly (prevents JavaScript access), Secure (HTTPS only)

How It Works:

🔧 Free Cookie Flow:

  1. Visitor loads product: Plugin checks for wkv_viewed_[product_id] cookie
  2. No cookie exists: View is counted, cookie is set with current timestamp
  3. Cookie exists: Plugin checks if 30+ minutes have passed since last view
  4. Within cooldown: No new view counted
  5. After cooldown: New view counted, cookie timestamp updated
  6. 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

PropertyValue
Cookie Namewkv_fingerprint_[hash]_[product_id]
PurposeTrack real view counts with configurable cooldown
ExpirationConfigurable cookie lifespan (default: 5 hours)

2. Display Persistence Cookie

PropertyValue
Cookie Namewkv_display_[product_id]
PurposeStore displayed view count to ensure consistency
ExpirationConfigurable cookie lifespan

3. Variation Timing Cookie

PropertyValue
Cookie Namewkv_variation_[product_id]
PurposeControl when padding variations can update
ExpirationConfigurable cookie lifespan

4. Analytics Cookie (90-day)

PropertyValue
Cookie Namewkv_lifetime_[product_id]
PurposeTrack first-time vs returning visitors for analytics
Expiration90 days (fixed for accurate visitor tracking)

Configuring Pro Cookie Lifespan:

Pro users can control cookie lifespan independently from view window:

⚙️ Where to Set:

  1. Navigate to WhoKnew → WhoKnew Views
  2. Click the Variation tab
  3. Find Cookie Lifespan (Hours) field
  4. Set your desired duration (default: 5 hours)
  5. 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.):

AspectWhoKnew 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:

IssueSolution
Every page refresh counts as a new viewCookies 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 quicklyPro: Check cookie lifespan setting. Free: Check view window duration.
Cookies not setting on HTTPS siteEnsure 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.

Share