Where does Magic Pages keep my Ghost site's web analytics?
On Magic Pages, Ghost's web analytics runs on a Tinybird-compatible database on our own server in Germany. What a page view holds, how long it's kept, and how to turn it off.
On our own server in Germany. Ghost's settings say its web analytics is powered by Tinybird. On Magic Pages, it runs on a Tinybird-compatible analytics database that we host ourselves, on a Hetzner server in Falkenstein.
Is Tinybird a sub-processor?
No. Ghost's analytics needs a Tinybird-compatible database to store page views in. You can rent one from Tinybird as a cloud service, or run a compatible one yourself, which is what we do.
The company behind Tinybird never receives any of your data, so it isn't on our sub-processor list. Our analytics database runs on a server that belongs to Hetzner, which is on that list already:

How a page view gets there
Your site loads a small script, /public/ghost-stats.min.js, from your own domain. When someone opens a page, the script sends the page view back to your own domain, under /.ghost/analytics/. Like every request to your site, it passes through Cloudflare on the way. Our server then hands it to Ghost's analytics service, which stores it in the analytics database within our private network at Hetzner.
Your visitors' browsers only talk to your own domain for this.
What a page view holds
- the time
- a visitor ID that changes every day
- the address of the page, and which post or page it was
- where the visitor came from, including any
utm_tags in the link - the browser, operating system and device type, and the browser's full identification string
- the browser's language, and the country its time zone belongs to
- the member's ID and status, if the reader is signed in
The member ID links those page views to a person, so they're personal data. A reader who isn't signed in has no member ID, so their page views carry only the visitor ID.
The IP address isn't stored. The analytics service turns it into the visitor ID by mixing it with the browser details and a random value that's new every day. Then it drops the address. Once that day's random value is deleted, nobody can work out which IP address a visitor ID came from, us included. The logs article has the details and an example record:

Nothing is stored in the browser
The script sets no cookies, and it writes nothing to the browser's storage.
In your page source, the script tag carries data-storage="localStorage". Ghost adds that attribute, but the script never reads it. Search the script itself for localStorage, sessionStorage or cookie and you won't find any of them.
How long page views are kept
For as long as your site is with us. Ghost doesn't give page views an expiry date, so they stay until your site's data is deleted.
That happens 30 days after your subscription or trial ends, together with everything else on your site:

Turning it off
In your Ghost admin, go to Settings → Analytics and switch off Web analytics. Your site then stops loading the script, so no new page views are recorded. The ones already stored stay until your site's data is deleted.
More in this section
Didn't find your answer?
Ask us anything — a real person reads every message, usually the same day.
