# Privatus Analytics documentation > Privacy-first, cookieless web analytics. This file contains every page > of https://privatusanalytics.com/docs as Markdown. The generated API reference is at > https://privatusanalytics.com/docs/api and the OpenAPI document at https://privatusanalytics.com/openapi.json. --- Source: https://privatusanalytics.com/docs/getting-started # Get started with Privatus Analytics > Set up cookieless web analytics in about five minutes: create an account, add a site, install the tracker, verify it works and see your first visitors. Privatus Analytics is cookieless web analytics. The tracker is one small script with no cookies, no local storage and no fingerprinting, so in most setups you don't need a consent banner for it. This section takes you from sign-up to your first goal. ## The five-minute version 1. [Create an account](/docs/getting-started/create-account). The Free plan needs no card and includes 10,000 events a month. 2. [Add a site](/docs/getting-started/add-a-site): its domain and timezone. 3. Paste the snippet into the `` of every page: ```html ``` Your site id (`pa_…`) is under **Site settings → Tracking**. It isn't a secret: it's visible in your page source, like the domain. 4. [Verify the installation](/docs/getting-started/verify-installation). The check fetches your page, looks for the script and warns about headers that block it. 5. [Create your first goal](/docs/getting-started/first-goal) and [invite your team](/docs/getting-started/invite-your-team). Using a CMS, site builder or framework? Pick your platform in the [install guides](/docs/install). ## What you get straight away - **Visitors, visits, pageviews, bounce rate and visit duration** on the [Overview](/docs/dashboard/overview). - **Sources and channels**, including a separate channel for [AI assistants](/docs/metrics/channels) such as ChatGPT and Perplexity. - **Pages, entry and exit pages, locations, devices, browsers** and **UTM campaigns**. - **Time on page and scroll depth** from the `engage` module, which is on by default. - **Real-time** visitors on the [Live](/docs/dashboard/live) page. Add [custom events](/docs/events), [goals](/docs/features/goals) and [funnels](/docs/features/funnels) when you're ready. ## How it stays private - No cookies, `localStorage`, `sessionStorage` or IndexedDB. The only exception is a flag a visitor sets themselves when they [opt out](/docs/privacy/opt-out). - The visitor's IP address and User-Agent are used in memory to work out the country, the device and a daily visit key, and are then dropped. They are never written to disk or logs. - Every visitor, including visitors from the EU, UK and Switzerland, is processed in our US region. Only the minimized event is stored. Read [how it works](/docs/privacy) for the full picture, and [how visitors are counted](/docs/metrics/how-visitors-are-counted) for the details of visits and visitors. --- Source: https://privatusanalytics.com/docs/getting-started/create-account # Create a Privatus Analytics account > Sign up for Privatus Analytics with Google, GitHub or just your email (no password needed) and create a workspace for your sites and team. ## Sign up Go to **Sign up** on the website and pick one of three options: - **Sign up with Google** or **Sign up with GitHub**: we use the verified email address of that account. - **Send me a login link**: enter your email and open the link we send you. It works once, for 15 minutes. Opening it creates your account and signs you in. Nothing is created until you open it, so a mistyped address leaves no account behind. The same "Email me a login link" option on the login page also creates an account for an email that doesn't have one yet. You can add a password, a passkey or two-factor authentication later under **Account settings → Security** (see [Two-factor authentication](/docs/teams/two-factor)). Continuing with any option confirms you are 18 or older and accepts the Terms of Service, which include our Data Processing Agreement (DPA), and the Privacy Policy. You don't need to sign anything else to use Privatus Analytics with personal data under the GDPR. See [Privacy & compliance](/docs/privacy). ## Your email is already verified Google, GitHub and the email link all prove that you own the address, so there is no separate confirmation email. ## Create a workspace A **workspace** holds your sites, members, billing and API tokens. Most people need one. Agencies often create one per client, or one workspace with per-site access for each client (see [Teams](/docs/teams)). Choose: - **Name**: shown in the workspace switcher and in emails. - **Default timezone**: new sites start with it. Each site can have its own. - **Default currency**: used to total [revenue](/docs/events/revenue). ## Next [Add your first site](/docs/getting-started/add-a-site). --- Source: https://privatusanalytics.com/docs/getting-started/add-a-site # Add a website to Privatus Analytics > Add a website to Privatus Analytics: set its domain, extra domains, timezone and currency, and find the site id for the tracking snippet. A **site** is one website you measure. Each site has its own settings, goals, sharing and data, and a public id like `pa_7Q2K9XH3AB` that goes in the tracking snippet. ## Fields | Field | What it does | |---|---| | Domain | The main hostname, e.g. `example.com`. Hits from other hostnames are dropped unless you add them as extra domains. Subdomains (`www.`, `shop.`) of a listed domain are accepted. | | Name | A display name. Defaults to the domain. | | Timezone | Where "today" starts and ends in reports. Stored data is UTC. The timezone is applied when you query, so you can change it later. | | Currency | The currency revenue is converted to. | ## Several domains Under **Site settings → General** you can add extra domains, for example a separate checkout domain or a docs site. Choose whether they're **combined** (one visit can cross them) or **separate** (the hostname is part of the visit key, so the same visitor on two domains is two visits). The [cross-domain troubleshooting page](/docs/troubleshooting/cross-domain) explains the trade-offs. ## Plan limits The Free plan includes 10 sites. Paid plans have no site limit. All sites share the workspace's monthly event allowance. ## Next [Install the tracker](/docs/install) on your site, then [verify the installation](/docs/getting-started/verify-installation). --- Source: https://privatusanalytics.com/docs/getting-started/verify-installation # Verify your analytics installation > Check that the Privatus Analytics tracker is installed and hits are arriving, with the automatic check, the Live page or your browser's network tab. ## Automatic check Open **Site settings → Tracking** and click **Verify installation**. We fetch your homepage (or a URL you enter on the same domain) and report: - whether a ` ``` - Replace `pa_YOURSITEID` with your site id from **Site settings → Tracking**. The snippet generator on that page builds the tag for you, including any options you switch on. - `defer` loads the script without blocking your page. The core script is a few kilobytes and sets no cookies. - Add options as `data-` attributes. The most common: | You want to… | Add | |---|---| | Track outbound links, downloads, forms and 404s automatically | `data-modules="engage,auto"` | | Measure Web Vitals | `data-modules="engage,vitals"` | | Track a hash-routed single-page app | `data-spa="hash"` | | Send pageviews yourself | `data-manual="true"` | | Skip admin pages | `data-exclude="/admin/*"` | The full list is in the [attribute reference](/docs/tracker/attributes). > **Warning:** Setting `data-modules` replaces the default list. The > `engage` module (time on page and scroll depth) is on only when you leave > `data-modules` out or include `engage` in it. ## Choose your platform **Websites and site builders:** [HTML](/docs/install/html) · [WordPress](/docs/install/wordpress) · [Shopify](/docs/install/shopify) · [Webflow](/docs/install/webflow) · [Squarespace](/docs/install/squarespace) · [Wix](/docs/install/wix) · [Framer](/docs/install/framer) · [Ghost](/docs/install/ghost) **Tag managers:** [Google Tag Manager](/docs/install/google-tag-manager) · [Cloudflare Zaraz](/docs/install/cloudflare-zaraz) **Frameworks:** [Next.js](/docs/install/nextjs) · [Nuxt](/docs/install/nuxt) · [React](/docs/install/react) · [Vue](/docs/install/vue) · [SvelteKit](/docs/install/sveltekit) · [Astro](/docs/install/astro) · [Remix](/docs/install/remix) · [Angular](/docs/install/angular) **Static site generators:** [Hugo](/docs/install/hugo) · [Jekyll](/docs/install/jekyll) · [Eleventy](/docs/install/eleventy) · [Docusaurus](/docs/install/docusaurus) **Other:** [AMP](/docs/install/amp) · [No-JavaScript pixel](/docs/install/pixel) · [Electron and browser extensions](/docs/install/electron-and-extensions) · [Server-side](/docs/server-side) ## After installing [Verify the installation](/docs/getting-started/verify-installation). If nothing arrives, work through [No data](/docs/troubleshooting/no-data). --- Source: https://privatusanalytics.com/docs/install/html # Add the analytics script to an HTML site > Add privacy-friendly analytics to a hand-written or server-rendered HTML site with one script tag, turn on engagement and auto events, and track custom events. Paste the snippet just before `` on every page. With a shared layout or header template you only need to do this once. ```html My site … ``` ## Recommended options ```html ``` - `engage` measures time on page and scroll depth. - `auto` tracks outbound links, file downloads, `mailto:`/`tel:` links, form submissions and 404 pages as events. See [Modules](/docs/tracker/modules). ## Track events in your own code Add the [queue stub](/docs/tracker/javascript-api#queue-stub) before the tracker if you call the API early (for example in inline scripts that run before `pa.js` has loaded): ```html ``` Then anywhere on the page: ```js privatus.track('Newsletter signup', { list: 'weekly' }) ``` Or with no JavaScript at all: ```html ``` ## No JavaScript? Add the [pixel](/docs/install/pixel) inside a `