Documentation

Quick start

1

Create an account

Sign in at app.logly.uk with Google or GitHub. No credit card required.

2

Add your site

Go to Settings → Add a site. Enter a name and domain (e.g. myblog.com). You'll get a site ID.

3

Add the snippet

Paste this inside <head> on every page you want to track, replacing YOUR-SITE-ID with the ID from the previous step:

<script src="https://logly.uk/p.js" data-site="YOUR-SITE-ID" async></script>

That's it. Stats appear in your dashboard within a minute.

The script is under 1 KB, non-render-blocking, and has no impact on your Lighthouse or Core Web Vitals scores.

How it works

Session tracking

Logly identifies sessions using a daily-rotating hash of a truncated IP prefix and browser user-agent. The hash changes every day, so the same visitor on consecutive days counts as two sessions. No cookie is set and no personal data is stored.

Active time on page

The tracker uses the Page Visibility API: the timer pauses when your tab is hidden (minimised, switched away, or in a background tab) and resumes when it's visible again. The time you see in the dashboard is the time the visitor was actively looking at your page.

Ad blocker bypass

Requests are routed through logly.uk/e, a first-party endpoint that is not on any block list. This allows Logly to measure the portion of your audience using Brave Shields, uBlock Origin, or similar tools.

Dashboard

MetricDefinition
VisitorsUnique session hashes in the selected period
PageviewsTotal page loads tracked
Avg. time on pageMean active time across all sessions
Bounce rateSessions with a single pageview

Use the date picker (7 / 30 / 90 days) to change the time range. Switch between sites using the site selector in the header.

Plans and limits

PlanPageviews / monthSitesData retention
Free10,00011 month
Starter100,000Unlimited6 months
Pro1,000,000Unlimited2 years
Business10,000,000Unlimited5 years

Pageviews from all your sites count towards the same monthly bucket.

Powered by Logly badge

Free and Starter plans require a visible attribution link on tracked pages. Paste this wherever you place your footer credits:

<a href="https://logly.uk" rel="noopener">Analytics by Logly</a>

Pro and Business plans are badge-free.

Invite codes

If you have an invitation code (EARLY-XXXXX or STARTER-XXXXX), redeem it in Settings to unlock the corresponding plan at early access pricing.

Support

Use the chat widget in the bottom-right corner of this page — it's the fastest way to get help.