The Decision Flow: From Mode Assignment to Display
When a visitor loads a product page, WhoKnew Views™ Pro doesn’t immediately display the counter. Instead, it runs through a decision flow that evaluates the product’s assigned mode and determines whether conditions are met. This article explains exactly how that flow works.
🔄 Step 1: Check the Product’s Visibility State
Every product has a visibility state that you control by clicking the eye icon. The cycle flows through these states:
- 👁️ Always Show – Counter displays for every visitor, every time
- 🚫 Always Hide – Counter is completely hidden
- 🟢 Green Mode – Counter follows Green Mode preset rules
- 🔵 Blue Mode – Counter follows Blue Mode preset rules
- 🟣 Purple Mode – Counter follows Purple Mode preset rules
If the product uses “Always Show” or “Always Hide,” the decision is instant—no conditions are evaluated. But when a Smart Visibility Mode is assigned, the real logic begins.
⚡ Step 2: Load the Mode’s Configuration
When a product uses a colored mode (Green, Blue, or Purple), WhoKnew Views™ retrieves that mode’s configuration from your saved settings. Each mode has:
- A primary visibility condition – First View Only, Once in Window, Performance-Based, or AI Adaptive
- Optional filters – Stock level filters that act as gates
- Timing parameters – Cooldown ranges, thresholds, and windows
🚪 Step 3: The Stock Filter Gate (Priority #1)
Before evaluating the main visibility condition, the system checks if a stock filter is enabled. This acts as a gate that can immediately hide the counter:
| Filter Type | Logic | Result if Not Met |
|---|---|---|
| Low Stock (≤ threshold) | Stock must be at or below threshold | ❌ HIDE counter |
| High Stock (≥ threshold) | Stock must be at or above threshold | ❌ HIDE counter |
If the stock filter is enabled but the product doesn’t meet the criteria, the counter is hidden immediately—no other conditions are checked.
🎯 Step 4: Evaluate the Primary Visibility Condition
If the stock filter passes (or isn’t enabled), the system evaluates the mode’s primary visibility condition:
🎯 First View Only
Per-visitor tracking using cookies:
- Check if visitor has seen this product within the Cookie Lifespan
- If first visit → ✅ SHOW counter, start cooldown timer
- If within cooldown range → ✅ SHOW counter
- If cooldown expired but within Cookie Lifespan → ❌ HIDE counter
- If Cookie Lifespan expired → Reset, treat as first visit
The Range selector (1× or 2×) multiplies your Refresh Cooldown setting to extend how long the counter stays visible after the first view.
🪟 Once in Window
Similar to First View Only, but uses the View Counting Window instead of Cookie Lifespan:
- Check if visitor has seen this product within the View Window
- If first visit → ✅ SHOW counter, set window marker
- If within cooldown → ✅ SHOW counter
- If cooldown expired but still in View Window → ❌ HIDE counter
- If View Window expired → Reset, treat as first visit
📊 Performance-Based
Evaluates the product’s real views (not displayed/padded count) against your threshold:
- ≥ (Greater than or equal) – Show counter only when real views meet or exceed threshold (highlight popular items)
- ≤ (Less than or equal) – Show counter only when real views are at or below threshold (boost new/struggling products)
Example: Set to “≤ 50” and the counter shows only for products with 50 or fewer real views—giving new products a visibility boost until they gain traction.
🤖 AI Adaptive (Beta)
Delegates the decision to the AI engine, which uses machine learning to determine optimal visibility. The AI considers historical patterns, conversion data, and visitor behavior to make real-time decisions.
✅ Step 5: The Final Decision
After all conditions are evaluated, the system reaches a binary decision:
- ✅ SHOW – All applicable conditions passed; counter is displayed
- ❌ HIDE – At least one condition failed; counter is hidden
Administrators see a debug banner showing the decision: ✅ Smart Visibility: Green Mode (Growth Mode) – Counter Decision: SHOW
🔍 Quick Reference: Decision Flow Diagram
Product Page Loads
↓
Check Visibility State
↓
┌──────────────────────────┐
│ Always Show? → ✅ SHOW │
│ Always Hide? → ❌ HIDE │
│ Colored Mode? → Continue │
└──────────────────────────┘
↓
Load Mode Configuration
↓
Stock Filter Enabled?
YES → Check stock level
↓
Passes? → Continue
Fails? → ❌ HIDE
NO → Continue
↓
Evaluate Primary Condition
(First View / Once in Window /
Performance / AI Adaptive)
↓
Condition Passes? → ✅ SHOW
Condition Fails? → ❌ HIDE💡 Pro Tips for Mode Configuration
- 🎯 Stock filter + condition = powerful combo – Only show counters on low-stock items during their first visit
- 📊 Performance-based works with real views – This is intentional; it measures actual popularity, not inflated numbers
- 🔄 Visitors see different counters – First-time visitors might see counters while return visitors don’t
- 🧪 Test with admin debug – As an administrator, you’ll always see the decision banner explaining why a counter is shown or hidden