Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

User activity tracker

No security coverage Under active development

Features

Activity Tracker provides comprehensive, role-based activity logging:

Selective Role-Based Tracking
- Choose which activities to log for each user role
- Admin, Editor, Contributor roles each have customizable tracking
- Only selected activities generate log entries

Core Activity Types
- Authentication: Login and logout events
- Entity Operations: Creation, updates, and deletion of content and configuration entities
- Role Management: Role creation, changes, and deletion
- User Role Changes: Tracks which roles were added/removed from accounts
- File Operations: File uploads and deletions
- Configuration: Configuration saves, deletions, and import summaries

Detailed Context
- Each log entry includes the actor (user performing action) and affected entity
- See exactly which roles were added or removed from accounts
- Identify permission changes on roles
- Consistent context across all entity types

Use Cases:
- Audit user activities for compliance and security
- Track content creation and modifications by role
- Monitor administrative changes and configuration updates
- Identify who changed permissions or role assignments
- Maintain detailed activity logs for content governance

Who should use this:
- Drupal site administrators needing activity transparency
- Organizations with compliance requirements
- Content teams tracking editorial workflows
- Security-conscious deployments

Post-Installation

After installing Activity Tracker, follow these steps:

1. Enable Activity Logging
- Go to: /admin/config/system/activity-tracker
- You need 'Administer site configuration' permission

2. Configure Role Tracking
- Check "Track this role" for each role you want to monitor
- By default, no roles are tracked (you must enable them)

3. Select Activities to Log
- For each enabled role, check which actions to track:
* Login/Logout
* Entity create/update/delete
* Entity publish/unpublish
* Role changes
* User role assignments
* File operations
* Configuration changes

4. Save Configuration

5. View Activity Logs
- Activities are logged to Drupal's standard logging channel
- View logs in: /admin/reports/dblog (if Database Logging is enabled)
- Or use another Drupal logging backend of your choice

Note:
- Activity Tracker does NOT provide its own log viewer
- It works with Drupal's Database Logging (dblog) or other logging modules
- Log entries use the 'activity_tracker' channel at 'notice' level
- Settings are stored in activity_tracker.settings configuration

Additional Requirements

Core Requirements:
- Drupal 11.1 or later (within Drupal 11 series: ^11.1)
- PHP 8.3 or later
- Drupal's User module (included in Drupal core)
- Drupal's Config module (included in Drupal core)

Optional but Recommended:
- Database Logging (dblog) - to view activity logs in Drupal UI
Install: drush en dblog
- Any other Drupal logging backend for log storage

No third-party libraries are required.

Enhance Activity Tracker with these modules:

Database Logging (dblog) - Included in Drupal core
- Provides a UI to view and filter logged activities
- Recommended for most installations

Advanced Log Filtering (future ecosystem modules)
- Parse and analyze Activity Tracker logs

Security & Audit Modules
- Security Review - Overall Drupal security audit
- Paranoia - Additional security hardening

Similar projects

Activity Tracker vs. Similar Modules:

vs. Database Logging (dblog)
- DBLog: Captures all Drupal messages from core and modules
- Activity Tracker: Focuses specifically on USER ACTIONS with role-based filtering
- Difference: Activity Tracker provides selective, role-based tracking
while DBLog captures everything

vs. Audit Log / Access Log modules
- Activity Tracker: Real-time, automatic logging of user actions
- Other audit modules: May require more setup or focus on specific entity types
- Difference: Activity Tracker covers authentication, entities, roles, files,
and configuration in one unified solution

Unique Features:
- Role-based selective tracking (choose what each role logs)
- Consistent context across all entity types
- Tracks role and permission changes in detail
- Configuration and import tracking
- Works with any Drupal logging backend
- Zero external dependencies

Ask your assistant about User activity tracker

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Nov 2026
Latest release
2 days ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-beta1 Pre-release Nov 20, 2026