Ghost's web analytics store every page view on your site, but not in Ghost's database. They live in a separate analytics store we run for all sites, which is why neither your backups nor Ghost's own export include them. In Ghost Admin you only ever see them as charts and totals.
You can now download them as a CSV file from the customer portal, with one row per page view, for your site's whole history or for a range of days.

Why we built it
This week a customer who is moving his site to his own setup asked us for its page views. His database backup had his posts and members but none of the page views. Running a query by hand for everyone who asks would turn each of these requests into a support ticket, so the download is now part of the portal.
How it works
In the customer portal, open the Support tab and scroll to Page views, below the backup cards. The card shows how many page views we have for your site and the day of the first one. Pick All history or a date range and click Download CSV.
Each row has the time to the second, the page, the referrer, any campaign tags, and the reader's country, language, device, operating system and browser. This file contains no personal data about your readers. If a page address or campaign tag holds something that looks like an email address or an ID, we replace it with [redacted].
If you tick Include visitor and member identifiers, each row also gets the session ID, the member's ID and status for signed-in members, the full page and referrer addresses, and the browser string. The file then holds personal data about your readers, like the member list in your database backup, so keep it somewhere as safe as your backups.
Under the GDPR we treat you, the owner of the Ghost site, as the data controller and Magic Pages as your processor, and we store this data as our Data Processing Agreement describes.
What it doesn't do
The session ID won't give you unique visitors over weeks or months. Ghost's analytics service builds it from the visitor's IP address and browser plus a salt that changes daily, so the same reader gets a new ID every day. The IP addresses themselves are never stored.
If you cancel, we delete the page views 30 days after your subscription ends, along with the rest of your site's data.
The help article lists every column and what the identifiers contain:

