Yet another statistics module
YASM (Yet Another Statistics Module) provides comprehensive statistics about your Drupal site, including content, users, files, and entities. It offers sortable data tables, charts, and detailed permission controls to manage who can view specific reports. Advanced features include historical reports, personal statistics, and embeddable blocks to display site counts.
YASM (Yet Another Statistics Module) is a comprehensive analytics dashboard for Drupal that centralizes site and personal statistics in one place, with tables, optional charts, and email reports.
Compatible with Drupal 10.3+ (10.3 or higher, including 11 and 12).
What you can track
Get statistics, tables, and charts for:
- Content: Nodes by content type (posts, articles, pages, etc.)
- Users: Registration growth, role distribution, activity tracking
- Files: Uploads by file type and size
- Media: Media assets by media type
- Taxonomy: Term usage by vocabulary
- Comments: Comment activity over time
- Groups: Member counts and activity (Group module)
- Webforms: Submission tracking (Webform module)
- Node views: Total views, top/least viewed nodes, and views by content type (Statistics module)
Key features
- Integrated dashboard: Central report hub at /admin/reports/yasm with tabbed navigation.
- Site & personal stats: Aggregate metrics or filtered by logged-in user.
- Yearly/monthly reports: Cumulative growth with monthly breakdowns, diffs, and role/file-type splits.
- Timeline view: Infinite scroll through months showing created/updated totals per entity type.
- Group filtering: Filter all reports and timeline by group (when Group module enabled), with state preserved across tabs.
- Smart tables: DataTables-powered sorting, search, and export to CSV, Excel, or PDF.
- Views integration: Expose entity counts in custom Views with REST/CSV exports (bundle-based).
- Optional charts: Visual reports via yasm_charts submodule (requires Charts module).
- Optional Statistics integration: Works with or without Drupal Statistics; adds view-based cards, tables, and rankings.
- Email reports: Schedule monthly/yearly reports sent automatically to roles/users.
- Embeddable blocks: Display counters and group activity on pages via yasm_blocks submodule (with optional comments/files/webform data).
- Multi-version Group support: Works seamlessly with Group 1.x–4.x.
- Fine-grained permissions: Control access to each stats page, reports, and timeline independently.
- Extensively tested: Full unit, kernel, and functional test coverage.
Requirements
- Drupal 10.3+ (10.3 or higher, including 11 and 12)
- Core modules: user, datetime
- yasm_charts requires Charts
- yasm_blocks requires core block
Installation
composer require drupal/yasm
composer require drupal/yasm_charts
composer require drupal/yasm_blocks
Enable modules in /admin/modules and configure access at
/admin/people/permissions.
Contrib support
- Group
- Webform
- Statistics
- Charts (for yasm_charts)
Depends on
Dependencies of the latest stable release
- datetime Drupal core
- user Drupal core
Required by
1 tracked project depends on this one
- DiBa Integration 7 sites
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.3.2 | Stable | 10–11 | Aug 27, 2026 | ||
| 2.3.1 | Stable | 10–11 | Aug 24, 2026 | ||
| 2.3.0 | Stable | 10–11 | Aug 20, 2026 | ||
| 2.2.5 | Stable | 10–11 | Aug 7, 2026 | ||
| 2.2.4 | Stable | 10–11 | Aug 7, 2026 | ||
| 2.2.3 | Stable | 10–11 | Aug 7, 2026 | ||
| 2.2.2 | Stable | 10–11 | Aug 4, 2026 | ||
| 2.2.1 | Stable | 10–11 | Aug 4, 2026 | ||
| 2.2.0 | Stable | 10–11 | Aug 4, 2026 | ||
| 2.1.4 | Stable | 10–11 | Mar 24, 2026 | ||
| 2.1.3 | Stable | 10–11 | Mar 10, 2026 | ||
| 2.1.2 | Stable | 10–11 | Mar 9, 2026 | ||
| 2.1.1 | Stable | 10–11 | Mar 6, 2026 | ||
| 2.x-dev | Dev | 10–11 | Mar 6, 2026 | ||
| 2.1.0 | Stable | 10–11 | Mar 5, 2026 | ||
| 2.0.8 | Stable | 9–10 | Jun 4, 2025 | ||
| 2.0.7 | Stable | 9–10 | Jun 4, 2025 | ||
| 2.0.6 | Stable | 9–10 | Jun 3, 2025 |