<div className="hero-docs">
  <span className="docs-pill">Documentation</span>
  <h1>PureStats documentation</h1>
  <p>Set up privacy-friendly analytics, verify your tracker, measure campaigns and conversions, manage teams, and keep your sites healthy.</p>
</div>

PureStats is built for teams that want clear website analytics without turning the dashboard into a data warehouse project. This documentation covers the full workflow: creating your account, adding sites, installing the `pf.js` tracker, configuring privacy controls, measuring campaigns and goals, and managing your account.

## Start here

<div className="docs-card-grid">
  <a className="docs-card" href="/docs/getting-started/quick-start">
    <strong>Quick start</strong>
    <span>Create a site, install the tracker, verify the first hit, and open the dashboard.</span>
  </a>
  <a className="docs-card" href="/docs/installation/plain-html">
    <strong>Installation guides</strong>
    <span>Use PureStats with static HTML, WordPress, Next.js, React, Vue and single-page apps.</span>
  </a>
  <a className="docs-card" href="/docs/features/dashboard-filters">
    <strong>Dashboard basics</strong>
    <span>Use periods, traffic modes, filters, saved segments, widgets and custom dashboards.</span>
  </a>
  <a className="docs-card" href="/docs/reference/troubleshooting">
    <strong>Troubleshooting</strong>
    <span>Fix missing pageviews, wrong domains, blocked scripts and bot traffic.</span>
  </a>
</div>

## Common tasks

| Task | Where to go |
| --- | --- |
| Add a new site | [Add a site](/docs/getting-started/add-site) |
| Confirm that tracking works | [Verify installation](/docs/getting-started/verify-installation) |
| Track button clicks without custom code | [No-code events](/docs/features/no-code-events) |
| Exclude private or internal pages | [Path exclusions](/docs/sites/path-exclusions) |
| Connect multiple domains to one site | [Site aliases](/docs/sites/site-aliases) |
| Use UTM reports | [Campaign analytics](/docs/features/campaign-utm-analytics) |
| Build a funnel | [Goals and funnels](/docs/features/goals-and-funnels) |
| Export a large CSV | [Exports](/docs/features/exports) |
| Configure privacy settings | [Privacy Center](/docs/privacy/privacy-center) |

## Product areas

PureStats documentation is organized around the main product surfaces:

- **Getting Started** for account setup, installation and first dashboard use.
- **Installation Guides** for framework-specific tracker placement.
- **Analytics Features** for realtime, filters, campaigns, events, goals, funnels, Search Console, reports and alerts.
- **Sites & Privacy** for site settings, aliases, path exclusions, retention, bot filtering and consent behavior.
- **Account & Security** for team access, SSO, two-factor authentication and active sessions.
- **Reference** for tracker attributes, JavaScript API calls, Events API payloads and troubleshooting.

## Tracking at a glance

The required client-side script is `pf.js`:

```html
<script defer src="https://purestats.io/pf.js" data-domain="example.com"></script>
```

Place it in the `<head>` of every public page you want to measure. PureStats validates the configured domain or alias before accepting events, so random hostnames and exploit-like domain strings are rejected before they enter analytics data.

## Need operational visibility?

Site owners can use Site Health, verification states, scheduled reports and alert rules to detect tracking problems early.
