Runlight for WordPress

The Runlight plugin counts your visitors and the AI agents that read your pages, with the dashboard right in wp-admin. It sets no cookies, and every number stays in your own WordPress database.

  • WordPress 6.5 or later
  • PHP 8.2 or later
  • Free and open source
WordPress's admin with the Runlight item open, showing that 6,637 people visited Tulvane in the last 30 days, with cards for visits, pageviews, bounce rate, and visit duration above a chart of visitors per day.The same screen in light mode.

Once the plugin is active, one button on its setup screen starts the count, and the Runlight item in the admin menu shows the numbers from then on. Goals, funnels, short links, and email reports are in the full dashboard at /runlight on your site.

What it does

Your numbers stay in your database

When WordPress’s database is MySQL 8.0.20 or later, or MariaDB 11.4 or later, Runlight keeps its numbers there, in tables named after your table prefix, so your backups include them. Any other database gets a SQLite file in the uploads folder.

Visitors are counted without cookies

Runlight tells visits apart with a daily hash of the visitor’s address and user agent, and the salt behind it is deleted after a day. Nothing is stored on the visitor’s device. How Runlight counts has the details.

AI agents that read your pages

Agents such as ChatGPT and Claude fetch pages without running JavaScript, so no script can see them. The plugin records them on the server once the page has been sent, and checks each one against the addresses its company publishes.

Broken links show up

On a page WordPress answers with a 404, the script records an event named 404 with the missing path, so the Events box lists the broken addresses people reached and how often.

Your own visits are left out

Administrators' visits are left out unless you turn that off. Clicks on links to other sites and file downloads are counted as events until you turn those off.

One dashboard for many sites

If you already run Runlight elsewhere, as the standalone server or inside an app, press Connect in the plugin’s settings and this site sends its numbers there instead.

At a glance

Inside WordPress Sent to a Runlight elsewhere
Dashboard in wp-admin Yes, the whole dashboard with its settings Yes, a read-only view of this site
Full dashboard At /runlight on your site In your own Runlight
Where the numbers are kept WordPress’s database, or a SQLite file in uploads That Runlight’s database
Goals, funnels, and short links Yes Yes, in that Runlight
AI agent fetches Yes Yes, sent with a key that can only report for this site
Email reports Yes, through your SMTP plugin or a mail service Yes, sent by that Runlight
Multisite networks Yes, with a SQLite file for each site Yes
What it needs PHP 8.2 with mbstring and openssl A Runlight served over HTTPS

Set it up

  1. Install the plugin under Plugins, Add New Plugin, or with wp plugin install runlight --activate.
  2. On the setup screen that opens, press Run Runlight in this WordPress.
  3. Open the Runlight item in the admin menu to watch the numbers come in.

The WordPress guide covers page caches, multisite networks, email reports, and sending to a Runlight you run elsewhere.

Questions

Does it work with page caches?

Yes. Cached pages still include the script, so visits are counted. Caches that serve pages without running PHP, such as WP Super Cache in its expert mode, keep the plugin from seeing AI agents fetch those pages.

What happens when I delete the plugin?

Deactivating it keeps everything. Deleting it removes Runlight’s tables or its folder, along with the plugin’s settings, on every site of a network.

Can I bring over my old numbers?

Yes. Under Settings, Import in the dashboard, Runlight takes history from a Plausible export, from Umami, or from a CSV file with a row for each pageview.

Is it really free?

Yes. The plugin and Runlight itself are free and open source, with no paid plan and no limit on sites or pageviews.

The Runlight plugin is free on WordPress.org, and it starts counting the moment you choose where it runs.

WordPress is a registered trademark of the WordPress Foundation. Runlight is an independent project, and the WordPress Foundation does not endorse it.