Overview
Download Statistics provides comprehensive tracking and reporting of all download activity on your site. Monitor total downloads, analyze trends, identify popular packages, and generate reports for business insights.
Prerequisites
- WordPress Download Manager installed
- Download logging enabled in settings
- At least one published package with downloads
Accessing Statistics
- Go to Downloads > Statistics
- View dashboard overview
- Use filters to drill down
Statistics Dashboard
Overview Section
The main dashboard displays:
┌─────────────────────────────────────────────────────────────┐ │ Download Statistics │ ├─────────────────────────────────────────────────────────────┤ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │ │ 12,456 │ │ 1,234 │ │ 856 │ │ 23 │ │ │ │ Total │ │ This │ │ This │ │ Today │ │ │ │Downloads │ │ Month │ │ Week │ │ │ │ │ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │ │ │ │ [Download Trends Chart - Last 30 Days] │ │ │ └─────────────────────────────────────────────────────────────┘
Key Metrics
| Metric | Description |
|---|---|
| Total Downloads | All-time download count |
| This Month | Downloads in current month |
| This Week | Downloads in current week |
| Today | Downloads in last 24 hours |
| Unique Downloaders | Distinct users/IPs |
| Average Per Day | Daily download average |
Download Trends
Chart Visualization
Interactive chart showing download patterns:
Downloads over Time ──────────────────────────────────────── │ ╭──╮ │ ╭╯ ╰╮ ╭──╮ │ ╭╯ ╰──╮╭╯ ╰╮ │ ╭╯ ╰╯ ╰╮ │ ─╯ ╰── │───────────────────────────────────── Mon Tue Wed Thu Fri Sat Sun
Time Ranges
| Range | Description |
|---|---|
| Last 7 Days | Daily breakdown |
| Last 30 Days | Daily breakdown |
| Last 12 Months | Monthly breakdown |
| Custom Range | Select start/end dates |
Filtering
Filter chart data by:
- Package: Specific package or all
- Category: Filter by category
- User Role: Filter by downloader role
- Country: Geographic filtering (if GeoIP enabled)
Package Statistics
Top Packages
List of most downloaded packages:
| Rank | Package | Downloads | % of Total |
|---|---|---|---|
| 1 | Software v2.0 | 2,456 | 19.7% |
| 2 | User Guide PDF | 1,892 | 15.2% |
| 3 | Template Pack | 1,234 | 9.9% |
| … | … | … | … |
Individual Package Stats
Click any package to view detailed stats:
┌─────────────────────────────────────────┐ │ Software v2.0 - Statistics │ ├─────────────────────────────────────────┤ │ Total Downloads: 2,456 │ │ Downloads This Month: 234 │ │ Downloads This Week: 45 │ │ Downloads Today: 8 │ │ │ │ Peak Day: January 15, 2026 (89) │ │ Average Per Day: 12.3 │ │ Unique Users: 1,892 │ │ │ │ [View Download Log] [Export Data] │ └─────────────────────────────────────────┘
Package Comparison
Compare multiple packages:
- Select packages to compare
- Choose date range
- View side-by-side chart
Download Log
Log Fields
Each download record contains:
| Field | Description |
|---|---|
| Date/Time | When download occurred |
| Package | Package downloaded |
| User | Username or “Guest” |
| IP Address | Downloader’s IP |
| Country | Geographic location (GeoIP) |
| Browser | Browser type |
| OS | Operating system |
| Referrer | Page they came from |
| File | Specific file downloaded |
| Version | Package version at time |
Viewing the Log
Navigate to Downloads > Statistics > Download Log:
┌───────────────────────────────────────────────────────────────────────┐ │ Download Log [Export CSV] │ ├───────────────────────────────────────────────────────────────────────┤ │ Date/Time │ Package │ User │ IP │ Country │ ├───────────────────────────────────────────────────────────────────────┤ │ Jan 24, 2026 14:23 │ Software │ john │ 192.168.1.1 │ USA │ │ Jan 24, 2026 14:19 │ User Guide │ Guest │ 10.0.0.55 │ UK │ │ Jan 24, 2026 14:15 │ Templates │ mary │ 172.16.0.1 │ Canada │ │ ... │ ... │ ... │ ... │ ... │ └───────────────────────────────────────────────────────────────────────┘
Filtering the Log
Available filters:
| Filter | Options |
|---|---|
| Date Range | Start date to end date |
| Package | Specific package or all |
| User | Specific user or all |
| Category | Package category |
| Country | Geographic filter |
Searching
Search by:
- Package title
- Username
- IP address
- File name
User Statistics
Top Downloaders
Users with most downloads:
| Rank | User | Downloads | Last Download |
|---|---|---|---|
| 1 | john_smith | 156 | Jan 24, 2026 |
| 2 | mary_jones | 134 | Jan 24, 2026 |
| 3 | bob_wilson | 98 | Jan 23, 2026 |
User Download History
View specific user’s activity:
- Go to user’s profile (WordPress Users)
- Or filter download log by user
- View all their downloads
Guest vs Registered
Compare download patterns:
| User Type | Downloads | % |
|---|---|---|
| Registered Users | 8,456 | 67.9% |
| Guests | 4,000 | 32.1% |
Category Statistics
Downloads by Category
┌─────────────────────────────────────────┐ │ Category Breakdown │ ├─────────────────────────────────────────┤ │ Software ████████████████ 4,567 │ │ Documents ██████████ 2,345 │ │ Templates ████████ 1,890 │ │ Audio ████ 987 │ │ Video ███ 654 │ └─────────────────────────────────────────┘
Category Trends
View category performance over time:
- Which categories are growing
- Seasonal patterns
- Category comparisons
Geographic Data
Requirements
Enable GeoIP tracking at Downloads > Settings > General:
☑ Enable Geographic Tracking GeoIP Database: [MaxMind GeoLite2 ▼]
Country Breakdown
Downloads by Country
────────────────────────────────
🇺🇸 United States 4,567 (36.7%)
🇬🇧 United Kingdom 2,345 (18.8%)
🇨🇦 Canada 1,234 (9.9%)
🇦🇺 Australia 987 (7.9%)
🇩🇪 Germany 765 (6.1%)
Other 2,558 (20.6%)
Map View
Visual map showing download distribution worldwide.
Reports
Generating Reports
- Go to Downloads > Statistics > Reports
- Select report type
- Choose date range
- Click Generate
Report Types
| Report | Contents |
|---|---|
| Summary Report | Overview of all activity |
| Package Report | Detailed package stats |
| User Report | User activity breakdown |
| Geographic Report | Location-based analysis |
| Trend Report | Growth and patterns |
Export Options
| Format | Use Case |
|---|---|
| CSV | Spreadsheet analysis |
| Excel | Detailed reports |
| Presentations | |
| JSON | API/integrations |
Scheduled Reports
Configure automatic reports:
☑ Enable Scheduled Reports Frequency: [Weekly ▼] Day: [Monday ▼] Recipients: admin@example.com, team@example.com Report Type: [Summary ▼]
Activity Summary Emails
Overview
Receive periodic email summaries of download activity.
Configuration
Go to Downloads > Settings > Activity Reports:
☑ Enable Activity Reports Frequency: [Weekly ▼] Day: [Monday ▼] Hour: [9:00 AM ▼] Recipients: ☑ Administrator email Additional: manager@example.com Sections: ☑ Download Summary ☑ Top Packages ☑ Trending Packages ☑ User Activity ☑ Category Breakdown ☐ Revenue Summary (Premium) ☐ Storage Usage
Email Content
Weekly report includes:
| Section | Description |
|---|---|
| Download Summary | Total, daily average, peak day |
| Top Packages | Most downloaded with counts |
| Trending | Biggest growth packages |
| User Activity | New users, unique downloaders |
| Category Breakdown | Downloads per category |
Dashboard Widgets
Overview Widget
Displays on WordPress dashboard:
┌─────────────────────────────────────┐ │ Download Manager - Overview │ ├─────────────────────────────────────┤ │ Total Downloads: 12,456 │ │ This Week: 234 │ │ Today: 23 │ │ Active Packages: 156 │ └─────────────────────────────────────┘
Trends Widget
Chart widget showing recent trends.
Top Downloads Widget
List of most popular packages.
Configuring Widgets
- Go to Dashboard
- Click Screen Options
- Enable/disable WPDM widgets
Data Management
Clearing Statistics
At Downloads > Settings > Privacy:
Clear Download Statistics ────────────────────────────────────── This will permanently delete all download logs. Package download counts will remain unchanged. [Clear All Statistics]
Data Retention
Configure automatic cleanup:
☑ Auto-delete logs older than [90] days ☐ Keep aggregated counts (totals remain) ☐ Anonymize IP addresses after [30] days
Resetting Counts
Reset individual package count:
- Edit the package
- Go to Statistics tab
- Click Reset Download Count
- Confirm action
Performance Considerations
High-Volume Sites
For sites with heavy traffic:
| Setting | Recommendation |
|---|---|
| Log Retention | 30-90 days |
| GeoIP | Disable if not needed |
| Real-time Charts | Use caching |
Database Optimization
Periodically optimize statistics tables:
// Run via WP-CLI or custom script
$wpdb->query("OPTIMIZE TABLE {$wpdb->prefix}ahm_download_stats");
Caching Statistics
Statistics queries are cached:
| Data | Cache Duration |
|---|---|
| Dashboard totals | 30 minutes |
| Trend charts | 1 hour |
| Top packages | 30 minutes |
| Geographic data | 2 hours |
Troubleshooting
Stats Not Recording
Causes:
- Logging disabled
- AJAX issues
- Database error
Solutions:
- Enable logging in settings
- Check browser console
- Verify database table exists
- Check server error logs
Counts Seem Wrong
Causes:
- Admin downloads counted
- Bot traffic
- Cache issues
Solutions:
- Exclude admin roles from stats
- Enable reCAPTCHA
- Clear transient cache
- Recalculate counts
Slow Statistics Page
Cause: Large log table
Solutions:
- Reduce retention period
- Add database indexes
- Optimize table
- Use caching
Export Not Working
Causes:
- Memory limit
- Timeout
- File permissions
Solutions:
- Increase PHP memory
- Export smaller date ranges
- Check uploads folder permissions
Related Documentation
- General Settings
- Privacy Settings
- Activity Summary Emails
- [[wpdm_download_count] Shortcode](/doc/shortcodes/wpdm-download-count/)
Last updated: January 2026
Applies to: WordPress Download Manager 7.x