# Docs - **Get started** - [Getting started](/docs.md): Add Pageflock to a site in a couple of minutes, then read your numbers in the dashboard or from your AI assistant. - [Install with a coding agent](/docs/agent-install.md): Paste one prompt into Claude Code, Cursor or another coding agent, and it installs Pageflock the way your framework needs. - [@pageflock/analytics](/docs/analytics.md): One component for Next.js, React and Vue, and inject() for SvelteKit, Astro and any bundled site. - [Script tag](/docs/script-tag.md): One line of HTML for static sites, CMSs and anything without a build step. - [Custom events](/docs/custom-events.md): Track signups, purchases and any other action, with properties you can break down in the dashboard. - [Content Security Policy](/docs/content-security-policy.md): What to allow when your site sets a Content Security Policy. - [Public dashboards](/docs/public-dashboards.md): Let anyone with the link view a site's stats, without an account. - **Reference** - [SDK reference](/docs/sdk.md): Everything @pageflock/analytics exports: , inject(), track() and their options. - [MCP server](/docs/mcp.md): Connect Claude, ChatGPT or any MCP client to your workspaces, and ask about your traffic in plain words. - [REST API](/docs/api.md): Read stats and manage sites from code, with an API key. - **Run it yourself** - [Self-hosting on Cloudflare](/docs/self-hosting.md): Run Pageflock on your own Cloudflare account, deployed from GitHub Actions. - [How visitors are counted](/docs/privacy.md): What Pageflock collects, what it never stores, and how it counts unique visitors without cookies.