### Included
- Popular Pages Today
- Top 10 most visited frontend pages recorded today
- Popular Pages (Last 14 Days)
- Top 10 most visited frontend pages across the last 14 days
Overview
This update refines the Visitor Statistics extension with improved counting logic, UI enhancements, and cleaner widget structure.
The focus of this version is accuracy, simplicity, and stability.
What’s Updated
1. Today Visit Logs Added
- New widget: Today Visit Logs
- Shows total visits recorded today (including duplicate visits)
2. Unique IP Counting Improved
- Duplicate IPs are counted only once per day
- Ensures accurate daily visitor statistics
- Prevents inflated numbers from repeated visits
3. Removed Unnecessary Widget
- Removed: Unique IPs Today (Live)
- Cleaner and more focused dashboard
4. UI Improvements
- Improved spacing and readability
- Consistent chart sizing and layout
- Better mobile responsiveness
5. Visitor Trend Chart Updated
- Displays
- Prevents duplicate counting within the same day
- Improved visual consistency
Current Widget Structure
The dashboard now includes:
- Total Visit Logs
→ All-time visit records- Today Visit Logs
→ Total visits today (includes duplicates)- Unique IPs Today
→ Counts each IP once per day- Unique IPs (Last 14 Days)
→ Sum of daily unique IP counts
Behavior Summary
action Result I connected multiple times from the same IP address today. Count = Visit different pages with the same IP address. Still 1 (Unique) I will visit again tomorrow with the same IP address. Count = 1 again Visit history Always recorded
Installation (Update)
extensions/Others/VisitorStatistics
- Replace existing extension:
php artisan optimize:clear
- Run:
php artisan migrate --force
php artisan view:clear
php artisan cache:clear
php artisan config:clear
php artisan route:clear
- Refresh admin panel
Notes
- Existing data remains unchanged
- New logic applies automatically
- Database changes are backward-compatible
- No configuration required
Compatibility
- Paymenter 1.4.7+
- PHP 8+
Author
Custom-built for Paymenter users.
The same IP is counted only once per day
Multiple visits from the same IP:
Logs are still recorded
Count is NOT increased
