WhoKnew Views™ | Initial Padding Values

Skip to main content
Table of Contents
Print

Understanding the Three-Component Display Count Formula

Every view counter in WhoKnew Views™ Pro calculates its display using a three-component formula. Understanding this formula is essential for configuring your number padding strategy effectively.

Display Count = Baseline Padding + Real Views + Variation Padding

Each component behaves differently—some are permanent, some expire, and they combine in specific ways depending on product activity level.

🏗️ The Three Components Explained

1️⃣ Baseline Padding (Permanent Foundation)

PropertyDetails
Storageproduct_views_baseline_padding meta key
Generated WhenProduct receives its first qualifying real view
Value RangeRandom number between base_random_min and base_random_max
Expires?❌ No — persistent (but can change via drift)
PurposeProvides the permanent credibility floor

💡 Key Insight: Baseline is the only component that doesn’t decay with time. It forms the foundation that prevents products from ever showing embarrassingly low view counts.

2️⃣ Real Views (Rolling Window)

PropertyDetails
Storageproduct_views meta key (array of UTC timestamps)
Tracked FromQualifying visitors (not admin, not bots, not IP whitelisted)
DeduplicationVia wkv_viewed_{product_id} cookie with refresh cooldown
Expires?✅ Yes — ages out after view window (e.g., 48 hours)
PurposeTracks actual customer engagement

📊 Important: Real views are also permanently stored for lifetime analytics, but only the rolling window count contributes to the display formula.

3️⃣ Variation Padding (Dynamic Increments)

PropertyDetails
Storageproduct_padded_views meta key (array of UTC timestamps)
Generated WhenEach real view triggers additional variation padding
Amount Added1-3, 4-7, or 8-12 views per real view (weighted probability)
Expires?✅ Yes — ages out after view window (same as real views)
PurposeCreates realistic traffic fluctuations and amplifies engagement

🌊 The “Busy Store” Effect: Variations create the appearance of natural traffic surges—when real visitors arrive, additional “activity” appears alongside them, making the store feel vibrant and active.

🎬 What Happens on First View?

When a product receives its very first qualifying view, the initialization process is deliberately simple:

📋 First View Initialization Steps

  1. Check if qualifying: Visitor must not be admin, bot, or IP whitelisted
  2. Generate baseline: Random number between base_random_min and base_random_max
  3. Store baseline: Save to product_views_baseline_padding (permanent)
  4. Initialize empty variations: Create empty product_padded_views array
  5. Calculate display: Baseline + 1 real view = initial display count
  6. Set timestamps: Record product_views_base_timestamp and _wkv_last_variation_time

💻 First View Example

With default settings (base_random_min: 96, base_random_max: 178):

First visitor arrives at 2:00 PM UTC
→ wp_rand(96, 178) generates: 134
→ product_views_baseline_padding = 134
→ product_padded_views = [] (empty array)
→ product_views = [1732550400] (one real view timestamp)
Display Count = 134 (baseline) + 1 (real) + 0 (variations) = 135 views

⚠️ Critical Point: On first view, there are ZERO variations. Variations are only added as subsequent traffic continues—they’re the incremental boosts that accompany each real view, not part of the initial setup.

📈 How the Formula Evolves with Traffic

As a product receives more views, the formula components change in different ways:

🔄 Scenario: Product Gets Steady Traffic

Hour 0 (First View):
  Baseline: 134  |  Real: 1  |  Variations: 0  |  Display: 135
Hour 1 (2nd View):
  Baseline: 134  |  Real: 2  |  Variations: +5  |  Display: 141
  (5 variations added with 2nd real view)
Hour 3 (3rd View):
  Baseline: 134  |  Real: 3  |  Variations: +8 (total: 13)  |  Display: 150
  (8 more variations added with 3rd real view)
Hour 48 (Views start expiring):
  Baseline: 134  |  Real: 0  |  Variations: 0  |  Display: 134
  (Real views and variations aged out, only baseline remains)

🎯 Key Observation: When traffic stops and the view window expires, the display count returns to baseline only—but never lower (unless drift activates during extended inactivity).

⚙️ Display Limits: Min and Max

Two additional settings act as guardrails on the display count:

📉 Minimum Display Value (min_display)

Purpose: Absolute floor—display count will never show below this number.

Default: 77 views (19 below base_random_min of 96)

How it works:

  • If the calculated display count falls below min_display, the system displays min_display instead
  • With the timestamp-based system, baseline itself acts as the floor in most cases
  • base_random_min should be ≥ min_display for clean behavior

💡 When min_display matters: It’s primarily a safety net for edge cases—like when drift brings baseline below the original base_random_min, or for legacy products migrated from older systems.

📈 Maximum Display Value (max_display)

Purpose: Ceiling for padded views only—caps how high padding can go.

Default: 1373 views

How it works:

  • When padded views (baseline + variations) reach this ceiling, the system stops adding more padding
  • Real views always count on top—they’re never capped
  • If Soft Cap is enabled, max_display must ≥ soft_cap for slowdown zones to function

Example: max_display = 1500, product has 1500 padded views + 300 real views = 1800 total displayed (padding stopped at ceiling, real views still count).

🔗 Relationship Between Settings

The initial padding system has several interdependent settings that must be configured correctly:

RelationshipRuleWhy It Matters
base_random_min ≥ min_displayAuto-enforcedPrevents products from starting below the credibility floor
base_random_max ≥ min_displayAuto-enforcedEnsures entire base range is above the floor
base_random_min ≤ base_random_maxAuto-swapped if violatedLogical requirement for random number generation
min_display ≤ max_displayAuto-swapped if violatedLogical requirement for floor/ceiling relationship
max_display ≥ soft_capAuto-raised if Soft Cap enabledRequired for 85%/95% slowdown zones to function

🛡️ Auto-Protection: WhoKnew Views™ Pro automatically adjusts conflicting values and shows warning notices explaining what was changed and why.

📍 Where to Configure These Settings

🎛️ General Tab Settings

Navigate to WooCommerce → WhoKnew Views → General and scroll to the Number Padding section:

  • Starting View Count (Minimum): base_random_min
  • Starting View Count (Maximum): base_random_max
  • Minimum Displayed Views: min_display
  • Maximum Displayed Views: max_display

🎨 Via Presets

All 16 built-in presets include optimized values for these settings. When you apply a preset, all initial padding values are configured together for a cohesive strategy.

🧪 Before First View: What Displays?

An important edge case: what does a product show before anyone has viewed it?

🔍 Admin View (Backend)

In the WhoKnew Views admin panels (Products tab, single product sidebar), unviewed products show:

  • Real Views: 0
  • Padded Views: 0
  • Total Views: 0

This gives admins an accurate picture of actual engagement—no padding is displayed until the first real view triggers initialization.

👁️ Customer View (Frontend)

On the frontend, products without any views behave according to your visibility settings:

  • If “Hide if Zero Views” is enabled: Counter is hidden completely
  • If shown: Counter displays “0 views in X hours” (or your custom zero-view text)

🎯 Best Practice: Enable “Hide if Zero Views” so the counter only appears after a product receives its first view—at which point baseline padding is already applied.

⚡ Real-World Configuration Examples

🆕 New Store (Conservative)

base_random_min: 20
base_random_max: 60
min_display: 15
max_display: 500
view_window_hours: 48
First View Display: 21-61 views
After 10 Real Views + Variations: ~80-150 views

📈 Established Store (Moderate)

base_random_min: 100
base_random_max: 250
min_display: 80
max_display: 1000
view_window_hours: 48
First View Display: 101-251 views
After 20 Real Views + Variations: ~200-400 views

⚡ Flash Sale Event

base_random_min: 300
base_random_max: 700
min_display: 250
max_display: 2000
view_window_hours: 6
First View Display: 301-701 views
Creates intense FOMO with short window

⚠️ Common Configuration Mistakes

🚫 Setting min_display Higher Than base_random_min

Problem: You set min_display to 200 but base_random_min to 100. Products could initialize with baseline 115, then immediately jump to 200 display—unnatural.

Fix: System auto-adjusts base_random_min to match min_display. But for clean configuration, set base_random_min ≥ min_display intentionally.

🚫 Expecting Variations on First View

Problem: You configure variation ranges expecting the first view to show baseline + variations. It only shows baseline + 1 real view.

Understanding: Variations are added with subsequent real views, not the first one. The first view initializes the system—traffic must continue for variations to accumulate.

🚫 Ignoring max_display When Using Soft Cap

Problem: You set soft_cap to 1500 but max_display to 1000. The 85%/95% slowdown zones won’t function correctly.

Fix: System auto-raises max_display to match soft_cap. For proper configuration, set max_display ≥ soft_cap.

🎓 Best Practices

  • 📊 Use presets as starting points: Built-in presets have all values pre-configured for balance
  • 🎯 Match base range to store reputation: New stores need lower ranges than established brands
  • 📈 Leave growth runway: Ensure max_display is significantly higher than base_random_max
  • 🧪 Test with Simulation Engine: Preview how your configuration plays out over time
  • 👁️ Enable “Hide if Zero Views”: Ensures counter only shows after padding is applied
  • 💾 Export before changes: Backup current configuration before experimenting
  • 🔄 Review relationships: Ensure min ≤ base_range ≤ max for logical configuration

Share