Search by

runlight / craft

joncphillips

Counts visitors with Runlight: privacy friendly analytics with no cookies, kept in your own database. Adds the script, reports AI agents that read your pages, and shows your dashboard in the Control Panel.

Package info

github.com/runlightsh/runlight-craft

Homepage

Issues

Documentation

Type:craft-plugin

pkg:composer/runlight/craft

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 1

v0.1.1 2026-10-10 23:38 UTC

This package is auto-updated.

Last update: 2026-10-10 23:52:32 UTC


README

Counts your site's visitors with Runlight: privacy friendly analytics with no cookies, kept in your own database.

  • Adds Runlight's script to every front-end page, and marks 404 pages.
  • Leaves out Control Panel users' own visits, if you want.
  • Reports AI agents such as ChatGPT and Claude that fetch your pages, after the response has been sent.
  • Adds a Runlight item to the Control Panel that shows your dashboard there with a dashboard key, and links to your Runlight.

The address, site id, and keys accept environment variables, so the keys can stay out of project config. Full steps: runlight.sh/docs/craft.

Only the Control Panel's own origin may frame the dashboard. When a proxy in front of Craft ends HTTPS, set baseCpUrl in config/general.php (or CRAFT_BASE_CP_URL), so the plugin asks for the right one.