
Open source web analytics embedded inside your app




Runlight is an open-source web analytics platform designed to run directly inside an existing application rather than on a hosted third-party service. It tracks visitor metrics and keeps all data inside your personal database, bypassing the need to rent analytics infrastructure or send site usage records to external vendors.
Traditional analytics platforms often rely on heavy third-party scripts that get blocked by ad blockers or require intrusive cookie banners to comply with privacy laws.
Runlight solves this by operating as a native package or route on your own domain. Its collector script weighs under 2 KB gzipped, and the whole system stores metrics directly in databases like SQLite without using browser cookies.
By mounting directly to a path like /runlight in your web framework, Runlight pairs lightweight tracking with self-hosted dashboard access. It provides traffic analysis, live visitor tracking, goal conversion tracking, and AI referral detection without compiling personally identifiable information.
Runlight is built for developers, web teams, and system operators who prefer keeping site metrics under their own control without third-party tracking scripts.
A software team running a SaaS web app adds Runlight to their Next.js or Laravel project. Instead of managing a separate third-party vendor account, analytics live directly inside their standard application stack and deploy together with their application code.
A content creator or company running a privacy-first blog uses Runlight to monitor article visits. Because the system calculates visitor metrics using daily salts rather than browser cookies, the site avoids displaying annoying cookie consent popups to incoming readers.
A marketing manager running multi-channel campaigns monitors traffic sources across social posts, newsletters, and custom short links. They use Runlight to identify when visitors arrive from ChatGPT discussions versus conventional search queries, attributing signups directly to each origin.
Runlight is free and open-source software distributed under a public repository. There are no paid subscription tiers, usage fees, or limits on the number of tracked visits.
Compared to Google Analytics, Runlight does not use persistent tracking cookies, does not transmit user data to external data centers, and avoids complex compliance banners. Compared to standalone self-hosted tools like Umami or Plausible, Runlight can embed directly as an application library inside your existing backend framework without requiring a completely isolated server instance.
How much does Runlight cost?
Runlight is completely free and open source. You can install and host it without licensing fees or usage tiers.
Does Runlight use cookies?
No. Runlight sets zero tracking cookies and stores nothing personal in the visitor browser, which removes the need for cookie compliance banners.