Documentation

Everything you need to run Lomen well

Installation, what each metric means, and how we count without cookies — written for developers who would rather read one page than watch a video.

Getting started

Create your account
Sign up with email or Google, then add the website you want to measure by its domain. One site is included on Basic.
Install the snippet
Lomen generates a single script tag with your domain already filled in. Paste it into your site's <head> — or anywhere in the HTML — and deploy. No API key, no package to install, no build step.
First pageview
Load any page on your site and refresh the dashboard. The first pageview normally appears within a few seconds. If nothing arrives, check that the script tag is present in the served HTML and not blocked by a content security policy.

What Lomen measures

Pageviews and visitors
A pageview is one reported page load. Unique visitors are derived without cookies from a short-lived, non-reversible grouping of the request — enough to count a visit, not enough to recognise a person later.
Pages and referrers
Paths are normalised so one page is one row, and referrers are grouped by hostname. Traffic with no referrer is reported plainly as direct rather than attributed to a guess.
Device class
Device class (desktop, mobile or tablet) is derived from the user agent at collection time and then discarded. No fingerprinting signals are collected and no device identifier is stored.

Privacy and data

No cookies, no IP storage
The script sets no cookies and writes nothing to browser storage. IP addresses are never written to our database. Because nothing personal is stored, most sites do not need a consent banner for Lomen.
Your data is yours
Every row is scoped to your account by row-level security. Deleting a site deletes its collected pageview history along with it.
Team access (planned)
Planned, not yet built: inviting teammates by email with a role attached, and an audit record of who accepted.

The tracking snippet

<script defer
  src="https://lomen.app/track.js"
  data-site="roundtable.dev"></script>

That is the entire integration. The script is deferred, so it never blocks rendering, and it makes one request per pageview. It sets no cookies and reads nothing from the page beyond the path, the referrer hostname and the user agent.