Last updated 26 November 2026. By Paul Badarau.
A fictional photographer, Sam, wants to know whether anyone looks at lenswork.example, a portfolio built with a static site generator. Setup in PostDeploy Analytics takes these steps:
- Create a Project in Accounts with the site's hostname, lenswork.example. The Project then appears in Analytics.
- Copy the snippet from the Project's Tracking settings and add it to the shared layout, so every page loads it.
- Deploy, open the site in a browser, and reload the report. Analytics confirms the installation when it receives the first valid event. Copying the snippet does not count.
- Pick a range: today, 7, 30 or 90 days, 12 months, or custom dates. You can compare any range with the previous period.
After a month, Sam's report shows 1,240 visitors and 2,900 pageviews for 30 days. A pageview is a page load, or a navigation in a single-page app. Analytics counts each visitor once per Project and local day, with a salted hash whose salt changes every day. The script sets no cookies, and Analytics does not store IP addresses or user agents.
Read the visitor number with care. Nothing links Monday's visitor to Tuesday's, so a person who comes back on three days counts three times. The 1,240 is a sum of daily visitors. Whenever anyone returns on a second day, the number of distinct people is lower, and no report states it.
Expect the count to sit below your server logs. New Projects exclude known bots and respect Do Not Track and Global Privacy Control by default. A browser that does not run the script sends nothing.
You can try it on your own site with the 14-day free Trial. It needs no card and covers every Product. After that, the Standard Plan is USD 29 per Workspace per month and includes 25,000 pageviews a month.
The product page for this is Analytics.