Public stats card
The stats card is a small image with your site's visitors this month or today, the change against the same stretch of the period before, and a line of both. Put it in a footer, an about page or a README. It is off until you turn it on.
Turning it on
Owners and admins open the site's settings and turn on the public stats card. Choose a style, a period, a theme and a colour, and copy the snippet. The link is shown once: the token in it is stored only as a hash, like an API key. If you lose it, make a new link.
<a href="https://nordtally.com/?ref=card" rel="noopener noreferrer"><img
src="https://app.nordtally.com/card/TOKEN.svg?variant=card&metric=month"
width="300" height="148" alt="Visitors to example.com this month, counted by Nordtally"
referrerpolicy="no-referrer" loading="lazy"></a>| Parameter | Values |
|---|---|
variant | card (300 × 148, the default) or strip (400 × 64) |
metric | month: this month so far against the same days of last month, up to the same time of day. today: today so far against yesterday up to the same time. |
theme | auto follows the visitor's light or dark setting; light or dark force one |
accent | Six hex digits without #, such as 1baf7a |
Anything else is ignored, and a value the card doesn't know falls back to the default.
What it shows, and what it doesn't
- Site-wide totals and the daily or hourly line: visitors, or visits on a strict-mode site, which has no visitor ids. Never pages, sources, countries or anything about a visitor.
- Only events Nordtally collected itself. Imported history isn't included.
- The numbers are at most five minutes old. Above 65,536 visitors a count is an estimate within about 1%, and the card marks it ≈ (see how Nordtally counts).
- With nothing to compare with, such as in a site's first month, the card shows no change rather than an invented one.
Privacy
The card is an image, so it runs no script and sets no cookies, and it doesn't count the people who see it. Their browser fetches it from app.nordtally.com, which sees their address like it would for any image. The address isn't logged or stored; the access log keeps only the time and the path, which contains the card's token. The snippet sends no referrer, for the image or the link, so we don't learn which page it is on.
Anyone with the link can see the numbers, and the link is in your page's HTML. Turn the card off, or make a new link, and the old link stops working at once; a browser or a cache in between may still show the copy it fetched for up to 15 minutes.
On a small site, the today card shows activity by the hour, a few minutes after it happens. Someone who knows that only one person is likely to visit could watch it change. If that matters for your site, use the monthly card.