Skip to Content
Pageflock

Getting started

Add Pageflock to a site in a couple of minutes, then read your numbers in the dashboard or from your AI assistant.

Pageflock is cookieless web analytics. A script under 1 KB counts page views, custom events, time on page and scroll depth, without cookies or anything else stored on your visitors' devices. You read the numbers in the dashboard, through the REST API, or by asking Claude or ChatGPT through the MCP server.

1. Create a site

Sign in at app.pageflock.com and choose Add site. Give it the domain you will track and a time zone. Pageflock shows the site's ID and the code to install, and then waits for the first visit.

Running your own instance? See Self-hosting first. Everything below works the same, with your own URLs.

2. Install the tracking

There are three ways to install it:

3. Check it works

Deploy, then open your site in a normal browser window. The install screen in the dashboard turns green when the first visit arrives. Pageflock ignores localhost, automated browsers and prerendered pages, so a local dev server never shows up. Turn on debug to see what would be sent.

Your agent can check too: the verify_installation MCP tool loads the site's home page and reports whether the script is there and whether events have arrived.

Next

On this page