Automatic Tracking
Every time a client opens the link:
- IP address captured (with privacy filters)
- Timestamp recorded
- View counter incremented
- Location detected (city, country) via IP geolocation
- Device/browser logged (User-Agent parsing)
What Gets Tracked
Basic Version:
| Data Point | Example | Storage |
|---|---|---|
| Total views | 4 |
_offer_views_count |
| First viewed | 2025-11-24 14:30:00 |
_offer_first_viewed |
| Last viewed | 2025-11-26 09:15:00 |
_offer_last_viewed |
Premium Version (Enhanced):
| Data Point | Example | Storage |
|---|---|---|
| All above | … | … |
| View history | Array of all views | _offer_view_history |
| IP addresses | ['192.168.1.1', ...] |
Per-view data |
| Locations | ['New York, USA', ...] |
Per-view data |
| Devices | ['iPhone / Safari', ...] |
Per-view data |
| Time spent | ['3m 45s', ...] |
JavaScript tracking |
Filtering
Tracked visits exclude:
- ✅ Search engine bots (Googlebot, Bingbot, etc.)
- ✅ Admin preview (logged-in WordPress users viewing own offer)
- ✅ Localhost (127.0.0.1, 192.168.x.x)
- ✅ Known scrapers (User-Agent based filtering)
Viewing Track Data
In Quotes List (Quotes → All Quotes):
OfferViewsLast ViewedPrice Offer 1👁️ 4Last: 2025-11-26 09:15Price Offer 2—(no views yet)
Premium Statistics Page:
- Graph: Views over time
- Table: Individual view details
- Timestamp
- IP address
- Location (City, Country)
- Device (e.g., “Windows PC / Chrome”)
- Referrer (where link was clicked from)
