Skip to main content

Quick start

This guide gets a new site from zero to a verified PureStats dashboard.

1. Create or sign in to your account

Use email, Google SSO or GitHub SSO. Email accounts must confirm their email address before they can sign in. After the first login, open the Analytics area and add your first website.

2. Add your site

Enter the canonical domain, for example example.com. Do not include https://, paths, query strings or fragments. PureStats automatically adds the matching www. or non-www. hostname when available. Add app, docs, checkout or other product hostnames later as site aliases.

PureStats rejects invalid hostnames and stores only domains that can belong to a real website. This keeps exploit payloads and spam hostnames out of the sites list.

3. Install the tracker

Add the script to every page you want to track:

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

Use the canonical domain from your PureStats site settings. When aliases are configured, the tracker may run on any allowed domain, but data-domain should still identify the canonical site.

4. Verify the installation

Open your website in a browser, then go to the site setup or Site Health view in PureStats. Verification checks three separate states:

  • The script tag is present on the page.
  • The script file loads successfully.
  • PureStats receives the first pageview hit.

5. Read the dashboard

After the first hit, open the analytics dashboard and choose a period such as Today, This Week or This Month. The cards show current visitors, visitors, pageviews and views per visit with period-to-date comparison where applicable.

tip

If you installed the tracker but still see no data, open Troubleshooting. The most common causes are a wrong data-domain, an unconfigured non-www alias, CSP blocking the script, or an excluded path.