Analytics
Built-in, privacy-safe analytics. Track page views, visitors, referrers, and devices — no third-party scripts needed.
Analytics Dashboard
Go to CMS Admin > Analytics to view your site analytics. The dashboard shows:
- Page Views — Total page views for the selected period
- Unique Visitors — Based on privacy-safe hashed IPs (no cookies)
- Bounce Rate — Percentage of single-page visits
- Pages per Session — Average pages viewed per visit
- Traffic Chart — Visual trend of daily page views
- Top Pages — Most visited pages
- Referrer Sources — Where your traffic comes from
- Browser & Device — Breakdown by browser and device type
Date Ranges
Switch between date ranges to analyze different periods:
- Today
- Last 7 days
- Last 30 days
- Last 90 days
Privacy
ZephyrPHP analytics is designed with privacy in mind:
- No cookies — Visitors are identified by hashed IP + daily salt
- No tracking scripts — Data is collected server-side via middleware
- IP hashing — IPs are hashed with SHA-256 and a daily rotating salt derived from your APP_KEY
- Bot filtering — 30+ bot patterns are automatically excluded
- Data stored locally — Analytics data stays on your server in
storage/analytics/
Excluded Paths
The following paths are automatically excluded from analytics:
/cms/*— Admin panel pages/api/*— API endpoints- Static files (CSS, JS, images, fonts)