This module integrates your Drupal site with Runlight, a privacy-focused, cookie-less web analytics service that stores all your data on your own server. It automatically adds the Runlight tracking script to your pages, tracks 404 errors, and can exclude administrator visits. Additionally, it reports on non-JavaScript AI agent traffic and ensures accurate tracking of cached pages.
Runlight is open source web analytics that runs in your own app or on your own server and keeps every number in your own database. It counts visitors, pages, sources, places, devices, campaigns, and conversions without cookies, so there is no cookie banner to add.
This module connects a Drupal site to your Runlight. It adds Runlight's script to every page and marks 404 pages so broken links show up. It can leave out administrators' own visits. It also reports AI agents such as ChatGPT, Claude, and Perplexity when they fetch your pages, which no script can see because they run no JavaScript. The module tells Runlight from the server, ahead of the page cache, so cached pages count too.
Requirements
A Runlight to send to, either an app with Runlight mounted or the standalone server. The numbers live there, so the module adds no tables to Drupal.
Installation
Install it with composer require drupal/runlight, enable it, and enter your Runlight's address under Configuration, System, Runlight. The Drupal guide has the details.
Ask your assistant about Runlight
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
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 0.5.2 | Stable | 10–11 | PHP 8.2 | Nov 22, 2026 | |
| 0.5.1 | Stable | 10–11 | PHP 8.2 | Nov 22, 2026 | |
| 0.5.0 | Stable | 10–11 | PHP 8.2 | Nov 15, 2026 | |
| 0.4.3 | Stable | 10–11 | PHP 8.2 | Nov 10, 2026 | |
| 0.4.2 | Stable | 10–11 | PHP 8.2 | Nov 10, 2026 | |
| 0.4.1 | Stable | 10–11 | PHP 8.2 | Nov 10, 2026 | |
| 0.4.0 | Stable | 10–11 | PHP 8.2 | Nov 9, 2026 | |
| 0.3.3 | Stable | 10–11 | PHP 8.2 | Nov 6, 2026 | |
| 0.3.0 | Stable | 10–11 | PHP 8.2 | Oct 24, 2026 | |
| 0.2.0 | Stable | 10–11 | PHP 8.2 | Oct 18, 2026 |