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

Supporting organizations: 

Project information

Releases