How Variations Expire Naturally Like Real Traffic
WhoKnew Views™ Pro uses a timestamp-based padding system that fundamentally changed how view counters behave. Unlike the legacy system where padded views accumulated indefinitely, the timestamp system makes variations expire naturally—just like real traffic does.
💡 The Core Concept: Every variation added to a product receives a timestamp. When that timestamp ages beyond the view window, the variation automatically disappears. This creates organic-looking decay patterns that mirror real visitor behavior.
🏗️ System Architecture
The timestamp-based system splits padding into two distinct layers with fundamentally different behaviors:
| Component | Storage | Expires? | Purpose |
|---|---|---|---|
| 🏠 Baseline Padding | Single integer (product_views_baseline_padding) | ❌ Never | Permanent credibility floor |
| 🌊 Variation Padding | Array of timestamps (product_padded_views) | ✅ After view window | Dynamic traffic simulation |
This two-layer approach gives you the best of both worlds: a stable foundation that never crashes to zero, plus dynamic fluctuations that make traffic patterns look organic.
⏱️ How Timestamps Work
📝 Timestamp Storage Format
Variations are stored as an array of Unix timestamps (UTC) in the product_padded_views meta key:
product_padded_views = [
1732550400, // Nov 25, 2024 14:00:00 UTC
1732551200, // Nov 25, 2024 14:13:20 UTC
1732553000, // Nov 25, 2024 14:43:20 UTC
1732560000, // Nov 25, 2024 16:40:00 UTC
...
]Each timestamp represents when that variation was created—and determines when it will expire.
🔍 The Filtering Process
Every time the display count is calculated, the system filters variations against the view window:
Current Time: Nov 27, 2024 14:00:00 UTC
View Window: 48 hours
Cutoff Time: Nov 25, 2024 14:00:00 UTC (current - 48h)
Timestamps older than cutoff → Expired (removed from count)
Timestamps newer than cutoff → Valid (included in count)This filtering happens automatically on every view, creating seamless decay without any manual intervention.
🌊 The Decay Gradient System
Real traffic doesn’t drop off a cliff—it fades gradually. The timestamp system replicates this with a decay gradient:
📊 How It Works
When variations are created, they receive timestamps that are spread around the current time, not all at exactly the current moment:
Real view arrives at 2:00 PM
→ 5 variations generated with timestamps:
Variation 1: 1:45 PM (15 min BEFORE real view)
Variation 2: 1:58 PM (2 min BEFORE real view)
Variation 3: 2:00 PM (same as real view)
Variation 4: 2:12 PM (12 min AFTER real view)
Variation 5: 2:30 PM (30 min AFTER real view)🎯 The Result: Instead of all 5 variations expiring at exactly the same moment (48 hours later), they expire at staggered times—creating a smooth fade instead of a sudden drop.
📈 Variance Settings
The spread of timestamps is controlled by variance settings (Drop Rate tab):
| Setting | Default | Effect |
|---|---|---|
| Low Traffic Decay (%) | 10% | ±10% of view window spread for low-traffic products |
| High Traffic Decay (%) | 25% | ±25% of view window spread for high-traffic products |
| Activity Threshold | 20% of base_max | Real view count that triggers switch to high variance |
Example: With a 48-hour view window and 10% low variance, timestamps spread ±4.8 hours around the current time. With 25% high variance, they spread ±12 hours.
🎲 Weighted Probability: How Variations Are Generated
The number of variations added per real view isn’t random—it follows a weighted probability system based on time since last activity.
🔢 Three Variation Ranges
| Range | Default Values | Typical Use |
|---|---|---|
| Range 1 (Low) | 1-7 variations | Recent activity, steady traffic |
| Range 2 (Medium) | 4-10 variations | Moderate gap since last view |
| Range 3 (High) | 9-19 variations | Extended absence, burst activity |
⏰ Time-Based Zone Selection
The system divides time since last variation into three zones, each with different probability weights:
| Zone | Time Since Last | Range 1 | Range 2 | Range 3 |
|---|---|---|---|---|
| 🟢 Zone 1 | 1-2× cooldown | 90% | 10% | 0% |
| 🟡 Zone 2 | 2-4× cooldown | 20% | 75% | 5% |
| 🔴 Zone 3 | 4×+ cooldown | 0% | 30% | 70% |
💡 The Logic: If someone visits right after the cooldown expires (Zone 1), they trigger modest padding (1-7). If they visit after an extended absence (Zone 3), they trigger a larger burst (9-19)—mimicking the idea that products “discovered” after a lull attract more attention.
🚀 Peak Traffic Boosts
During configured peak windows, all variation ranges are multiplied by the window’s boost factor:
- 1.25×: Light boost for morning traffic
- 1.5×: Moderate boost for lunch rush
- 2.0×: Strong boost for evening peak
- 2.5×: Maximum boost for flash events
Example: Range 1 (1-7) during a 2.0× peak window becomes 2-14 variations per real view.
🔄 Real-Time Decay in Action
Here’s how the timestamp system creates organic-looking traffic patterns over time:
PRODUCT LIFECYCLE EXAMPLE (48-hour window)
Hour 0 (First View):
Baseline: 134 | Real: 1 | Variations: 0
Display: 135
Hour 2 (2nd View):
Baseline: 134 | Real: 2 | Variations: +5
Display: 141
Hour 10 (3rd View):
Baseline: 134 | Real: 3 | Variations: +8 (total: 13)
Display: 150
Hour 48 (1st View Expires):
Baseline: 134 | Real: 2 | Variations: 10 (3 expired)
Display: 146
Hour 50 (2nd View Expires):
Baseline: 134 | Real: 1 | Variations: 6 (more expired)
Display: 141
Hour 60 (All Traffic Expires):
Baseline: 134 | Real: 0 | Variations: 0
Display: 134 (baseline only)🎯 Key Observation: The count rises during activity, then fades gradually as timestamps expire—never crashing suddenly, always returning to the stable baseline floor.
📦 Data Storage & Retention
🗄️ Meta Keys Used
| Meta Key | Type | Purpose |
|---|---|---|
product_views_baseline_padding | Integer | Permanent baseline (never expires) |
product_padded_views | Array of timestamps | Variation timestamps (expire after window) |
product_views | Array of timestamps | Real view timestamps (expire after window) |
_wkv_last_variation_time | Timestamp | When last variation was added |
_wkv_last_padded_view_decay_time | Timestamp | When last decay occurred |
_wkv_last_padded_view_decay_count | Integer | How many variations decayed last time |
📅 Long-Term Retention
While the display calculation uses the view window (e.g., 48 hours), variation timestamps are retained for 90 days before being permanently purged. This matches real view retention and supports:
- Analytics graphs over longer periods
- Aggregate data for AI forecasting
- Historical pattern analysis
After 90 days, variation timestamps are removed to prevent database bloat. Daily aggregates are retained for up to 5 years for Meta Prophet AI forecasting.
🔀 Legacy System Migration
If you’re upgrading from an older version of WhoKnew Views™, the system automatically migrates legacy data:
📜 Legacy System (Pre-Timestamp)
The old system used a single product_views_base_random value that represented all padding—it never expired and could only grow.
🔄 Migration Process
When a legacy product is accessed, the system:
- Detects legacy data: Checks for
product_views_base_randomwithoutproduct_views_baseline_padding - Converts to baseline: The old
base_randomvalue becomes the permanent baseline - Initializes empty variations: Creates empty
product_padded_viewsarray - Recalculates display: Updates
product_views_display_countto match new system - Marks as migrated: Sets
_wkv_padded_views_migratedtimestamp
🛡️ Zero Data Loss: Migration preserves your existing padding levels—products won’t suddenly show different counts. The old value simply becomes the permanent baseline, and new variations will be added with timestamps going forward.
⚡ Capacity Management Integration
The timestamp system integrates with Soft Cap and Hard Cap systems:
📊 Sliding Scale at Capacity
When approaching soft cap, variation generation is throttled:
- Below 80%: 100% variation generation (full speed)
- 80-95%: Smooth taper from 100% → 0%
- 95%+: 0% variation generation (drift takes over)
🔥 Hard Cap Aging
When at 95%+ of soft cap, the system can forcefully age out the oldest variations to create room:
- 70% chance: Remove 3-5 oldest variations (gentle drift)
- 20% chance: Remove 6-8 oldest variations (moderate drop)
- 10% chance: Remove 9-12 oldest variations (rare sudden decay)
This weighted removal mimics natural traffic decay patterns—mostly gentle, occasionally dramatic.
🔍 Why Timestamps Matter
✅ Benefits Over Legacy System
- 🌊 Natural decay: Padding expires like real traffic—no infinite accumulation
- 📊 Organic patterns: Decay gradient creates realistic fade instead of cliff drops
- 🎯 Window alignment: Variations expire with the same timing as real views
- 📈 Scalable growth: High traffic creates proportionally more variations that also fade proportionally
- 🔄 Self-regulating: Abandoned products naturally return to baseline without manual intervention
- 🧮 Accurate analytics: Historical timestamps support detailed traffic analysis
🎯 The “Busy Store” Effect
The timestamp system creates a compelling psychological effect:
- Active products: High variation counts + frequent real views = busy, popular appearance
- Quiet products: Baseline only = credible but calm appearance
- Returning traffic: New variations spike the count, then fade naturally—mimicking viral interest
This mirrors how real stores work: popular items show more activity, quiet items still have credibility, and trends come and go organically.
🎓 Best Practices
- 📊 Match variance to window: Longer view windows benefit from higher variance percentages for smoother decay
- 🎯 Let decay happen: Don’t panic when counts drop—it’s the system working correctly
- 📈 Monitor patterns: Use Insights tab to see how decay affects your products over time
- 🔄 Trust the baseline: Products will stabilize at baseline during inactivity—that’s by design
- ⚡ Use peak boosts: Configure peak windows to amplify variations during high-traffic hours
- 🧪 Test with Simulation: Preview decay patterns before committing to settings