Downloading your page views
Ghost's record of every page view on your site isn't in your backups. Download it as a CSV file from the customer portal, with or without visitor and member identifiers.
Ghost records every page view on your site for its built-in web analytics. Those records live in our analytics database, not in your site, so the daily backups don't include them. You can download them yourself as a CSV file from the customer portal, all at once or for the days you pick.
Where to find it
- Log in to your Ghost admin at yourdomain.com/ghost and open the Customer portal.
- Click the Support tab and scroll to Page views, under the backup cards.
The card tells you how many page views we hold for the site and the day the first one was recorded. If it says "No page views recorded yet.", Ghost hasn't sent us any for this site.

Downloading them
- Leave Range on All history to get everything, or pick Date range and choose a From and a To day. The card counts the page views in those days before you download. Days are in UTC.
- If you want to know which page views came from the same visitor or from one of your members, tick Include visitor and member identifiers. The section below explains what that adds.

- Click Download CSV. On a busy site with years of history, the file can take a minute to finish.
What's in the file
One row per page view, with these columns:
timestamp: when the page view happened, in UTC, to the second.pathname: the page that was viewed, like/my-first-post/.post_uuidandpost_type: which post or page it was, matching theuuidin Ghost's own export. Empty for pages that aren't a post, like your homepage or a tag page.referrer_source,referrer_mediumandreferrer_host: where the reader came from, for example Google, a newsletter or another site's domain.utm_source,utm_medium,utm_campaign,utm_termandutm_content: the campaign tags on the link, if it had any.countryandlocale: the reader's country, which Ghost works out from the browser's time zone, and the browser's language.device,osandbrowser: desktop or mobile, the operating system and the browser.
Without identifiers, the file holds no personal data about your readers. Anything in a page address or campaign tag that looks like an email address or an ID is replaced with [redacted].
With visitor and member identifiers
With the box ticked, each row also has:
session_id: an anonymous ID for the visitor.member_uuidandmember_status: the member who viewed the page and whether they were free, paid or comped, when a signed-in member viewed it. The uuid matches the member'suuidin Ghost.hrefandreferrer_url: the full address of the page and of the page the reader came from.user_agent: the reader's full browser string.
The session ID is a hash of the visitor's IP address and browser, salted with a value that changes every day. It groups one visitor's page views within a day, but the same visitor gets a new ID the next day, so you can't count unique visitors over longer periods with it. We never store the IP addresses themselves.
In the two full addresses, we blank out the values of login-style parameters such as token and key. A sign-in link from an email would otherwise let whoever has the file sign in as that member.
This file holds personal data about your readers, the same kind your database backup holds. Store and share it the way you'd treat a backup.
We treat the owner of the Ghost site as the data controller under the GDPR, and Magic Pages as their processor. We store this data, with or without identifiers, in line with our Data Processing Agreement.
If you're leaving Magic Pages
We delete a site's page-view history 30 days after the site is cancelled, together with the rest of its data. Download it before then. Your site's content and members come with the backup downloads.
More in this section
Didn't find your answer?
Ask us anything — a real person reads every message, usually the same day.