# AnalyticsX documentation > AnalyticsX is revenue-attributed web analytics: install one script, connect Stripe, and see which traffic sources, campaigns and landing pages bring paying customers. Index: https://supametrics.io/llms.txt --- # What is AnalyticsX > What AnalyticsX does, how it links visitors to the payments they make, a tour of the main screens and the plans at a glance. Source: https://supametrics.io/docs/introduction AnalyticsX is web analytics that shows which traffic sources, pages and campaigns make you money, not only which ones bring visitors. You add one small script to your website and connect Stripe; AnalyticsX then credits every payment to the visit that brought the buyer. The app lives at https://app.supametrics.io. If you're ready to set it up, go to the [Quick start](https://supametrics.io/docs/quick-start). ## The core idea Most analytics tools stop at the visit. AnalyticsX follows the visitor through to the payment: 1. **Visitor.** The tracking script gives each browser a random visitor ID, kept in a first-party cookie on your domain. See [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works). 2. **Source.** Each visit records where it came from: the referring site, UTM tags or a `?ref=` tag, grouped into channels such as Organic Search, Organic Social, AI, Email and Paid. 3. **Payment.** When the visitor buys, your checkout passes their visitor ID to Stripe. Stripe sends the payment to AnalyticsX, which credits it to that visitor's most recent visit from a non-direct source in the 30 days before the payment. If they only ever came direct, it counts as Direct; without a known visitor ID it is Unattributed. The result is revenue per source, page, country and campaign, next to the usual visitors and pageviews. See [Revenue and attribution](https://supametrics.io/docs/revenue). ## A tour of the app The rail on the left holds the screens for the website you have selected. The website switcher at the top changes websites. - **All websites**: every website in your account with its recent numbers. See [Websites and workspaces](https://supametrics.io/docs/websites). - **Dashboard**: visitors, revenue and conversions over time, with breakdowns by source, page, location and device. See [The site dashboard](https://supametrics.io/docs/dashboard), [Date ranges, filters, segments and notes](https://supametrics.io/docs/filters-and-date-ranges) and [Sources, pages, locations and devices](https://supametrics.io/docs/breakdowns). - **Real-time map**: who is on your site right now and what they are doing. See [Real-time and the live map](https://supametrics.io/docs/realtime). - **Insights**: patterns found in your data, such as when visitors convert. See [Insights](https://supametrics.io/docs/insights). - **Details**: full-page reports for **Traffic**, **Goals** and **Revenue**. See [Details pages](https://supametrics.io/docs/details-pages). - **Alerts**: emails when a goal completes or a payment arrives. See [Email reports and alerts](https://supametrics.io/docs/reports-and-alerts). - **Site settings**: domain, install snippet, Stripe connection, team, exclusions, sharing and more. See [Site settings overview](https://supametrics.io/docs/site-settings). - **API & MCP**: access tokens for the REST API and for AI assistants. See [REST API and access tokens](https://supametrics.io/docs/rest-api) and [Connect AI assistants (MCP)](https://supametrics.io/docs/mcp). - **Billing**: your plan, event usage and invoices. See [Plans, billing and event limits](https://supametrics.io/docs/billing). Other screens open from these: - **Goals** (`/goals`): the conversions you track. See [Goals](https://supametrics.io/docs/goals) and [Journeys and funnels](https://supametrics.io/docs/journeys-and-funnels). - **Revenue** (`/revenue`): payments, attribution and subscription metrics. See [Revenue and attribution](https://supametrics.io/docs/revenue) and [Subscription metrics](https://supametrics.io/docs/subscription-metrics). - **Visitors** (`/visitors`): individual visitors, their visits and payments. See [Visitors and visitor profiles](https://supametrics.io/docs/visitors). AnalyticsX also shows crawlers and AI bots that request your pages when your server forwards them. See [Bots and AI crawlers](https://supametrics.io/docs/bot-tracking). ## Payment providers Stripe works today: Checkout, Payment Links, the Payment Element and subscriptions, with refunds taken off revenue. See [Connect Stripe](https://supametrics.io/docs/connect-stripe). Polar, LemonSqueezy, Paddle, DodoPayments, Shopify and WooCommerce are coming soon and are not available yet. ## Plans at a glance Every new account starts with a 14-day free trial that includes 50,000 events and needs no card. After that you pick a plan: | | Starter | Growth | |---|---|---| | Websites | 1 | 30 | | Team members besides you | 1 | 30 | | Monthly events and price | 10,000 for $9, 100,000 for $19, 250,000 for $29 | 1,000,000 for $49, 2,000,000 for $79, 5,000,000 for $199 | | Data retention | 13 months | 25 months | When packages are on sale, the homepage lists them instead, each with its monthly or yearly price, the events and bot requests that reset every month, and the websites, team members, data retention and event credits that never reset. Extra capacity can be bought once as add-ons. See [Packages and prices](https://supametrics.io/docs/billing#packages-and-prices). Every plan includes revenue attribution, goals, funnels and journeys, real-time, Insights, the API and MCP. Paying yearly costs 10 months for 12. Pageviews, goal completions and payments count as events; exit-link clicks and bots don't. Full details are in [Plans, billing and event limits](https://supametrics.io/docs/billing). ## Privacy The script sets first-party cookies only, removes personal fields such as `?email=` from URLs before sending them, never stores IP addresses, and can wait for cookie consent. Names and emails are stored only if you send them. See [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works) and [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data). ## Next steps - [Quick start](https://supametrics.io/docs/quick-start): from sign-up to your first attributed payment. - [Install and verify the script](https://supametrics.io/docs/install-the-script). - [Frequently asked questions](https://supametrics.io/docs/faq). --- # Quick start > The steps from creating an account to your first tracked visit, goal and attributed payment, each linked to its detailed guide. Source: https://supametrics.io/docs/quick-start This guide takes you from a new account to a working setup in about fifteen minutes. Each step links to a page with the full details. Steps 1 to 4 are required; the rest add conversions, revenue and your team. ## 1. Create your account Go to https://app.supametrics.io/sign-up and fill in **Name**, **Email** and **Password** (at least 8 characters), then click **Create account**. If Google sign-in is offered on the page, you can use that instead. Your 14-day free trial starts now. It includes 50,000 events and needs no card. See [Account and sign-in](https://supametrics.io/docs/account) and [Plans, billing and event limits](https://supametrics.io/docs/billing). ## 2. Add your website The **Add your website** screen opens next. Enter: - **Domain**, such as `example.com`. Subdomains are included automatically. - **Name (optional)**, a nickname for the website. - **Currency**, the one your Stripe prices are in. - **Timezone**, which decides where each day starts on the charts. Click **Continue**. Details: [Add your website](https://supametrics.io/docs/install-the-script#add-your-website). ## 3. Install the script The **Setup** screen shows your snippet. Click **Copy snippet** and paste it inside `` on every page of your site: ```html ``` The **Install method** tabs show the same thing for **Next.js**, bundled apps (**npm**) and **WordPress**. If your site uses a cookie banner, tick **Wait for cookie consent** first. Then deploy your site. Details: [Install and verify the script](https://supametrics.io/docs/install-the-script). ## 4. Verify the first visit Keep the **Setup** screen open and visit your live site in another tab. Within a few seconds the status changes from **Waiting** to **Verified**, with the time and page of the first visit. From then on the app opens on your dashboard. If it stays on **Waiting**, see [The install check stays on "Waiting"](https://supametrics.io/docs/troubleshooting#the-install-check-stays-on-waiting). While you're there, exclude your own visits: open your site once with `?ax_ignore=true` at the end of the address in each browser you use. See [Exclusions](https://supametrics.io/docs/exclusions). ## 5. Create a goal A goal is a conversion you care about, such as a signup. Open **Goals** (`/goals`) and click **New goal**. Pick one of three types: - **URL path**: completes when a visitor views a page, such as `/thank-you`. - **Element click**: completes when a visitor clicks an element matching a CSS selector. - **JavaScript event**: completes when your code calls `window.analyticsx?.('track', 'signup')`. Goals count visits from the moment you create them. Details: [Goals](https://supametrics.io/docs/goals). ## 6. Connect Stripe Open **Site settings › Revenue**. The **Stripe** section walks you through five steps and ticks each one off: 1. **Pick your payment provider** (Stripe). 2. **Pass the visitor ID into the payment**: read `window.analyticsx?.('visitorId')` in the browser and put it in the Checkout Session's metadata as `ax_visitor_id`. 3. **Add a webhook endpoint in Stripe** with the events the screen lists. 4. **Paste the signing secret** from that endpoint. 5. **Send a test** payment. Set it up in Stripe test mode first, then repeat for live mode. Details: [Connect Stripe](https://supametrics.io/docs/connect-stripe) and [Revenue and attribution](https://supametrics.io/docs/revenue). ## 7. Invite your team Owners can open **Site settings › Team**, enter a colleague's email, pick **Viewer** or **Member**, and click **Invite**. AnalyticsX emails them a link; they join by signing in, or creating an account, with that address. Starter includes one team member besides you, Growth 30. Details: [Team members and roles](https://supametrics.io/docs/team-and-roles). ## What's next - Learn the [dashboard](https://supametrics.io/docs/dashboard) and its [filters and date ranges](https://supametrics.io/docs/filters-and-date-ranges). - Get emails when goals complete or payments arrive: [Email reports and alerts](https://supametrics.io/docs/reports-and-alerts). - Link signed-in users to their visits with `identify`: [Identify signed-in users](https://supametrics.io/docs/install-the-script#identify-signed-in-users). - Connect an AI assistant to ask questions about your data: [Connect AI assistants (MCP)](https://supametrics.io/docs/mcp). - Pick a plan before the trial ends: [Plans, billing and event limits](https://supametrics.io/docs/billing). --- # Install and verify the script > Add your website, put the tracking script on every page, confirm the first visit and set the script's options. Source: https://supametrics.io/docs/install-the-script AnalyticsX counts visitors with one small script (about 5 KB gzipped) on your website. It uses first-party cookies on your own domain and loads with `defer`, so it never holds up your page. This page covers adding a website, installing the script on common platforms, confirming that it works and the options you can add to the script tag. ## Add your website After you create your account, the **Add your website** screen asks for: - **Domain**: for example `example.com`. Subdomains (`www.example.com`, `app.example.com`) are included automatically; visits from any other domain are rejected. You can paste a full address; it is reduced to the domain. - **Name (optional)**: a nickname shown in the website switcher, such as `My product`. - **Currency**: the currency your Stripe prices are in. Revenue is reported in this currency only; payments in other currencies are listed but not added up. - **Timezone**: decides where each day starts on the charts. It defaults to your browser's timezone. Click **Continue**. The steps at the top of the screen (**Add website**, **Install script**, **First visit**) show where you are. You can change these later in **Site settings › General** (domain, additional domains and timezone, next to the install snippet and the installation status) and **Site settings › Revenue** (currency, next to the Stripe connection). After a domain change, visits from the old domain are rejected. After a currency change, only payments in the new currency count, including past ones. To add another website later, see [Websites and workspaces](https://supametrics.io/docs/websites). ## Copy the snippet Until the first visit arrives, the app opens on the **Setup** screen (`/setup`). Once the website is verified, `/setup` takes you to **Site settings › General**, which shows the same snippet. Copy it with **Copy snippet**. It looks like this, with your own site ID: ```html ``` Put it inside `` on every page. If your site still loads the script from `app.analyticsx.io`, our previous address, it keeps working and nothing is lost: events sent there are recorded as before. Switch to `app.supametrics.io` when convenient. The site ID is also shown as **Public site ID** under the domain in **Site settings › General**. It is not a secret: it appears in your page source, and the server only accepts data for it from your own domains. Above the snippet, **Install method** switches between **Script**, **Next.js**, **npm**, **WordPress** and **Shopify**. Two checkboxes change the snippet: - **Wait for cookie consent** adds `data-consent="required"`. See [Cookie consent](#cookie-consent). - **Cookieless / privacy mode** is marked **Soon**. It is not available yet and can't be ticked. Single-page apps (Next.js, React Router, Vue, Svelte) are tracked automatically: every route change counts as a pageview. ### Plain HTML Paste the line before `` in your site template (or in every HTML file). The same applies to any site builder or CMS that lets you add code to the page head. ### Next.js (App Router) ```tsx // app/layout.tsx import Script from 'next/script'; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( ``` Your proxy must: - Forward the request body unchanged (`POST`, sent as `text/plain`). - Forward the visitor's `User-Agent` header. Requests without one are treated as bots and dropped. - Put the visitor's IP address first in `X-Forwarded-For`. It is used for rate limits and IP exclusions, and is never stored. Behind a proxy, the country comes from the proxy's location, unless the request carries an `x-vercel-ip-country` header (Vercel adds it), in which case only the country is recorded, not the region or city. When your `data-api` address ends in `/event`, click goals load through the same proxy, from the address with `/event` replaced by `/config/` (for example `https://example.com/your-path/config/YOUR_SITE_ID`). Forward that `GET` to `https://app.supametrics.io/api/config/`. If your proxy doesn't answer it, or your `data-api` address doesn't end in `/event`, they load from the address the script itself came from. ### Identify signed-in users When someone signs up or logs in to your app, tell AnalyticsX who they are: ```js window.analyticsx?.('identify', { id: user.id, email: user.email, name: user.name }); ``` All three fields are optional; send what you have. Later calls fill in missing fields without clearing earlier ones. The person's name or email then shows on the **Visitors** screen, and you can search by it. Call it on every login so each browser the person uses is linked to them. See [Visitors and visitor profiles](https://supametrics.io/docs/visitors). This is personal data. Mention it in your privacy policy, and with `data-consent="required"` it is only sent after consent. ### Erase a person (deletion requests) On the **Visitors** screen, **Erase a person** finds someone by email, user ID or visitor ID across all time and deletes their visits, goals and identity from every browser they were identified on. Their payments stay in your revenue, without the link to them. This can't be undone. See [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data). ### Exclude your own visits Open your site once with `?ax_ignore=true` at the end of the address (**Site settings › Exclusions** has an **Exclude this browser** button for this). That browser is never counted again. Do it in each browser you use; undo with `?ax_ignore=false`. The same tab also excludes traffic by IP address, path, hostname or country; see [Exclusions](https://supametrics.io/docs/exclusions). ### Installed before the rename Sites that use the DataFaster snippet (`/js/df.js`, `window.datafaster`) keep working unchanged: same script, same visitors, same goals. Switch to the snippet above whenever convenient. ## What is collected Per visit: pages viewed, the referring site, UTM tags (`utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`) or `?ref=`, country (from the network, not GPS), device, browser and OS, and the screen size (width and height in pixels, shown next to the device in the visitor drawer). Clicks on links to other websites are recorded as **exit links** (Details › Pages › Exit links): only the link's address without its query string, and the page it was clicked on. They don't count toward your plan's events. Personal fields in URLs such as `?email=` or `?token=` are removed in the browser before anything is sent. Bots and automated browsers are ignored. Names and emails are stored only if you send them with `identify`. Traffic from AI assistants (ChatGPT, Claude, Perplexity, Gemini, Copilot and others) is grouped as its own **AI** channel. The full list of fields, cookies and rules is in [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works). To record conversions, continue with [Goals](https://supametrics.io/docs/goals); to credit revenue, [Connect Stripe](https://supametrics.io/docs/connect-stripe). --- # What AnalyticsX collects > What the tracking script sends, what is stored, the cookies it sets, how visitors, sessions and traffic sources are worked out, and how bots are filtered. Source: https://supametrics.io/docs/how-tracking-works This page describes exactly what the AnalyticsX script (`ax.js`) does in your visitors' browsers and what the server keeps. Use it to answer privacy questions, fill in your privacy policy and understand why the numbers look the way they do. ## What the script does When a page loads, the script: 1. Stops right away if any of these is true: the tag has no `data-site`, the browser was excluded with `?ax_ignore=true`, the browser is driven by automation software (`navigator.webdriver`, as in Playwright, Puppeteer or Selenium), or the page is on a local host (`localhost`, `127.x.x.x`, `0.0.0.0`, `[::1]`, `*.local`, or a `file:` page) without `data-allow-localhost`. 2. With `data-consent="required"`, waits until `analyticsx('consent', true)` is called before doing anything else. 3. Reads or creates the visitor and session cookies, sends a pageview, and loads your click goals. After that it sends: - A **pageview** on every page load and every single-page-app route change (`history.pushState`, `replaceState` and the back and forward buttons). A route change to the same path and query string as the current page is not counted again. - A **click** when a visitor clicks an element that matches one of your [click goals](https://supametrics.io/docs/goals). - An **event** when your code calls `analyticsx('track', 'name')`. - An **identify** when your code calls `analyticsx('identify', { ... })`. - An **exit** when a visitor clicks (or middle-clicks) an `http` or `https` link to another website. Links to your own domain and its subdomains are not exits. Requests go to `https://app.supametrics.io/api/event` (or your `data-api` address) as a small `POST` without cookies (`credentials: 'omit'`). Clicks, events, identify calls and exits use `sendBeacon` when the browser supports it, so they arrive even when the click leaves the page. ## What each request contains | Field | Contents | |---|---| | Site ID | Your public site ID from `data-site`. | | Type | `pageview`, `click`, `event`, `identify` or `exit`. | | Page URL | The current address, with personal query parameters removed (see below). | | Referrer | The referring page, on the first pageview of a page load only. | | Visitor ID and session ID | Random IDs from the cookies described below. | | Screen size | Screen width and height in pixels. | | Event ID | A random ID, so a retried request is stored only once. | | Goal ID | For clicks: which click goal matched. | | Event name | For `track`: the name, up to 64 characters. | | Link | For exits: the link's origin and path, without query string, up to 1,000 characters. | | User ID, email, name | For `identify` only, and only what your code passes (128 characters each, 254 for the email). | The server also sees the request's `User-Agent` header and IP address, and Cloudflare adds the visitor's approximate location. ### Personal data removed from URLs Before anything is sent, the script deletes these query parameters from the page URL (any letter case): `email`, `e-mail`, `name`, `phone`, `password`, `pass`, `token`, `access_token`, `id_token`, `auth`, `code`, `secret`, `key`, `api_key`, `license_key` and `license`. A thank-you page at `/welcome?email=ana@example.com` is sent as `/welcome`. ## What is stored AnalyticsX keeps one record per **session** (visit) and one per **pageview** or **goal completion**. For each session: - The hostname, the entry page and the exit page. - The referrer's host and path (without query string), when it is another website. - The source and channel worked out from it (see [Sources and channels](#sources-and-channels)). - UTM tags from the landing URL: `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`, and `ref` (or `via`). - Country, region and city. - Browser, operating system and device type. - Screen width and height. - Pageview and goal counts, start time and last activity. For each pageview: the time and the page **path**. The query string is not stored; `/pricing?plan=pro` is recorded as `/pricing`. Paths are stored decoded, without a trailing slash (`/blog/` becomes `/blog`), and up to 500 characters. Clicks and custom events are stored only when they complete a goal. A custom event name that matches no goal is remembered by name only, so the **Goals** screen can offer to turn it into a goal. Exit links are stored as the link's host (without `www.`) and path, plus the page it was clicked on. Identify calls store the user ID, email (lowercased) and name against the visitor ID. A later call fills in fields that are missing and never clears earlier ones. ### What is not stored - **IP addresses.** The IP is used for rate limiting and for your IP [exclusions](https://supametrics.io/docs/exclusions), then discarded. - **Full user agents.** Only the browser name, OS name and device type derived from it. - **Query strings** of pages and exit links (UTM tags and `ref` are read from the landing URL first). - **Names, emails or user IDs**, unless you send them with `identify`. - **Precise location.** Location comes from the network, never from GPS. ## Cookies and browser storage All cookies are first-party: they are set by the script on your own domain, not on an AnalyticsX domain. | Name | Kind | Lifetime | Purpose | |---|---|---|---| | `ax_vid` | Cookie | 1 year, renewed on every request | Random visitor ID. | | `ax_sid` | Cookie | 30 minutes, renewed on every request | Random session ID. | | `ax_t` | Cookie | Removed immediately | Test cookie used once per page load to find your root domain, just before the visitor cookie is first written (so never before consent). Not set when the tag has `data-domain`. | | `ax_ignore` | localStorage | Until `?ax_ignore=false` | Marks a browser you excluded with `?ax_ignore=true`. | | `ax_consent` | localStorage | Until consent is withdrawn | Remembers consent given through `analyticsx('consent', true)`. | | `ax_goals_` | sessionStorage | 1 minute cache, cleared with the tab | Your click goal selectors. | Cookies use `SameSite=Lax`, `path=/`, and `Secure` on `https` pages. The script tries the shortest domain the browser accepts a cookie on (for example `example.com` for a page on `app.example.com`), so all your subdomains share one visitor. If that picks the wrong domain, set it with `data-domain="example.com"`. With `data-consent="required"`, the script sets no cookie at all, not even the `ax_t` test cookie, until consent is given. Withdrawing consent (`analyticsx('consent', false)`) deletes the visitor and session cookies. Sites installed under the old name used `df_vid` and `df_sid`. The script moves them to `ax_vid` and `ax_sid` on the first visit and deletes the old ones, so returning visitors keep their ID. Cookieless tracking is not available yet; it shows as **Cookieless / privacy mode** with a **Soon** tag on the install screen. ## Visitors and sessions - A **visitor** is one browser on your domain, identified by the `ax_vid` cookie. The same person on another device or browser, after clearing cookies, or on a domain that doesn't share the cookie (an additional domain rather than a subdomain) counts as a new visitor. Calling `identify` in each browser the person signs in on links each of those browsers to them (see [Visitors and visitor profiles](https://supametrics.io/docs/visitors)). - A **session** (visit) is identified by the `ax_sid` cookie. It ends after 30 minutes without any request from that browser; the next pageview starts a new session. There is no cut-off at midnight. - A session's source, landing page, location and device are decided when it starts. Tagged links opened later in the same session don't change its source. ## Sources and channels Each session gets a **source** and one of seven **channels**: **Direct**, **Organic Search**, **Organic Social**, **AI**, **Referral**, **Email** and **Paid**. ### Source 1. A tag in the landing URL wins over the referrer: `utm_source`, otherwise `ref` (or `via`). 2. If the tag or the referrer matches a known source, the source is its name (for example `t.co`, `x.com` or `?ref=x` all become **X**). 3. Otherwise the source is the tag as written, or else the referrer's domain without `www.`. 4. With neither, the source is **Direct / None**. Referrers from your own domain, its subdomains and your additional domains are navigation within your site and are ignored. Links opened from Android apps (`android-app://...`) use the app's package name as the referrer. Known sources include Google, Bing, DuckDuckGo, Yahoo, Yandex, Baidu, Ecosia and Brave Search (Organic Search); ChatGPT, Claude, Perplexity, Gemini, Copilot, DeepSeek and Grok (AI); X, YouTube, LinkedIn, Reddit, Facebook, Instagram, Threads, TikTok, Pinterest, Bluesky, Mastodon and Hacker News (Organic Social); Product Hunt, Medium, Substack, Dev.to, Indie Hackers and GitHub (Referral); and Gmail, Outlook and `newsletter`, `email` or `mail` tags (Email). Matching ignores letter case. ### Channel The first rule that applies decides the channel: | Rule | Channel | |---|---| | `utm_medium` is `cpc`, `ppc`, `cpm`, `paid`, `paid_social`, `paidsearch`, `ad`, `ads`, `display`, `retargeting` or `sponsored` | Paid | | `utm_medium` is `email`, `e-mail` or `newsletter` | Email | | The source is a known source | That source's channel | | `utm_medium` is `social`, `social_media` or `sm` | Organic Social | | Any other tag or referrer | Referral | | Nothing | Direct | Some apps (X, LinkedIn, many email clients) hide the referrer, so their visits arrive as Direct. Tag the links you share, for example `?utm_source=x&utm_campaign=launch` or `?ref=launch`. For how sources are used to credit payments, see [Revenue and attribution](https://supametrics.io/docs/revenue). ## Devices, browsers and locations - **Device** is **Desktop**, **Mobile** or **Tablet**, from the user agent: iPads, tablets and Android devices without "Mobile" are tablets; phones are mobile. A "desktop" browser reporting a screen narrower than 600 pixels is counted as mobile. - **Browser** is recognised for the common browsers (Chrome, Safari, Mobile Safari, Firefox, Edge, Opera, Samsung Internet, Brave, Arc, Vivaldi, Yandex, DuckDuckGo) and for in-app browsers (Instagram, Facebook, Twitter, LinkedIn, Threads, TikTok, Chrome WebView). Anything else is **Other**. - **Operating system** is iOS, iPadOS, Android, Windows, Chrome OS, Mac OS, Linux or Other. - **Location** (country, region, city) comes from Cloudflare's lookup of the request's network address. Behind your own proxy, see [Serve the script from your domain](https://supametrics.io/docs/install-the-script#serve-the-script-from-your-domain). ## Bots and automated traffic Bots never count as visitors, pageviews or events: - The script does nothing in browsers controlled by automation tools (`navigator.webdriver`). - The server drops requests with no user agent, and user agents of crawlers, link previewers, monitoring and testing tools and HTTP libraries: for example Googlebot and other `bot`, `crawl` or `spider` agents, GPTBot, ClaudeBot, ChatGPT-User, Perplexity, Bytespider, Ahrefs, Semrush, facebookexternalhit, WhatsApp, Telegram, Discord, Lighthouse, Pingdom, uptime monitors, headless browsers, Puppeteer, Playwright, Selenium, curl, wget, Python, axios, node-fetch, Go, Java and okhttp clients. Dropped requests are answered as accepted, so nothing retries them. Crawlers that don't run JavaScript never reach the script at all; to see them, forward their requests as described in [Bots and AI crawlers](https://supametrics.io/docs/bot-tracking). ## What the server rejects The event endpoint accepts data only for your site's domain, its subdomains and your additional domains (or any domain with **Allow all domains** on). Requests from other domains are refused, so nobody can add data to your stats by copying your snippet. It also refuses malformed requests, bodies over 8 KB and unknown site IDs, and rate-limits floods from one address. Events matching your [exclusions](https://supametrics.io/docs/exclusions) are accepted but never stored. The response codes are listed in [Troubleshooting](https://supametrics.io/docs/troubleshooting#check-the-network-request). ## Data retention Each plan keeps your full-detail history for a set time: 13 months on Starter and 25 months on Growth. Older data is deleted automatically; see [Automatic deletion of old data](https://supametrics.io/docs/privacy-and-data#automatic-deletion-of-old-data) and [Plans, billing and event limits](https://supametrics.io/docs/billing). To delete one person's data or a whole website, see [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data). ## What counts toward your plan Pageviews, goal completions and payments count as events. Exit-link clicks, custom events and clicks that complete no goal, identify calls, bots and excluded traffic don't. Details are in [Plans, billing and event limits](https://supametrics.io/docs/billing). --- # The site dashboard > A tour of the dashboard for one website, covering the key figures, the main chart, the breakdown cards, the Goals card and the Bot traffic card. Source: https://supametrics.io/docs/dashboard The dashboard is the main screen for one website. It shows how many people visited, where they came from, what they did and how much revenue they brought, all for the period you pick. Open it from **Dashboard** in the left rail, or go to `https://app.supametrics.io/dashboard`. To switch websites, use the website switcher at the top of the rail. Everyone on the website can open the dashboard: the owner, members and viewers. Viewers can read everything but can't add notes, save segments or change goals and bot settings. See [Team members and roles](https://supametrics.io/docs/team-and-roles). ## Before the first event Until the tracking script has sent its first event, the dashboard shows **Waiting for your first event…** and an **Install the script** button. Install the snippet, open your site in a new tab, and the dashboard fills in. See [Install and verify the script](https://supametrics.io/docs/install-the-script). ## The header - The website's icon, the label **Website** and its domain. - **Share** opens the sharing options for the website (a public dashboard link). See [Share your dashboard](https://supametrics.io/docs/sharing). - **Settings** opens Site settings. See [Site settings overview](https://supametrics.io/docs/site-settings). ## The toolbar Under the header is the report toolbar, which every analytics screen shares: - **Previous period** and **Next period** arrows step the range back or forward by its own length. Next is disabled when the range already ends now. - The period button (for example **Last 30 days**) opens the period menu. - **Compare** adds the previous period to the figures and the chart. When it's on, the button reads, for example, **vs Sep 18 – Oct 18**; click it to turn compare off. - The granularity menu (**Hourly**, **Daily**, **Weekly**, **Monthly**) sets the size of each chart bucket. - The filter button opens the filter menu: saved segments, every filterable dimension and suggested filters. - **Refresh** reloads every number on the page. - At the right, **Updated … · time zone** says how fresh the numbers are and which time zone they use (the website's time zone). All of this, including filters, segments and notes, is explained in [Date ranges, filters, segments and notes](https://supametrics.io/docs/filters-and-date-ranges). When filters are active, a **Filtered by** row appears under the toolbar with one chip per filter, **Save as segment** and **Clear all**. ## Key figures The top of the main card is a row of key figures for the period: | Figure | What it shows | | --- | --- | | **Visitors** | Unique visitors | | **Revenue** | Revenue in the website's currency, net of refunds when you subtract them | | **Conversion rate** | Paying visitors as a share of visitors | | **Revenue/visitor** | Revenue divided by visitors | | **Bounce rate** | Share of visits with at most one pageview | | **Session time** | Average visit length | | **Online** | Visitors active in the last 5 minutes | Exact definitions are in the [Metrics glossary](https://supametrics.io/docs/metrics-glossary). Under each figure is the change against the previous period, with an arrow. Green means better and red means worse; for **Bounce rate** a drop is green. The change reads **–** when the previous period has nothing to compare with. With **Compare** on, each figure also shows the previous period's value under it. Revenue figures (**Revenue**, **Conversion rate**, **Revenue/visitor**) read **–** until Stripe is connected or revenue arrives. See [Connect Stripe](https://supametrics.io/docs/connect-stripe). Hover or focus **Revenue** to see how it splits: **Renewal** and **New**, and when the period has refunds, **Refunds** and **Net** (New + Renewal − Refunds). **Online** has a **Watch on the globe →** link to the real-time map. See [Real-time and the live map](https://supametrics.io/docs/realtime). ### Clicking a figure Each figure is a button that changes the main chart: - **Visitors** and **Revenue** show the combined chart (visitors as a line, revenue as bars). - Click **Visitors** again to split visitors into **New visitors** and **Returning**. Click it once more to go back. - **Conversion rate**, **Revenue/visitor**, **Bounce rate** and **Session time** each draw their own line. Click the same figure again to go back to the combined chart. The selected figure is underlined, and the other figures fade while a single metric is on the chart. ### When your #1 KPI is a goal If **Site settings › General › #1 KPI** is set to a goal (or you starred a goal with **Set as KPI** on the Goals card), that goal's completions replace **Revenue** in the key figures, and the chart's bars show its completions instead of revenue. See [General settings](https://supametrics.io/docs/settings-general). ## The main chart The combined chart draws visitors as a line with a soft area (left axis) and revenue as stacked bars (right axis): **Revenue · New** and **Renewal**. The bars stay below the visitor line so both stay readable. Without Stripe and without revenue, only the visitor line shows. The colours of revenue and goal bars follow **Site settings › General › Colour scheme**. - Hover a point for the tooltip: visitors with a new/returning split, and when the bucket has revenue, its revenue split, revenue per visitor and conversion rate. With compare on, the previous period's value is included. - With compare on, the previous period is drawn as a dashed line, lined up by calendar position (today at 00:00 over yesterday at 00:00). - On a daily chart, click a day to drill into it: the period changes to that single day, shown hourly. - On a daily chart, hovering a day shows a dashed guide, how long ago the day was (for example "3 days ago"), and a small note button above the point that opens that day's notes. Owners and members see the note button; viewers don't. - Days with notes get a marker at the top of the chart, unless **Show notes on chart** is off. - The **Notes** button on the legend row lists this period's notes and lets you add one. See [Notes](https://supametrics.io/docs/filters-and-date-ranges#notes). The split chart (**New visitors** and **Returning**) also draws dots along the top, sized by each bucket's pageviews. Its tooltip shows pageviews, pages per visitor, unique visitors split into new and returning, and the returning rate. When **Revenue** is selected and the period has no revenue, the chart says **No revenue in this period**, with a **Connect Stripe** link if Stripe isn't connected. If some revenue in the period couldn't be credited to a visit, a line under the chart says how much: "Breakdowns show attributed revenue. $X of $Y has no visit to credit and appears as Unattributed." See [Revenue and attribution](https://supametrics.io/docs/revenue). ### The Now period With the period set to **Now**, the main chart is replaced by a live chart: new and returning visitors per minute over the last 30 minutes, refreshed every minute. Its legend shows the counts, for example **New visitors (5)** and **Returning (2)**. **Conversion rate** and **Revenue/visitor** read **–** in this period, since half an hour rarely has enough orders to make a rate worth reading. Changes compare with the 30 minutes before. ## Breakdown cards Four cards break the period down by one dimension each. Every card has tabs, a **Visitors** / **Revenue** toggle, the top rows, and a **Details page** link at the bottom. | Card | Tabs | | --- | --- | | **Sources** | Channel, Referrer, Campaign, Keyword | | **Pages** | Hostname, Page, Entry page, Exit link | | **Locations** | Map, Country, Region, City | | **Devices & tech** | Browser, OS, Device | Click a row to filter the whole dashboard by that value; click it again to remove the filter. The toggle ranks the card by visitors or by revenue; without Stripe it is disabled and says **Connect Stripe to sort by revenue**. The **Details page** link opens the full table, under the Revenue lens when the card is ranked by revenue and the Traffic lens otherwise. Everything about these cards (the channel donut, scope menus, campaign links, exit links and the map) is in [Sources, pages, locations and devices](https://supametrics.io/docs/breakdowns). ## Goals card The Goals card has four tabs: - **Goal**: a line per goal over the period (up to 8 lines), and the goal list beside it with each goal's completions and the share of unique visitors who completed it. Search goals with **Search goals**. The sliders button (**Goal visibility**, owner and members only) chooses which goals show, and **+** (**Add goals**) explains how to add goals. Click a goal to open its detail: a summary sentence, completions by `utm_content`, and the actions **Edit**, **Hide**, **Set as KPI**, **Filter**, **Funnel** and **Journey**. Viewers only get **Filter** and **Journey**. - **Funnel**: build and read funnels. - **User**: the visitors in the period, with search. See [Visitors and visitor profiles](https://supametrics.io/docs/visitors#the-user-tab-on-the-dashboard). - **Journey**: the paths visitors took to a goal, with a goal picker and search. Goal completions on this card count only visits that match the dashboard's filters. For goals themselves see [Goals](https://supametrics.io/docs/goals); for the Funnel and Journey tabs see [Journeys and funnels](https://supametrics.io/docs/journeys-and-funnels). When there are no goals yet, the card says **No goals yet** with a **Create a goal** link. When an event goal has never fired, the card shows the line of code it is waiting for. ## Bot traffic card The last card shows crawlers (AI assistants, search engines and training crawlers) that your server reports. Bot hits never count as visitors. It has its own setup, settings and a **Hide card** option. See [Bots and AI crawlers](https://supametrics.io/docs/bot-tracking). ## When the dashboard is locked On a paid plan, when your account reaches its monthly event limit, the dashboard of every website the account owns is locked until the billing cycle resets. Instead of the numbers you see a card that can't be dismissed: - The owner sees **You've reached N events**, the date the lock ends, and whether tracking continues or is paused (it pauses only when **Pause tracking at limit** is on). The owner can use **Use my free pass** once per account, which unlocks the dashboard until the end of the current cycle, or **Raise my limit or upgrade**, which opens Billing. - Members and viewers see **This dashboard is locked** and are asked to contact the owner. The lock covers the dashboard, Insights, Details, the real-time map, Goals, Revenue and Visitors. Site settings, the websites list and your account stay open. A public share link that was already on keeps working, and so do the REST API and MCP. See [Plans, billing and event limits](https://supametrics.io/docs/billing). ## Common questions **Why does the chart's visitor total not match the sum of the cards?** Cards count unique visitors per value. A visitor who came from two channels, or viewed two pages, counts once in each row but once in the total. **Why is my revenue different on the Revenue cards?** The cards show attributed revenue. Revenue without a visit to credit appears as an **Unattributed** row at the end of the list. **Which time zone are the numbers in?** The website's time zone, shown at the right of the toolbar. Change it in **Site settings › General**. --- # Date ranges, filters, segments and notes > How to pick a period, compare it with the one before, filter by any dimension, save filters as segments, add notes to days and share a view by its URL. Source: https://supametrics.io/docs/filters-and-date-ranges The dashboard and the Details pages share one report toolbar. It sets the period, the comparison, the chart granularity and the filters. Everything it sets is kept in the page URL, so you can bookmark a view, reload it or send the link to a teammate. All dates and times are in the website's time zone, shown at the right of the toolbar (**Updated just now · Europe/Berlin**, for example). Change the time zone in **Site settings › General**. See [General settings](https://supametrics.io/docs/settings-general). ## Pick a period Click the period button (it shows the current period, for example **Last 30 days**). The menu shows the **Current time** in the website's time zone, then your **Pinned** periods, then **More**, then **Custom range…**. | Period | Covers | Granularity options | | --- | --- | --- | | **Now** | The last 30 minutes, minute by minute | (live chart) | | **Today** | Midnight today until now | Hourly | | **Yesterday** | All of yesterday | Hourly | | **Last 24 hours** | The last 24 hours, rolling | Hourly | | **Last 7 days** | Today and the 6 days before | Hourly, Daily | | **Last 30 days** | Today and the 29 days before | Daily, Weekly | | **Last 3 months** | From the same day 3 months ago | Weekly, Monthly | | **Last 6 months** | From the same day 6 months ago | Weekly, Monthly | | **Last 12 months** | Today and the 364 days before | Weekly, Monthly | | **Week to date** | Monday this week until now | Hourly, Daily | | **Month to date** | The 1st of this month until now | Daily, Weekly | | **Year to date** | January 1 until now | Weekly, Monthly | | **All time** | From the day the website was added | Weekly, Monthly | **Last 30 days** is the default. Periods that include today run until the current moment. Weeks start on Monday. ### Shortcuts and pins While the period menu is open, press **N** (Now), **T** (Today), **Y** (Yesterday), **D** (Last 24 hours), **W** (Last 7 days) or **3** (Last 30 days). Click the pin icon next to a period to move it into **Pinned**, or the crossed-out pin to move it back to **More**. The default pins are Now, Today, Yesterday, Last 7 days, Last 30 days and Last 12 months. Pins are saved in your browser, so they apply to every website on this device. ### Custom range Choose **Custom range…** to open a calendar with two months side by side (one month on phones). Click a start day, then an end day; the order doesn't matter, and a third click starts over. You can also type dates in **Start** and **End**. Future days can't be picked. **Clear** empties the selection and **Apply** sets the range. Both days are included. A single custom day is shown hourly. Longer custom ranges can be shown **Daily**, **Weekly** or **Monthly**; hourly is offered only for a single day. ### Step through periods The arrows on either side of the period button step the range back or forward by its own length, turning it into a custom range. For example, from **Last 7 days**, the left arrow shows the 7 days before. The right arrow is disabled when the range already ends now. Both arrows are off for **Now**. You can also drill into a day by clicking it on a daily chart. See [The site dashboard](https://supametrics.io/docs/dashboard#the-main-chart). ## Granularity The granularity menu (**Hourly**, **Daily**, **Weekly**, **Monthly**) sets how big each chart bucket is. It only offers the sizes that make sense for the period (see the table above), and is disabled when only one fits. It is hidden for **Now**. Weekly buckets start on Monday. ## Compare with the previous period Click **Compare** to compare the period with the one before. The button then names the compared range, for example **vs Sep 18 – Oct 18**, and clicking it turns compare off. - Calendar periods compare with the same stretch of the calendar just before: **Today** until 9:00 compares with yesterday until 9:00, and **Last 7 days** with the 7 days before. - **Last 3 months**, **Last 6 months** and **Month to date** step back by whole months, and **Year to date** by a year. - **Week to date** compares with the same weekdays of last week, up to the same time of day. - **Now**, **Last 24 hours** and **All time** step back by their own length. With compare on, the key figures show the previous period's value under each figure, the chart draws the previous period as a dashed line, and Details tables show the change on each row. The change against the previous period is shown on the key figures whether compare is on or off. ## Filters Filters narrow every number on the page to the visits that match. Visitor and revenue numbers move together: a payment matches a filter when the visit it was credited to matches. ### Add a filter There are three ways: - Click a row on any breakdown card or Details table. Click it again to remove the filter. - Click the filter button in the toolbar and pick a dimension. A dot on the button means filters are active, and a dot next to a dimension means it is in use. - Click a suggestion under **Suggested filters** at the bottom of the filter menu. Suggestions are this period's top goal, top country and top page. Picking a dimension opens **Filter by …**: 1. Choose how to match: **is**, **is not**, **contains** or **does not contain**. 2. For **is** and **is not**, pick a value from this period's values (searchable, with visitor counts). For **contains** and **does not contain**, type the text and click **Apply**, or press Enter. ### Dimensions you can filter by | Group | Dimensions | | --- | --- | | Source | Channel, Referrer, Campaign, Keyword | | URL | Hostname, Page, Entry page, Exit page, Exit link | | Location | Country, Region, City | | System | Browser, OS, Device | | Visitor | Visit count | | Custom | Goal | A few dimensions match the visit as a whole rather than one value on it: - **Page** keeps visits that viewed that page at least once. **Page is not** keeps visits that never viewed it. - **Goal** keeps visits that completed that goal. Goals are matched by their current name, so renaming a goal keeps its history. - **Exit link** keeps visits that clicked that outbound link. - **Visit count** is the visit's number for its visitor (1 for their first visit). It takes a whole number with **at least**, **is**, **is not** or **at most**, with quick picks 1, 2, 3, 4, 5 and 10. For example, **Visit count at least 2** keeps returning visits and **Visit count is 1** keeps first visits. Four more dimensions, **UTM source**, **UTM medium**, **UTM content** and **Ref**, don't appear in the menu. They are added when you click a row on the Campaign tab. See [Campaigns](https://supametrics.io/docs/breakdowns#campaigns). Some visits have no value for a dimension (no region known, no campaign). That value reads **(none)**, or **Direct / None** for sources and channels, and you can filter on it like any other. **is not** and **does not contain** keep visits with no value. ### Edit and remove filters Active filters appear as chips in a **Filtered by** row under the toolbar, for example **Country is United States**. Click a chip to edit it: the current value is shown at the top with a remove button. Click **×** on a chip to remove it, or **Clear all** to remove every filter. All filters must match at once (they are combined with AND). A filter added from the filter menu or a suggestion replaces an existing filter with the same dimension and match type. Clicking a row on a card or table works the same way: clicking a second country replaces the first country filter, and clicking the same row again removes it. You can have up to 10 filters. ### What filters don't change - Revenue that couldn't be credited to a visit (**Unattributed**) drops out as soon as any filter is on, since there is no visit to match. - The **Online** figure, the [Bot traffic card](https://supametrics.io/docs/bot-tracking) and the [real-time map](https://supametrics.io/docs/realtime) ignore filters. - [Insights](https://supametrics.io/docs/insights) has its own period selector and no filters. ## Segments A segment is a saved set of filters with a name, so you can apply it again in one click. To save one, add the filters you want, then click **Save as segment** in the **Filtered by** row. Name it (up to 60 characters, for example "Customers from USA"), check the filters shown, and click **Save segment**. Saved segments appear under **Saved segments** at the top of the filter menu, with the number of filters in each. Picking a segment replaces the current filters with the segment's. Click the trash icon next to a segment to delete it. - Segments are saved for the website and shared with everyone on it. - A segment holds 1 to 10 filters, and a website can have up to 50 segments. - The owner and members can save and delete segments; viewers can use them but don't see **Save as segment**. ## Notes Notes mark what happened on a day, such as a launch, a campaign or an outage, so the chart explains itself later. ### Add a note - Hover a day on a daily chart and click the note button above the point, or - Click **Notes** on the chart's legend row, pick a day within the period and click **Add note…**. Either way the day's window opens. Its title is the day, and it has three tabs: - **Notes** lists the day's notes with the author's initials, name and when each was written (and "edited" if changed). Type in the box and click **Add note**, or press Cmd+Enter (Ctrl+Enter on Windows). A counter shows how many of the 500 characters you've used. Use the pencil to edit a note (then **Save note** or **Cancel**) and the trash icon to delete it. - **Mentions (0)** and **Commits (0)** are coming soon. Tracking brand mentions and connecting a GitHub repository don't do anything yet. ### Show notes on chart The **Show notes on chart** switch at the bottom of the day window turns note markers on the chart on or off for everyone on the website. Markers appear only on daily charts. The Notes button keeps listing the period's notes either way. ### Who can write notes The owner and members can add, edit and delete notes and change **Show notes on chart**. Viewers can read notes; their day window says **You're a viewer here, so notes are read-only.** ## Share a view with its URL The URL holds the whole view, so copying it from the address bar shares exactly what you see (the other person needs access to the website). The parameters are: | Parameter | Meaning | | --- | --- | | `period` | `now`, `today`, `yesterday`, `24h`, `7d`, `30d`, `3m`, `6m`, `12m`, `wtd`, `mtd`, `ytd`, `all` or `custom` | | `from`, `to` | First and last day of a custom range, as `YYYY-MM-DD` | | `granularity` | `hour`, `day`, `week` or `month` | | `compare` | `1` when compare is on | | `filters` | The filters as JSON, a list of `{"d": dimension, "o": operator, "v": value}` | | `goal` | On the Details Goals lens only, the goal the pages focus on | Operators are `is`, `is_not`, `contains`, `not_contains`, and for Visit count also `gte` (at least) and `lte` (at most). An empty value `""` means "(none)". For example: ```bash https://app.supametrics.io/dashboard?period=7d&compare=1&filters=[{"d":"country","o":"is","v":"US"},{"d":"channel","o":"is","v":"Organic Search"}] ``` Countries use two-letter codes (`US`, `DE`). A missing or unknown `period` falls back to **Last 30 days**, and a custom period without valid dates does too. Filters that can't be read are dropped. To share a dashboard with people who don't have an account, use a public link instead. See [Share your dashboard](https://supametrics.io/docs/sharing). --- # Sources, pages, locations and devices > How the dashboard's Sources, Pages, Locations and Devices & tech cards work, how traffic sources and channels are classified, and how to rank by revenue. Source: https://supametrics.io/docs/breakdowns Four cards on the dashboard break the period down by one dimension each: **Sources**, **Pages**, **Locations** and **Devices & tech**. They follow the period and filters set in the toolbar. Each one shows the top rows and links to a full table on its Details page. ## How every card works - **Tabs** across the top switch the dimension, for example **Channel**, **Referrer**, **Campaign** and **Keyword** on the Sources card. - **Visitors / Revenue**: the toggle at the top right ranks the card by unique visitors or by revenue. Without Stripe connected (and no revenue in the period) it is disabled and says **Connect Stripe to sort by revenue**. See [Connect Stripe](https://supametrics.io/docs/connect-stripe). - **Rows**: up to 10 rows (12 channels). Each row has a bar, its value and, ranked by visitors, a revenue bar that continues the visitor bar when the row earned money. Ranked by revenue, the bar and value are revenue. - **Hover a row** for a tooltip with **Visitors** and **Revenue**, plus **Revenue/visitor** and **Conversion rate** when the row made money. - **Click a row** to filter the whole dashboard by that value. Click it again to remove the filter. See [Filters](https://supametrics.io/docs/filters-and-date-ranges#filters). - **Details page** at the bottom opens the full table for the tab, under the Revenue lens when the card is ranked by revenue and the Traffic lens otherwise. See [Details pages](https://supametrics.io/docs/details-pages). Rows count unique visitors per value. One visitor can appear in several rows (two channels, several pages), so the rows can add up to more than the visitor total. ### The Unattributed row When ranked by revenue, a last row named **Unattributed** may appear. It holds payments that have no visitor ID, so there is no visit to credit. It makes the revenue column add up to your total revenue, it shows **–** for visitors, and it can't be clicked. Any active filter removes it. See [Revenue and attribution](https://supametrics.io/docs/revenue). ### Revenue on page and goal rows A payment is credited to its visit. On the **Page** tab, the payment counts for every page that visit viewed, and on goal rows for every goal it completed. These columns can therefore add up to more than total revenue. Other dimensions (channel, country, device…) credit each payment once. ## Sources ### Channel The **Channel** tab shows channels as a donut with the unique visitor total in the middle (or the revenue total when ranked by revenue) and a list beside it with each channel's value and share. Click a channel (slice or list row) to drill into its sources. The card then lists that channel's referrers, and **All channels** takes you back. While drilled in, clicking a source filters the dashboard by it. The scope menu next to the toggle (for example **All (206)**) does the same drill-down from a menu: pick a channel to see its sources. It narrows this card only, not the dashboard. ### How channels are decided Each visit gets one source and one channel when it starts, from its first page's referrer and link parameters. AnalyticsX checks, in order: 1. `utm_medium` is a paid medium (`cpc`, `ppc`, `cpm`, `paid`, `paid_social`, `paidsearch`, `ad`, `ads`, `display`, `retargeting`, `sponsored`): **Paid**. 2. `utm_medium` is `email`, `e-mail` or `newsletter`: **Email**. 3. The source is a known site or app (see below): that site's channel. 4. `utm_medium` is `social`, `social_media`, `social-media` or `sm`: **Organic Social**. 5. Any other referrer or tag: **Referral**. 6. Nothing at all: **Direct**. The channels are **Direct**, **Organic Search**, **Organic Social**, **AI**, **Referral**, **Email** and **Paid**. Known sources include: | Channel | Sources | | --- | --- | | Organic Search | Google, Bing, DuckDuckGo, Yahoo, Yandex, Baidu, Ecosia, Brave Search | | AI | ChatGPT, Claude, Perplexity, Gemini, Copilot, DeepSeek, Grok | | Organic Social | X, YouTube, LinkedIn, Reddit, Facebook, Instagram, Threads, TikTok, Pinterest, Bluesky, Mastodon, Hacker News | | Referral | Product Hunt, Medium, Substack, Dev.to, Indie Hackers, GitHub | | Email | Gmail, Outlook, Newsletter | ### Referrer The **Referrer** tab lists sources by name. A visit's source is: - the known source matching `utm_source` or `?ref=` (or `?via=`), if any, so `?utm_source=twitter` reads **X**; - otherwise the `utm_source` or `ref` value exactly as written, for example `launch-tweet`; - otherwise the referring website's domain, without `www.`; - otherwise **Direct / None**. A tag in the link wins over the browser's referrer, which is how you label a specific post or newsletter. Navigation between your own pages, subdomains and additional domains is never counted as a referral. **Direct / None** means the visitor arrived without a tracked source: a bookmark, a typed address, an app that hides the referrer, or private browsing. Tag the links you share to see more. ### Campaigns The **Campaign** tab lists each tagged link as people clicked it, for example `?utm_source=newsletter&utm_medium=email&utm_campaign=autumn`. The parameters read are `utm_source`, `utm_medium`, `utm_campaign`, `utm_content`, `utm_term` and `ref` (which also holds `?via=`). Visits without any of them are left out of this tab. To make tagged links, use the free [UTM builder](https://supametrics.io/tools/utm-builder). It shows the source and channel AnalyticsX will file a visit from the link under. Its optional campaign ID (`utm_id`) is for Google Analytics 4; AnalyticsX doesn't read it. The scope menu (**All (…)** with **Tracking parameters** under it) narrows the tab to one parameter, such as `?utm_campaign=`, and then lists that parameter's values. Clicking a link row filters the dashboard by each parameter in it. It also adds "(none)" filters for parameters that other links carry and this one doesn't, so `?utm_source=newsletter` doesn't also match `?utm_source=newsletter&utm_campaign=autumn`. Clicking the row again removes those filters and puts back any you had before. Those filters use the dimensions **UTM source**, **UTM medium**, **Campaign**, **UTM content**, **Keyword** and **Ref**. With no tagged visits the tab says **No campaign links yet**. Add UTM parameters or `?ref=` to the links you share and each link shows up here. ### Keyword Keywords from Google Search Console are coming soon: the tab shows **Keywords come from Google Search Console** with a **Soon** tag and a disabled **Connect Search Console** button. Until then it lists the `utm_term` values from your links, if any. ## Pages | Tab | Shows | | --- | --- | | **Hostname** | The host each visit started on, without `www.` (useful with subdomains or several domains) | | **Page** | Every page path viewed; a visit counts once per page it viewed | | **Entry page** | The first page of each visit | | **Exit link** | Links to other websites that visitors clicked | Paths are stored without the query string, and a trailing slash is removed (`/pricing/` is `/pricing`). On **Page** and **Entry page**, the scope menu narrows the card to one hostname. It changes this card only. **Exit pages** (the last page of each visit) are on the Pages Details page under **Exit pages**, not on the dashboard card. ### Exit links The **Exit link** tab lists outbound links, stored as host and path without `https://`, `www.`, query or fragment (for example `github.com/acme/repo`). Each row shows the clicks (**exits**) and the unique visitors who clicked. Click the row to filter the dashboard to visits that clicked the link, or the arrow beside it to open the link in a new tab. Links to your own domain, its subdomains and the additional domains in **Site settings › General** are not exits. Exit links never earn revenue, so this tab has no Visitors / Revenue toggle. Clicks are not counted against your plan's event allowance. ## Locations Locations come from the visitor's connection (their IP address is used to look up the place and is not stored). See [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works). | Tab | Shows | | --- | --- | | **Map** | A world map shaded by visitors or revenue | | **Country** | Countries with flags | | **Region** | States, provinces and regions | | **City** | Cities | On the map, a darker colour means more visitors (or more revenue when ranked by revenue). Hover a country for its figure and click it to filter by that country; click it again to remove the filter. Region and city names repeat across countries (Paris, France and Paris, Texas), so each row's flag is the country seen most often under that name. A **(none)** row collects visits whose region or city couldn't be determined. ## Devices & tech | Tab | Values | | --- | --- | | **Browser** | Chrome, Safari, Mobile Safari, Firefox, Edge, Opera, Samsung Internet, Brave, Arc, Vivaldi, Yandex, DuckDuckGo, Chrome WebView, in-app browsers (Instagram, Facebook, Twitter, LinkedIn, Threads, TikTok), and Other | | **OS** | Windows, Mac OS, iOS, iPadOS, Android, Chrome OS, Linux, and Other | | **Device** | Desktop, Mobile, Tablet | Device type comes from the browser's user agent. A "desktop" browser on a screen narrower than 600 pixels counts as **Mobile**. ## Rank by revenue With Stripe connected, switch any card to **Revenue** to see what makes money rather than what brings traffic: which channel, landing page, country or device earns the most. The card re-sorts by revenue and the **Details page** link opens the Revenue lens, which adds payments, customers, conversion rate, revenue per visitor, refunds and average order value. See [Revenue and attribution](https://supametrics.io/docs/revenue). If nothing in the tab earned money, the card says **No revenue in this period**. ## Common questions **Why is a visit from Google labelled Referral?** Only the hosts in the table above are recognised. A Google property not listed (for example a Google Docs link) counts as a referral from its domain. **I tagged a link with `utm_source=Twitter`. Why does it say X?** Known names are matched case-insensitively and shown under one name, so `twitter`, `x` and `t.co` all read **X**. **Can I change a visit's channel later?** No. Source and channel are fixed when the visit starts. --- # Metrics glossary > Exact definitions of every number AnalyticsX shows, from visitors and bounce rate to revenue, conversion rate and goal completions, and the time zone they use. Source: https://supametrics.io/docs/metrics-glossary This page defines each metric as AnalyticsX computes it. The same definitions apply on the dashboard, the Details pages, Insights, email reports, the REST API and MCP. ## Time zone and periods - Every period, day, hour and chart bucket is in the website's time zone, set in **Site settings › General**. The toolbar shows it at the right. Daylight saving changes are handled, so each bucket is one local hour, day, week or month. - Weeks start on Monday. - Visit metrics (visitors, visits, pageviews, bounce rate, time) count visits that **started** in the period. A visit that starts at 23:50 and ends after midnight belongs to the day it started. - Revenue counts payments by the time of the payment, and refunds by the time of the refund, not by when the visitor first came. - Goal completions count by the time of the completion. ## How visitors and visits are identified - A **visitor** is one browser. The tracking script gives each browser a random ID in a first-party cookie that lasts a year. The same person on a phone and a laptop is two visitors. - A **visit** (also called a session) is a run of activity in one browser. It ends after 30 minutes without activity; the next pageview starts a new visit. See [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works) for what is and isn't stored. ## Traffic metrics ### Visitors (Unique visitors) The number of distinct visitors with at least one visit that started in the period. A visitor with five visits counts once. ### Visits The number of visits that started in the period. Shown on the Details Traffic lens. ### Pageviews Pages viewed in the period's visits. In a single-page app, each route change counts as a pageview. ### Views per visit Pageviews divided by visits. ### Bounce rate The share of visits with at most one pageview: bounced visits divided by visits. A goal completion or an outbound click doesn't stop a one-page visit counting as a bounce. Lower is better, so a falling bounce rate shows in green. ### Session time (Avg. visit duration) The average length of a visit: the time from the visit's first pageview to its last tracked activity (a pageview or a goal completion), averaged over all visits. A one-page visit counts as 0 seconds, which pulls the average down. Time spent reading the last page of a visit is not measured. ### New and returning visitors Shown when you click **Visitors** twice on the dashboard. In each chart bucket, a visitor is **returning** if their first visit ever started in an earlier bucket, and **new** otherwise. The first visit is looked up across all time, before filters. **Returning rate** is returning visitors divided by visitors in the bucket. On the **Now** chart, a visitor is returning if they had any earlier visit, and counts as returning for the whole 30 minutes. ### Pages / visitor In chart tooltips: pageviews divided by visitors in that bucket. ### Online Distinct visitors whose visit had activity in the last 5 minutes. It ignores the period and filters. The real-time map uses the same 5-minute rule. ### Exits On the Exit link tab: the number of clicks on an outbound link. Visitors on the same row are the distinct visitors who clicked it. ## Revenue metrics Revenue comes from Stripe. See [Connect Stripe](https://supametrics.io/docs/connect-stripe) and [Revenue and attribution](https://supametrics.io/docs/revenue). ### What counts as revenue - Payments in the website's currency. Payments in other currencies are stored and listed on the Revenue screen, but not added to these numbers. - Stripe test-mode payments count only until the website receives its first live payment, so a test checkout shows up during setup. After that they drop out of every number. - Renewals count unless you turn off **Include renewal revenue** in **Site settings › Revenue**. - Products you excluded in **Site settings › Revenue** don't count. - When **Subtract refunds from revenue** is on, refunds are taken off on the day they were issued. Amounts are shown in the website's currency. ### Revenue New revenue plus renewal revenue, minus refunds (when you subtract them). This is the **Revenue** key figure and the total on the Revenue lens. ### New revenue and Renewals **New** is revenue from one-time payments and the first paid invoice of each subscription. **Renewal** is revenue from a subscription's later invoices. On the dashboard chart they are the two colours of the revenue bars. ### Refunds The amount refunded in the period, by refund date. Zero when you don't subtract refunds. ### Attributed and Unattributed revenue Each payment is credited to the visit that led to it. **Attributed** revenue has a visit; **Unattributed** revenue has no visitor ID, so no visit to credit. Breakdowns show attributed revenue and add an **Unattributed** row so the column adds up to the total. Any filter removes unattributed revenue, since it can't match a visit. ### Payments The number of payments in the period, not counting refunds. ### Customers (paying visitors) The number of distinct visitors with at least one payment in the period. ### Conversion rate Paying visitors divided by visitors, for the same period and filters. On the dashboard key figures and the Revenue lens this is a payment conversion rate. Goals have their own conversion rate (below). ### Revenue/visitor Revenue divided by visitors. ### Avg. order value Revenue divided by payments. ## Goal metrics See [Goals](https://supametrics.io/docs/goals). ### Completions The number of times goals were completed in the period. Only goals that still exist count; turned-off goals keep their past completions. ### Converting visitors (Unique conv.) The number of distinct visitors who completed at least one goal (or the chosen goal) in the period. ### Goal conversion rate Converting visitors divided by visitors. On the Goals card, the percentage next to each goal is that goal's converting visitors divided by visitors. ## Changes and comparisons - The change under a figure is `(current − previous) ÷ previous`, shown as a percentage. It reads **–** when the previous period is zero. - Green means better and red means worse. For bounce rate and refunds, a drop is better. - What the previous period is depends on the period you picked. See [Compare with the previous period](https://supametrics.io/docs/filters-and-date-ranges#compare-with-the-previous-period). ## Breakdown rows On cards and Details tables, each row's figures are computed over the visits with that value: - **Visitors** on a row are the distinct visitors among those visits. One visitor can appear in several rows, so rows can add up to more than the total. - **Page** rows count a visit once for each page it viewed. **Goal** rows count a visit once for each goal it completed. - **Revenue** on a row is the revenue of payments credited to those visits. Page and goal rows credit a payment to every page or goal in its visit, so they can add up to more than total revenue. - **Conversion rate** on a row is that row's paying visitors divided by its visitors. ## Real-time estimates The real-time map shows two estimates, clearly labelled as such: - **Buying signal**: **Hot** has paid before, **Warm** completed a goal in this visit, **Mild** viewed a pricing, plans, checkout, billing, upgrade, subscribe, cart, buy or purchase page in this visit, and **Cold** is browsing. - **Estimated value**: your revenue per visitor over the last 30 days times a weight for the buying signal (Cold 0.5, Mild 1.5, Warm 3, Hot 5). The map's **est. value** is the sum for everyone online. See [Real-time and the live map](https://supametrics.io/docs/realtime). ## Why numbers can differ between screens - Different periods: Insights has its own period selector, and the Visitors screen offers only 7 or 30 days. - Filters: the Online figure, the real-time map and the Bot traffic card ignore dashboard filters. - Bots: crawler hits from the Bot traffic card never count as visitors, visits or pageviews. - Excluded traffic (**Site settings › Exclusions**) is never stored, so it isn't in any number. See [Exclusions](https://supametrics.io/docs/exclusions). --- # Insights > The Insights screen explains what makes your website money, covering who buys, how many visits and days it takes, where buyers come from and when they convert. Source: https://supametrics.io/docs/insights Insights answers one question: what makes this site money. It reads your traffic together with your Stripe revenue and shows who buys, how they buy, where buyers come from and when they convert. Open it from **Insights** in the left rail, press **I** anywhere in the app (when you're not typing), or go to `/insights`. The header reads **Insights · your-domain** and **What makes this site money**. Close it with **Close** or the Esc key, which takes you back to where you came from (the dashboard if you opened Insights directly). Most sections need revenue. Connect Stripe first if you haven't. See [Connect Stripe](https://supametrics.io/docs/connect-stripe). ## Period Pick **24 hours**, **7 days** or **30 days** at the top right. **30 days** is the default. Every section uses that period, and changes compare with the period just before it, the same way the dashboard's compare does. Insights has no filters and doesn't follow the dashboard's period. The period you pick here isn't saved in the URL. ## Overview Your headline numbers for the period: | Figure | Meaning | | --- | --- | | **Revenue per visitor** | Revenue divided by unique visitors | | **Conversion rate** | Paying visitors divided by visitors | | **Avg. daily visitors** | Unique visitors divided by the number of days in the period | | **Avg. daily revenue** | Revenue divided by the number of days in the period | Each figure shows its change **vs previous period**. Definitions are in the [Metrics glossary](https://supametrics.io/docs/metrics-glossary). **Revenue per visitor trend** charts revenue per visitor by week for 30 days, by day for 7 days, and by hour for 24 hours. **Net revenue** splits the period's revenue into **New**, **Renewal** and **Refunds**, with **Net revenue** at the bottom (New + Renewal − Refunds). A note under it says whether revenue is net of refunds, which you set with **Subtract refunds from revenue** in **Site settings › Revenue**. ## Who buys **Share of attributed revenue by device, operating system and browser.** Three panels, **Device**, **Operating system** and **Browser**, each lead with a sentence such as "62% of revenue from Mobile users", then a split bar and up to five values with their revenue and share. Shares are of attributed revenue only (revenue credited to a visit). A panel says **No attributed revenue yet** when there's nothing to split. ## How they buy **How many visits and days it takes to become a customer.** This looks at each buyer's first payment in the period: - **First-visit buyers**: the share of buyers who paid during their first visit. - **Median time to purchase**: the median number of days from the buyer's first visit to that payment. Under a day shows as **<1**. - **Visits to purchase**: how many buyers needed 1, 2, … 9, or 10+ visits, counting the visit they paid in. - **Days to purchase**: buyers grouped into **Same day**, **1–3 days**, **4–7 days**, **1–2 weeks**, **2–4 weeks** and **1 month+**. Only payments credited to a visitor count. With no buyers in the period, the section says **No buyers in this period**. ## Where buyers come from **Top countries and referrers by revenue and by conversion rate.** Four ranked lists of up to four rows each: - **Top revenue countries** and **Top revenue referrers**: by attributed revenue. - **Top conversion countries** and **Top conversion referrers**: by conversion rate (paying visitors divided by visitors). Only countries and referrers with at least 5 visitors and at least one paying visitor are ranked, so a single lucky visit doesn't top the list. A list says **Not enough data yet** when nothing qualifies. Referrers are the same sources as on the dashboard's Referrer tab. See [Sources, pages, locations and devices](https://supametrics.io/docs/breakdowns#referrer). ## When they buy **Conversions by weekday and time of day, and the events that convert best.** The **Conversion heatmap** has a row of days (Mon to Sun) and six 4-hour blocks (12am, 4am, 8am, 12pm, 4pm, 8pm), in the website's time zone. Darker cells had more conversions; the legend runs from **Fewer** to **More**. It counts payments when the period has any, and goal completions otherwise; its title says which (**Conversion heatmap · payments** or **· goal completions**). Hover a cell, or move through cells with the arrow keys, to read it (for example "Thursday, 4am – 8am (3 payments)"). With nothing hovered, the line under it names the peak cell. **Top converting events** lists up to five goals with completions in the period, ranked by the share of visitors who completed them, with a bar for each. With no completed goals it says **No custom events configured**. **Manage goals →** opens the Goals screen. See [Goals](https://supametrics.io/docs/goals). ## The footnote The line at the bottom states the period and how much of the revenue is attributed, for example "Based on the last 30 days · revenue = attributed revenue ($4,200.00 of $4,500.00)". The difference is revenue with no visit to credit. See [Revenue and attribution](https://supametrics.io/docs/revenue). ## Public Insights If the website has a public dashboard, Insights can be shared read-only through that link. The public version has no **Manage goals** link. See [Share your dashboard](https://supametrics.io/docs/sharing). ## Common questions **Why is Insights empty when the dashboard has visitors?** Most sections are built from revenue. Without payments in the period, Who buys, How they buy and Where buyers come from have nothing to show. The heatmap falls back to goal completions. **Why don't the numbers match the dashboard?** Insights has its own period selector and ignores dashboard filters. Its **24 hours**, **7 days** and **30 days** cover the same time as the dashboard's **Last 24 hours**, **Last 7 days** and **Last 30 days**, so with the same period and no filters the visitor and revenue totals agree. **Who can open Insights?** Everyone on the website: the owner, members and viewers. --- # Details pages > The Details pages give a full table for every breakdown under three lenses (Traffic, Goals and Revenue), with highlights, a row inspector and CSV export. Source: https://supametrics.io/docs/details-pages The Details pages are the full-size version of the dashboard cards. Where a card shows the top 10 rows, a Details page shows every row (up to 500) with all the figures for one lens, sortable columns, highlights, a side panel per row and a CSV export. Open them from **Details** in the left rail (or press **D**), from the **Details page** link at the bottom of any dashboard card, or by URL. Under **Details** in the rail are three shortcuts: **Traffic**, **Goals** and **Revenue**. ## The URL Every Details page has an address of the form `/details/{lens}/{page}/{tab}`, for example `/details/revenue/sources/referrer`. The period, compare and filters follow in the query string, as on the dashboard. See [Share a view with its URL](https://supametrics.io/docs/filters-and-date-ranges#share-a-view-with-its-url). An unknown lens or page takes you to the lens's overview, and an unknown tab to the page's first tab. ## Lenses The lens decides which figures you see. Switch it with the **Traffic** / **Goals** / **Revenue** buttons in the header; the page and tab stay the same. | Lens | Main measure | Columns | | --- | --- | --- | | **Traffic** | Visitors | Visitors, Visits, Pageviews, Views / visit, Bounce rate, Avg. duration | | **Goals** | Completions | Completions, Converting visitors, Visitors, Conversion rate | | **Revenue** | Revenue | Revenue, Payments, Customers, Visitors, Conversion rate, Revenue / visitor, Refunds, Avg. order | On the Goals lens, conversion rate is converting visitors divided by visitors. On the Revenue lens it is paying visitors divided by visitors. All figures are defined in the [Metrics glossary](https://supametrics.io/docs/metrics-glossary). ## Pages and tabs | Page | URL slug | Tabs (slug) | | --- | --- | --- | | **Overview** | `overview` | none | | **Pages** | `pages` | All pages (`page`), Entry pages (`entry`), Exit pages (`exit`), Exit links (`exit-link`), Hostnames (`hostname`) | | **Sources** | `sources` | Channels (`channel`), Referrers (`referrer`), Campaigns (`campaign`), Keywords (`keyword`) | | **Locations** | `locations` | Countries (`country`), Regions (`region`), Cities (`city`) | | **Devices & tech** | `devices` | Devices (`device`), Browsers (`browser`), Operating systems (`os`) | | **Goal conversions** | `conversions` | Goals lens only | | **User journeys** | `journeys` | none | **Exit links** is offered under Traffic and Goals only, since clicking a link to another website never earns revenue. **Goal conversions** exists only under the Goals lens. Each page's title depends on the lens, for example **Sources**, **Sources that convert** or **Revenue by source**. A breadcrumb above it (**Dashboard / Details / Traffic / Sources**) takes you back up. What each dimension means (channels, referrers, campaigns, exit links, locations, devices) is explained in [Sources, pages, locations and devices](https://supametrics.io/docs/breakdowns). **Exit pages** is the last page viewed in each visit. ## The header and toolbar - **Lens** buttons switch between Traffic, Goals and Revenue. - **Export** downloads what the page shows as a CSV file (see below). - Under the title, one line describes the page. - The report toolbar (period, compare, granularity, filters, refresh) works exactly as on the dashboard. See [Date ranges, filters, segments and notes](https://supametrics.io/docs/filters-and-date-ranges). Saved segments aren't listed in the Details filter menu; apply them on the dashboard and open Details from there to keep them. ### Goal focus (Goals lens) The Goals lens adds a **Goal** selector, which reads **All goals** until you pick one. Pick a goal to focus every Goals page on it: the figures, chart, cards and tables then count only that goal's completions. Choose **All goals** to go back. The focus is kept in the URL as `?goal=` and is dropped when you switch to another lens. ## Key figures Under the toolbar is a row of key figures for the lens, each with its change against the previous period: - **Traffic**: Unique visitors, Visits, Pageviews, Views per visit, Bounce rate, Avg. visit duration. - **Goals**: Completions, Converting visitors, Conversion rate, Visitors. - **Revenue**: Revenue, New revenue, Renewals, Refunds, Customers, Conversion rate, Revenue / visitor, Avg. order value. On **Overview**, clicking a figure puts it on the chart. On a table page, clicking a figure sorts the table by that column (figures with no matching column can't be clicked). ## Overview Each lens's Overview has the chart of the selected figure, then summary cards: - **Sources** (by channel), **Pages**, **Locations** (a world map; deeper colour means more) and **Devices & tech** (a device split bar and the top browsers). Each card has a link to its own Details page. - Under the Goals lens, **Goal conversions**: completions per goal. - **User journeys** (Traffic), **Goal journeys** (Goals) or **Revenue journeys** (Revenue): the top four paths, with a link to the full journeys page. Under the Traffic lens the chart for **Unique visitors** is the dashboard's main chart, and under Revenue the **Revenue** chart keeps its new and renewal bars. Other figures draw a single line. ## Table pages A table page has these parts, top to bottom: ### Highlights Up to three cards above the table, each opening that row's side panel: - **Top by …** the lens's main measure. - **Rising fastest**: the row that grew most against the previous period (with at least 3 of the main measure). - A lens highlight: **Highest bounce rate** or **Longest visits** (Traffic), **Best conversion rate**, **Most visitors, no conversions** or **Most converting visitors** (Goals), **Highest revenue per visitor** or **Most customers** (Revenue). Rate highlights only consider rows with enough visitors to mean something (at least 3, and at least 4% of the top row's visitors). Under Revenue, with no revenue in the period, a note says **No revenue in this period** instead. On the **Countries** tab, a **World map** sits above the highlights. Deeper colour means more of the main measure; click a country to filter by it. ### Tabs, search and sorting - Tabs show how many rows each has, for example **All pages 21** (**500+** when there are more than the table loads). - **Search** narrows the rows by name, with a count next to it. - Click a column header to sort by it; click again to reverse. **Sorted by …** at the right says which column is in use. - The main measure's column has a share bar under each name. With **Compare** on, the Traffic and Revenue lenses show its change on every row. - The table shows 12 rows at first. **Load 12 more** adds more and **Show all** shows the rest. The footer reads **Showing X of Y**. Under the Revenue lens, the **Unattributed** row stays last whatever the sort, so the revenue column adds up to the total. It can't be opened or filtered. ### Filter and inspect a row - The filter icon at the end of a row filters the report by that value; click it again to remove the filter. - Click the row (or its name) to open the side panel. The side panel shows: - The row's name and dimension, for example **Referrer** and **Google**. - A **trend** sparkline of the lens's measure (visitors, completions or revenue) over the period, for this value only. - All of the lens's figures for the row. - **Top pages for this …** (or **Top sources** on page and hostname tabs): the report filtered to this value. - **Filter by this** adds the filter on the Details page; **Open on dashboard** opens the dashboard with your filters plus this one. The dashboard opens on its default period. ## Goal conversions Under the Goals lens, **Goal conversions** lists every goal of the website, including goals with no completions in the period, with **Completions**, **Unique conv.**, **Conv. rate**, **Revenue**, **Δ** (completions against the previous period, **–** when the previous period had none), a **Last 30 days** sparkline and its **Share** of all completions. Click a row to focus the Goals lens on that goal; click it again to go back to all goals. When an event goal has never fired, the page shows the code it is waiting for. See [Goals](https://supametrics.io/docs/goals). ## User journeys **User journeys** lists the real paths visitors take: their source, the pages they viewed in order, and how the visit ended (a goal or leaving the site). Under Traffic they are ranked by visitors, under Goals by completions and under Revenue by revenue. Pick a journey to see it as a flow with drop-off between steps. Journeys are covered in [Journeys and funnels](https://supametrics.io/docs/journeys-and-funnels). ## Export **Export** downloads a CSV file named after the website, lens, page and tab, for example `example.com-revenue-sources-referrer.csv`. - On a table page it contains every row that matches your search (not just the rows on screen), in the current sort. - On Overview it has one row per chart bucket and one column per key figure. - Numbers are written raw so spreadsheets read them as numbers: money in major units (12.5, not $12.50), rates as percent (12.5 for 12.5%), durations in seconds. The unit is in the column header, for example **Revenue (USD)**, **Bounce rate (%)** or **Avg. duration (s)**. - Text that a spreadsheet would run as a formula (starting with `=`, `+`, `-` or `@`) gets a leading apostrophe. For scheduled or automated exports, use the [REST API](https://supametrics.io/docs/rest-api). --- # Real-time and the live map > The real-time map shows who is on your website right now on a 3D globe or flat map, with live events, an 8-hour replay, buying signals and a shareable public link. Source: https://supametrics.io/docs/realtime The real-time map shows everyone on your website right now as dots on a globe, with a feed of what they are doing. It fills the whole window. Open it from **Real-time map** in the left rail, press **M** anywhere in the app (when you're not typing), click **Watch on the globe →** under the **Online** figure on the dashboard, or go to `/realtime`. Close it with **Close** or Esc, which takes you back to the dashboard. On a phone, use the **Close** button in the top-right corner. For a live view inside the dashboard itself, pick the **Now** period instead: it charts visitors per minute over the last 30 minutes. See [The Now period](https://supametrics.io/docs/dashboard#the-now-period). ## Who is online A visitor is online when their visit had activity (a pageview or a goal) in the last 5 minutes. Each online visitor is a dot placed near the centre of their country, spread a little so visitors from one country don't stack. Only the country is used for placement, so a dot doesn't show the visitor's exact location. The map asks for fresh data every 12 seconds. New visitors appear on the next update. If an update fails, **Reconnecting… showing the last update.** appears until the connection is back. The map shows up to 500 online visitors at once. It ignores the dashboard's period and filters. With nobody online, the map says **No one on the site right now**. ## The left panel The panel at the top left (**Live overview**) holds: - **N visitors online**, your domain, and **live** or **replay**. - **est. value**: the estimated value of everyone online (see [Buying signals and estimated value](#buying-signals-and-estimated-value)). It shows only when the website had revenue in the last 30 days. The info button explains it. - **3D** / **2D**: a globe or a flat map. - **Map style**: **Dark**, **Light**, **Outdoors** or **Satellite**. Your choice is remembered on this device. - On the globe, the left and right arrows rotate it west and east, and you can drag it with the mouse or a finger. - **Auto-pan** (globe only) turns the globe slowly and eases over to each new visitor as they arrive. Rotating by hand stops it. - **Replay** (see below). - **Countries**, **Referrers** and **Devices**: the top six of each among the people online, with counts. Click one to show only those visitors on the map; click it again to show everyone. Choices in different lists combine. - **Buying signal (estimate)**: the legend from **Cold** to **Hot**. In fullscreen the panel keeps only the visitor count and the map controls. ## Visitor details Click a dot to open its card: | Row | Meaning | | --- | --- | | Name | The name your site sent with identify, or a made-up nickname such as "jade marmot" that stays the same for that visitor | | **Location** | City, region and country when known | | **Current URL** | The last page they viewed | | **Session time** | How long this visit has lasted | | **Total visits** | Their visits to your site, all time | | **Conversion likelihood** | How their buying signal compares with your average visitor, for example **3× avg** | | **Source** | Where this visit came from | | **Buying signal** | Cold, Mild, Warm or Hot, with the reason | | **Paid so far** | What they've paid, all time (when they have) | | **Estimated value** | Revenue per visitor times their signal's weight (when the site has revenue) | Close the card with its **×** or Esc. To attach real names and emails to visitors, see [Tracker JavaScript API](https://supametrics.io/docs/tracker-javascript-api). ## Live events The **Live events** panel on the right lists the last 30 minutes, newest first, up to 40 events: - *name* **arrived from** *source* (a new visit from anywhere but Direct) - *name* **viewed** *page* - *name* **completed** *goal* - *name* **paid** *amount* (with "renewal" for subscription renewals) Each line has the visitor's avatar, ringed in the event's colour, and how long ago it happened (**now**, **3m**, **1h**). Before anything happens it reads **Waiting for the next visitor…**. ## Replay **Replay** plays back the last 8 hours in 15-minute steps, then returns to live. Drag the slider to jump to a moment; the label under it reads, for example, **2 h 15 min ago**, or **Live now** at the end. **Pause** stops playback. During replay the map shows how many visitors were active in each step by country, the count at the top shows that step's visitors, and the Referrers and Devices lists, visitor cards and estimated value are hidden. ## Buying signals and estimated value Every online visitor gets a buying signal from what they actually did. It is an estimate, not a prediction model: | Signal | When | Weight | | --- | --- | --- | | **Hot** | Has paid before | 5× | | **Warm** | Completed a goal in this visit | 3× | | **Mild** | Viewed a pricing or checkout-like page in this visit (a path segment named pricing, plan, plans, checkout, billing, upgrade, subscribe, cart, buy or purchase) | 1.5× | | **Cold** | Just browsing | 0.5× | Dots are coloured by signal, and Warm and Hot dots are drawn larger. A visitor's **Estimated value** is your revenue per visitor over the last 30 days times their signal's weight. The panel's **est. value** adds these up for everyone online. Without revenue in the last 30 days, no values are shown. ## Toolbar buttons At the top right: - **Radio** plays ambient music generated on your device, with four stations: Lo-fi beats, Deep space, Jazz lounge and Warehouse. The player has previous and next station, play/pause (Space also works while it's open), mute, a playlist and volume. The button doesn't appear in browsers that can't play it. - **Fullscreen** (or F) hides the filters, replay and buttons for a clean map. **Exit fullscreen**, F or Esc bring them back. - **Change avatar style**: **Initials**, **Shapes**, **Rings**, **Pixel** or **Bauhaus**, for the avatars on the map and in the feed. Remembered on this device. - **Share** opens **Share the live map** (see below). - **Subscription metrics** (or S) opens your subscription figures. See [Subscription metrics](https://supametrics.io/docs/subscription-metrics). - **Close** (or Esc) returns to the dashboard. ## Share the live map **Share** gives you a public, read-only link to the live map, for a screen in the office or a launch-day stream. The live map is part of the website's public dashboard, so it shares that switch: - The owner sees **Anyone with the link can view**. Turning it on asks **Make the live map public?** and turns on the public dashboard for the whole website. Turning it off asks **Turn off the public dashboard?**; the dashboard link stops working too, and turning it back on makes a new link. - Once it's on, the link appears with a **Copy** button. Members see the link but can't change the switch. Viewers don't see the **Share** button. - How long the link stays public is set in **Site settings › General**. People with the link see the live globe and counts, marked **Read-only**, with a **Dashboard** button to the public dashboard. Names, emails, revenue, estimated values, subscription metrics and the avatar picker are left out, and visitors get made-up nicknames. More about public links in [Share your dashboard](https://supametrics.io/docs/sharing). ## Keyboard shortcuts | Key | Action | | --- | --- | | Esc | Close a visitor card, then leave fullscreen, then close the map | | F | Fullscreen on or off | | S | Open subscription metrics | | Space | Play or pause the radio (while the player is open) | ## If the map doesn't load If the map can't be drawn you'll see **Map visualization unavailable**. This is usually a network problem and your analytics aren't affected. Use **Try again**, or **Back to dashboard**. --- # Visitors and visitor profiles > Find individual visitors, see where they came from, which goals they completed and what they paid, read their activity timeline, and erase a person on request. Source: https://supametrics.io/docs/visitors AnalyticsX keeps a profile for each visitor: where they came from, what they browse on, the goals they completed and what they paid. There are two places to look people up: - The **Visitors** screen at `/visitors`: a searchable list with a details panel and **Erase a person**. - The **User** tab on the dashboard's Goals card: the same visitors for the dashboard's period and filters, each opening a full profile with an activity timeline. A visitor is one browser, identified by a random ID in a first-party cookie. See [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works). ## Anonymous and identified visitors By default visitors are anonymous. Lists show them as **Anonymous visitor** (Visitors screen) or with a made-up nickname such as "cobalt heron" that stays the same for that visitor (User tab), so you can recognise someone without knowing who they are. When your site calls `identify` after a sign-up or login, AnalyticsX attaches your own user ID, email and name to the visitor: ```js window.analyticsx?.('identify', { id: 'user_123', email: 'ada@example.com', name: 'Ada Lovelace', }); ``` The name (or email, or user ID) then replaces the anonymous label everywhere, and the person can be found by email or user ID. Details are in [Tracker JavaScript API](https://supametrics.io/docs/tracker-javascript-api). ## The Visitors screen Click **Visitors** in the left rail, or go to `https://app.supametrics.io/visitors`. It lists **Everyone seen on your-domain, most recent first**. ### Controls - **Last 7 days** / **Last 30 days**: the period. 30 days is the default. Only visitors with a visit in the period are listed. - **Search by visitor ID, email or name**: matches the start of a visitor ID, or a user ID exactly, or part of an email or name. Results update as you type. - **Paying visitors only**: lists only visitors with a payment (the heading changes to **Paying visitors**). - **Erase a person**: see [Erase a person](#erase-a-person). The period, search, switch and page are kept in the URL (`?period=7d&converted=1&q=…&page=…`). ### The list | Column | Shows | | --- | --- | | **Visitor** | Name, email or user ID if identified, else **Anonymous visitor**, with the first 8 characters of the visitor ID | | **Source** | The most recent referral that brought them (a later direct visit doesn't hide it), or **Direct/None** | | **Country, device** | From their latest visit | | **Goals** | Goals they have completed (two shown, then **+N**) | | **First seen** | The date of their first visit | | **Last seen** | How long ago they were last active | | **Paid** | What they've paid, all time, in the website's currency | The list shows 50 visitors per page. Use **Newer** and **Older** to move between pages. On phones the rows are stacked, and tapping the short visitor ID copies the full one. ### The details panel Click a visitor to show them in the panel on the right (on wide screens). It shows their name and email, a **Paying** badge if they paid, the full visitor ID with a copy button, **Paid**, the number of **Goals** and **Source**, their **Country, device**, **First seen** and **Last seen**, the goals they completed, and **Erase this person**. Copying the visitor ID is useful for finding the same person in Stripe metadata or support tools. ## The User tab on the dashboard On the dashboard, the Goals card's **User** tab lists visitors for the dashboard's current period and filters, most recently active first. Search with **Search visitors**. | Column | Shows | | --- | --- | | **Visitor** | Name, email or nickname, a **Customer** badge if they paid, and their country, device, OS and browser | | **Source** | Their most recent referral | | **Spent** | What they've paid, all time | | **Last seen** | For example "Today at 4:31 PM", with seven dots for the last seven days (filled on days with a visit) | **Load more** adds the next 50. Click a visitor to open their profile. ## Visitor profiles A profile opens as a panel from the bottom of the screen. ### Profile On the left: - Initials, the name (identified name, email or nickname), a **Customer** badge if they have payments, and their email. - Country and city, device (with screen size, for example 1440×900), OS and browser, from their latest visit. - A table of parameters: `visitor_id`, `user_id` (if identified), `visits` (all time), `spent` and `first_seen`. - For anonymous visitors, **+ Add parameters** shows the `identify` call to attach your own user ID, email and name. They appear on the visitor's next event. ### Activity timeline On the right, everything the visitor did, grouped by day: - **Found the site via** *source*, at the start of each visit - **Viewed page** *path*, with "(3) times" when they viewed it several times in a row - **Goal** *name* - **Left via** *link* (an outbound link click) - **Paid**, **Renewed** or **Refunded** *amount*, highlighted Use **Newest first** / **Oldest first** to flip the order, and **Copy** to copy the timeline as text. The timeline loads 100 events at a time; **Show next 100 events** loads more. If the visitor's data has been erased or has expired, the profile says **This visitor's data is gone (erased or expired).** ## Erase a person Use this to answer a deletion request (for example under GDPR). Only the website's owner can erase. 1. On the Visitors screen, click **Erase a person**, or **Erase this person** in the details panel (which fills in their email or visitor ID). 2. Enter an **Email, user ID or visitor ID**. Matching is exact. Email and user ID only work for visitors your site identified. 3. Click **Find**. AnalyticsX says how many visitor IDs (and payments) match, or **Nobody matches that.** 4. Click **Erase** to delete. This can't be undone. Erasing deletes the person's visits, pageviews, goal completions and identity, across all time, for every visitor ID that matches (one person can have a visitor ID per browser, linked by `identify`). Their payments stay in your revenue, since they are your financial records, but lose the link to the person; the payment's source and campaign are kept. More about data retention and deleting data in [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data). ## Who can see visitors The owner, members and viewers can all see the Visitors screen and profiles. Only the owner can erase a person, so members and viewers don't see **Erase a person** or **Erase this person**. See [Team members and roles](https://supametrics.io/docs/team-and-roles). ## Common questions **Why does the same person appear twice?** Each browser has its own visitor ID. Call `identify` on login so the person can be found by email or user ID across browsers; they are still listed once per browser. **Why is a paying customer anonymous?** The payment was linked to the visitor, but your site never called `identify` for them. The visitor ID is still shown, so you can match it with Stripe. **Why doesn't the Visitors screen follow my dashboard filters?** It has its own period (7 or 30 days) and no filters. Use the Goals card's **User** tab for the dashboard's period and filters. --- # Bots and AI crawlers > See when AI assistants, search engines and model-training crawlers request your pages, by forwarding crawler requests from your server to AnalyticsX. Source: https://supametrics.io/docs/bot-tracking See when AI assistants (ChatGPT, Claude, Perplexity), search engines (Googlebot, Bingbot) and model-training crawlers (GPTBot, ClaudeBot, CCBot) request your pages. Crawlers fetch raw HTML and never run JavaScript, so the tracking script can't see them. Your server has to forward their requests to AnalyticsX. The dashboard's **Bot traffic** card then shows them, kept apart from your human analytics: bot hits never count as visitors, visits or pageviews. ## Crawler categories | Tab | Means | Examples | | --- | --- | --- | | **AI answers** | An assistant opened your page because someone asked it a question | ChatGPT-User, Claude-User, Perplexity-User, Gemini-Deep-Research, MistralAI-User, DuckAssistBot | | **Indexing** | Search and answer-engine indexes | Googlebot, Bingbot, OAI-SearchBot, Claude-SearchBot, PerplexityBot, Applebot, Amazonbot, DuckDuckBot, YandexBot, Baiduspider | | **Training** | Collecting public pages for model training | GPTBot, ClaudeBot, CCBot, Bytespider, Google-Extended, Applebot-Extended, Meta-ExternalAgent | | **Other** | SEO tools, link previews and other known crawlers | AhrefsBot, SemrushBot, facebookexternalhit, BingPreview, GoogleOther | The **Other** tab appears only when such crawlers show up. Requests from anything that isn't a known crawler are dropped. ## Set it up On the dashboard, the Bot traffic card shows **No bot traffic detected yet** until the first hit arrives. Click **Set up bot tracking** to open the setup dialog. It shows your **Ingest URL** and a ready-made snippet for **Node / Express**, **Next.js**, **Cloudflare Worker** and **curl**, with your URL already filled in. The same snippets are below. Each snippet skips ordinary visitors with a coarse pattern before sending anything, sends the crawler's request after your page has been served, and ignores failures, so it never slows your site down. ## The API ```bash POST https://app.supametrics.io/api/bots/ Content-Type: application/json { "userAgent": "...", "href": "https://yoursite.com/pricing", "statusCode": 200 } ``` - The public id is the same one as in your tracking snippet (`data-site="…"`). The **Set up bot tracking** dialog shows the full URL. - Send one hit, or an array of up to 50. The body can be at most 16 KB. - `statusCode` is optional (100–599). `ip` is optional: the crawler's IP, used only to verify it and never stored. - AnalyticsX classifies the user agent. Anything that isn't a known crawler is dropped, and so is any `href` that isn't on your website's domain, a subdomain or one of its additional domains (any host when **Allow all domains** is on). Only the path is stored, without the query string. - Responses: `202 {accepted, ignored, rejected}`, `400` for a malformed body, `401` for a missing or wrong bot token (see [Request authentication](#request-authentication)), `403` when a single hit's URL is on another domain (in a batch it's counted as rejected), `404` for an unknown site, `413` over 16 KB, `429` when rate limited. `ignored` counts hits that aren't known crawlers, crawlers you switched off, unverified hits while **Verified crawlers only** is on, and hits over your plan's bot allowance. `rejected` counts URLs that aren't on your website. Never wait for the response: send it after your page is served and ignore failures. ### Bot allowance Bot requests don't count against your plan's event limit. They have their own allowance per billing cycle, shared by all your websites, and an add-on adds more. Hits over the allowance are answered `202` and counted as ignored, not stored. See [Plans, billing and event limits](https://supametrics.io/docs/billing). ## Node / Express ```js // Forward crawler requests to AnalyticsX after the response is sent. const AX_BOTS = 'https://app.supametrics.io/api/bots/'; const CRAWLER = /bot|crawl|spider|preview|chatgpt|claude|anthropic|perplexity|gemini|google-|googleother|meta-external|facebookexternalhit|mistralai|cohere/i; app.use((req, res, next) => { const ua = req.get('user-agent') || ''; if (CRAWLER.test(ua)) { res.on('finish', () => { fetch(AX_BOTS, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ userAgent: ua, href: `${req.protocol}://${req.get('host')}${req.originalUrl}`, statusCode: res.statusCode, ip: req.ip, // lets AnalyticsX verify the crawler; never stored }), signal: AbortSignal.timeout(2000), }).catch(() => {}); }); } next(); }); ``` Behind a proxy, set `app.set('trust proxy', true)` so `req.protocol` is `https` and `req.ip` is the crawler's address. ## Next.js (middleware.ts) ```ts import { NextResponse, type NextFetchEvent, type NextRequest } from 'next/server'; const AX_BOTS = 'https://app.supametrics.io/api/bots/'; const CRAWLER = /bot|crawl|spider|preview|chatgpt|claude|anthropic|perplexity|gemini|google-|googleother|meta-external|facebookexternalhit|mistralai|cohere/i; export function middleware(req: NextRequest, event: NextFetchEvent) { const ua = req.headers.get('user-agent') ?? ''; if (CRAWLER.test(ua)) { event.waitUntil( fetch(AX_BOTS, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ userAgent: ua, href: req.url, ip: req.headers.get('x-forwarded-for')?.split(',')[0]?.trim() }), signal: AbortSignal.timeout(2000), }).catch(() => {}), ); } return NextResponse.next(); } export const config = { matcher: ['/((?!_next/|api/|favicon.ico).*)'] }; ``` Middleware runs before the page, so it can't report the status code. ## Cloudflare Worker ```js const AX_BOTS = 'https://app.supametrics.io/api/bots/'; const CRAWLER = /bot|crawl|spider|preview|chatgpt|claude|anthropic|perplexity|gemini|google-|googleother|meta-external|facebookexternalhit|mistralai|cohere/i; export default { async fetch(request, env, ctx) { const response = await fetch(request); const ua = request.headers.get('user-agent') || ''; if (CRAWLER.test(ua)) { ctx.waitUntil( fetch(AX_BOTS, { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ userAgent: ua, href: request.url, statusCode: response.status, ip: request.headers.get('cf-connecting-ip') ?? undefined, }), }).catch(() => {}), ); } return response; }, }; ``` ## Any other backend (curl) Send the same JSON from PHP, Python, Go or Rails. To check the setup, send one test hit: ```bash curl -X POST 'https://app.supametrics.io/api/bots/' \ -H 'content-type: application/json' \ -d '{"userAgent":"Mozilla/5.0 (compatible; GPTBot/1.2; +https://openai.com/gptbot)","href":"https://yoursite.com/pricing","statusCode":200}' ``` The answer should be `202 {"accepted":1,"ignored":0,"rejected":0}`, and GPTBot appears under **Training** on the dashboard. ## The Bot traffic card The card is titled **Bot traffic**, with "crawler requests to your pages · not counted as visitors". It follows the dashboard's period; dashboard filters (country, page, source…) apply to human visits only and don't change it. - **Tabs**: **AI answers**, **Indexing**, **Training** (and **Other** when present), each with its number of requests. The card opens on the first tab with traffic. - **Chart**: requests over the period, one line per crawler (up to 8). Hover for each crawler's count per bucket. - **N crawlers**: a menu of the tab's crawlers with their request counts. Untick crawlers to take them off the chart; **Select all** puts them back. This changes the chart only, not what is stored. - **Crawler chips** under the chart: click one to show its details in the side panel. - **Group by pages** (the layers button): switches the chart to one line per page, for the 8 most requested pages in the tab. Click it again to group by crawlers. - **Side panel**: the selected crawler, with "N crawls · period · tab" and its most requested pages (up to 20), searchable with **Filter pages**. Grouped by pages, it lists the top pages instead, and selecting a page names the crawlers that requested it. - **Crawler files**: requests for `robots.txt`, `llms.txt`, `llms-full.txt` and sitemaps. - **Settings** opens the settings (see below), and **Hide card** hides the card. The line under the card says how crawlers were identified: by user agent only, how many requests were IP-verified, or that **Verified crawlers only** is on. If crawlers have visited before but not in the selected period, the card says **No bot traffic in this period**. ### Preview and hiding - **Preview with sample data** shows the full card with made-up numbers, under a banner saying **Sample data — not your website's traffic.**, with **Set up bot tracking** and **Exit preview**. - **Hide this card** (or **Hide card**, or **Hide bot traffic card** in settings) hides the card for everyone on the website. A line at the bottom of the dashboard then says **Bot traffic card hidden.** with **Show it again**. The same switch is in **Site settings › Dashboard › Bot traffic card**. See [Dashboard settings](https://supametrics.io/docs/settings-dashboard). - Viewers can't change website settings, so when a viewer hides the card it is hidden on their device only. ## Bot traffic settings Click the sliders button (or **Settings**) on the card to open **Bot traffic settings**. Every switch saves at once, for everyone on the website. The owner and members can change them; viewers see them read-only. ### Verified crawlers only User agents are easy to fake. When a hit carries `ip`, AnalyticsX checks it the way the crawler's operator documents: reverse DNS plus a forward lookup for Google, Microsoft (Bing), Apple, Amazon, Yandex, Baidu and Huawei, and the published IP ranges for OpenAI and Perplexity. Other crawlers can't be verified. With **Verified crawlers only** on, only hits whose IP checks out are stored. Your integration must send each crawler's `ip`, and crawlers that can't be verified are not stored while it's on. ### Crawler ingestion A list of crawler companies (OpenAI, Anthropic, Google, Microsoft, Perplexity…), with a badge saying how many are off. Switch a company off to stop storing all its crawlers, or expand it to switch single agents. Each agent shows its kind (**AI assistant**, **Search index**, **AI training** or **Web crawler**), a one-line description and **IP-verifiable** where it can be verified. Requests from switched-off crawlers are answered but not stored. ### Request authentication Anyone who knows your public id could send fake bot hits. A private token stops that: 1. Click **Create token**. The token (starting `axbot_`) is shown once: copy it then. 2. Store it on your server, for example in an environment variable `AX_BOT_TOKEN`, never in client code. 3. Send it with each request as `Authorization: Bearer ` (or `X-AnalyticsX-Token: `). With a token, the setup dialog's snippets already include this header. 4. Turn on **Reject unauthenticated requests** to refuse requests that don't send a token. A wrong or old token is always refused with `401`. **Rotate** makes a new token and stops the old one at once. **Delete** removes the token; requests without a token are accepted again, and requests still sending the old one are refused. ### Install guide and hiding **Install guide** opens the setup dialog with the snippets. **Hide bot traffic card** hides the card (see above). ## Common questions **Why don't crawlers show up in my visitor numbers?** They're kept separate on purpose. Crawlers that do run JavaScript are filtered out of normal tracking too. **I sent a hit and got `ignored: 1`.** The user agent isn't a known crawler, the crawler is switched off, **Verified crawlers only** is on and the IP didn't verify, or your account has used its bot allowance for this cycle. **Is the crawler's IP address stored?** No. It's used only for verification. --- # Goals > Create goals for the actions you care about, test them, and read their completions on the Goals screen and the dashboard. Source: https://supametrics.io/docs/goals A goal is a conversion you care about: reaching a thank-you page, clicking a pricing button, finishing a signup. AnalyticsX checks every visit against your goals as it arrives and records a **completion** each time a goal's rule matches. Goals count **from the moment you create or turn them on**. Earlier visits are never counted retroactively, and a goal that is turned off counts nothing until you turn it back on. ## Where to manage goals - The **Goals** screen at `/goals` (for example https://app.supametrics.io/goals): **Manage goals** in the left rail. You can also open it from the dashboard's Goals card (**+** › **Open the Goals page**, or **Create a goal**), or from a goal waiting for its first completion (**Set up this goal**). - **Site settings › Dashboard**, which lists the same goals with the same **New goal** dialog. Owners and members can create, edit, turn off and delete goals. Viewers see the goals read-only: the switches are disabled and there is no **New goal**, edit or delete button. See [Team members and roles](https://supametrics.io/docs/team-and-roles). ## Goal types When you create a goal you pick what completes it under **Completes when**. ### URL path Completes when a visitor views exactly that path. - Enter the path only, starting with `/`, for example `/thank-you`. A path that doesn't start with `/` is rejected. - The query string is ignored (`/thank-you?plan=pro` counts) and so is a trailing slash (`/thank-you/` counts). - It's an exact, case-sensitive match: `/thank-you` does not match `/thank-you/team` or `/Thank-You`. - In single-page apps, route changes count like page loads. To count a group of pages (everything under `/docs/`, say), use a funnel page step with **Starts with** or **Wildcard pattern** instead: see [Journeys and funnels](https://supametrics.io/docs/journeys-and-funnels). ### Element click Completes when a visitor clicks an element matching a CSS selector, or anything inside it. - Give the element an id or class you control, for example ` ``` The goal never completes until your site sends the event. Until its first completion, the goal shows **Waiting for your code to send** followed by the event name and the line to copy. Sending goals from your server is not available yet: the **API** tab of the **Add goals** dialog is marked **Soon**. Send them from the browser for now. More on the tracker calls in [Tracker JavaScript API](https://supametrics.io/docs/tracker-javascript-api). ## Create a goal 1. Click **New goal** (on the Goals screen or in **Site settings › Dashboard**). 2. Enter a **Name** (up to 64 characters), for example `Signed up`. The name is what reports show. 3. Under **Completes when**, pick **URL path**, **Element click** or **JavaScript event**. 4. Fill in **Exact path**, **CSS selector** or **Event name** (up to 300 characters for paths and selectors, 64 for event names). 5. Click **Create goal**. A website can have up to **50 goals**. New goals are on straight away. ## Edit, turn off and delete Each goal on the Goals screen has a switch, an edit button and a delete button. - **Switch**: turns the goal off or on. A goal that is off shows an **Off** badge, keeps its past completions, and stops counting new ones. - **Edit** opens **Edit goal**, where you can change the name, the type and the rule. If you change what an existing goal listens for, a warning says that the old rule stops counting and that its completions from the last 30 days stay with the goal. The new rule applies to visits from now on. - **Delete** asks for confirmation. A deleted goal's completions drop out of every total and chart, alerts on that goal stop matching, and if it was your #1 KPI the dashboard goes back to revenue. ## The Goals screen The Goals screen always covers the **last 30 days**, whatever date range the dashboard is set to. - **Completions, 30 days**: every completion of every goal. A visitor who reaches `/thank-you` twice counts twice. - **Converting visitors**: unique visitors who completed at least one goal. - **Goal conversion rate**: converting visitors divided by all visitors in the same 30 days. - **Goals running**: goals switched on out of all goals, with the time of the last completion. - **Completions by day**: all goals together, per day. - **Goal conversion**: one row per goal with its type, rule, last completion (time and page), and its **Completions**, **Visitors** (unique) and **Conversion rate** (the goal's visitors divided by all visitors). ## Test a goal Do the action on your live site in a normal browser window, not one you excluded with `?ax_ignore=true` (see [Exclusions](https://supametrics.io/docs/exclusions)). Within seconds the goal on the Goals screen shows **Last completed** with the time and the page. That is the test result. The time refreshes at most once a minute, so a second test right after the first may still show the earlier time while the completion itself is counted. A goal that has never completed shows **Not completed yet. Trigger it on your site to test; it shows here within seconds.** (or, for a JavaScript event goal, the line of code it is waiting for). ## Received but not a goal When your site sends a custom event that no JavaScript event goal matches, its name is listed under **Received but not a goal** on the Goals screen and in **Site settings › Dashboard**. Such events are not counted anywhere until a goal matches them. - Each name shows how many times it arrived and when it was last seen. The count is updated about once a minute. - **Close to** points out a goal with a similar name, such as `sign_up` next to a goal for `signup`. - **Create goal** opens **New goal** with the name filled in. - **Use for "…" goal** edits the similar goal so it listens for this name instead (the dialog warns you before saving). - Up to 50 names are kept per website. When the list is full, names not seen for 30 days make room for new ones. A name disappears from the list as soon as a goal (even a turned-off one) matches it. ## The Goals card on the dashboard The dashboard's Goals card has four tabs: **Goal**, **Funnel**, **User** and **Journey**. It follows the dashboard's date range and filters. See [The site dashboard](https://supametrics.io/docs/dashboard). ### Goal tab - A line chart of completions over time, one line per visible goal (up to 8). Your KPI goal comes first, then the most completed. - The goal list beside it shows each goal's completions in the period and the percentage of the period's unique visitors who completed it. **Search goals** narrows the list. - **Goal visibility** (the sliders button, owners and members only) chooses which goals appear in the chart and list. A hidden goal is still tracked and counted everywhere else. - **Add goals** (the **+** button) shows the JavaScript and HTML snippets and links to the Goals screen. - Completions are counted in the period they happened in, for visits that match the dashboard filters. ### Goal details Click a goal in the list to open its details: - A sentence with its completions, the unique visitors who completed it, and their share of the period's visitors. - **utm_content**: completions split by the visit's `utm_content` value (top 20), with `(none)` for visits without one. - Actions: - **Edit** opens **Customize goal**: the **Tracking ID** (the rule, read-only here), **Name**, **Description** (up to 300 characters, shown in the details) and one of 18 **Colour** swatches. To change the rule itself, use **Edit** on the Goals screen. - **Hide** removes the goal from the chart and list (undo it in **Goal visibility**). - **Set as KPI** makes it the website's key goal: it is listed first, marked **KPI**, and becomes the #1 KPI on the dashboard. Only one goal can be the KPI goal; setting another one replaces it. The same choice is in **Site settings › General** under **#1 KPI**. - **Filter** filters the dashboard to visits that completed this goal. - **Funnel** opens the funnel builder with this goal as a step. - **Journey** opens the Journey tab for this goal. Viewers see only **Filter** and **Journey**. ### Funnel, User and Journey tabs - **Funnel** builds step-by-step funnels from page visits and goals. See [Journeys and funnels](https://supametrics.io/docs/journeys-and-funnels#funnels). - **User** lists the period's visitors. See [Visitors and visitor profiles](https://supametrics.io/docs/visitors). - **Journey** lists the visitors who completed one goal, with how long it took them. See [Journeys and funnels](https://supametrics.io/docs/journeys-and-funnels#goal-journey-tab). ## Goals elsewhere - **Details › Goals** shows goal figures over any date range, including **Goal conversions** with revenue per goal. See [Details pages](https://supametrics.io/docs/details-pages). - Goal completions can trigger alert emails. See [Email reports and alerts](https://supametrics.io/docs/reports-and-alerts). - The **Visitors** screen lists which goals each visitor completed. ## Common questions **Why didn't my old visits count?** Goals are checked when a visit arrives. A goal created today counts from today. **My event goal shows nothing.** Check **Received but not a goal**: a name that differs in case or spelling (`Signup`, `sign_up`) shows up there. Then check that the call runs after the action and that the script isn't blocked. **Does one visitor count more than once?** Completions count every time; **Visitors** counts each person once. --- # Journeys and funnels > See the paths visitors take through your site and build step-by-step funnels to find where they drop off. Source: https://supametrics.io/docs/journeys-and-funnels AnalyticsX has three ways to look at how visitors move toward a conversion: - **User journeys** list the most common real paths: where a visit came from, the pages it viewed in order, and whether it ended in a goal or left. Nothing to set up. - **Funnels** follow the steps you define (page visits and goals) and show how many visitors reach each step. - The Goals card's **Journey** tab lists the individual visitors who completed one goal and how long it took them. All three follow the dashboard's date range and filters. See [Date ranges, filters, segments and notes](https://supametrics.io/docs/filters-and-date-ranges). ## User journeys Open **Details** in the sidebar, pick a lens (**Traffic**, **Goals** or **Revenue**), then **User journeys**. The address is `/details//journeys`, for example `/details/goals/journeys`. Each lens's overview page also has a journeys card with the top four paths and a **View all** link. ### How a journey is built Each visit becomes one path: 1. **Source**: where the visit came from (a search engine, a social site, a campaign, or Direct). 2. **Pages**: the pages viewed in the visit, in order. Viewing the same page several times in a row counts as one step, and a path keeps at most 12 pages. 3. **End**: the first goal the visit completed after its first page, or **Exit** if it completed none. The path stops at that goal. Visits with the same source, the same pages and the same end are grouped into one journey. Journeys are counted by **visitor**: someone who walks the same path in three visits counts once under **Visitors**. On busy sites, journeys are built from the **5,000 most recent visits** in the period. The page then says **Based on the N most recent visits in this period.** ### The journeys list The view switch at the top has two views: - **Top journeys**: the journeys ranked by the lens's measure (visitors on **Traffic**, goal completions on **Goals**, revenue on **Revenue**). Up to 100 are loaded; 30 show at first, with **Load more** and **Show all**. - **By source**: each source's most common path, with how many different paths start from that source. The arrow button opens that journey in **Top journeys**. Each row shows four figures, depending on the lens: | Lens | Figures | |---|---| | Traffic | Visitors, Steps, Pageviews, Avg. time | | Goals | Visitors, Steps, Completions, Conv. rate | | Revenue | Visitors, Steps, Customers, Revenue | - **Steps** is the number of pages plus the end (goal or exit). - **Avg. time** is the average time from the first page to the goal or the last page. - **Pageviews** counts all page views in these visits up to the goal, repeats included. - **Completions** counts visits on this journey that ended in the goal. - **Conv. rate** (journeys ending in a goal): this journey's visitors divided by the visitors from the same source whose visit followed the same pages, however their visit ended. - **Revenue** and **Customers** count the payments credited to these visits. See [Revenue and attribution](https://supametrics.io/docs/revenue). **Break down by** narrows the list to one **Browser**, **Device** or **OS**, or to journeys ending in one **Goal**. The menus offer the period's top values. On the **Goals** lens, the **Goal** selector at the top of the page focuses everything on one goal: each path then ends at that goal's first completion (other goals are passed over), and only journeys that end in it are listed. ### Journey details Select a journey to see it step by step below the list: - Four figures: **Visitors**, **Steps**, then **Completed goal** (or **Walked the whole path** for a journey ending in Exit, or **Revenue** on the Revenue lens), and **Avg. time on journey**. - A flow of boxes, five to a row: read left to right, follow the arrow down, then right to left. The first box is the source with all its visitors. Each page box shows how many visitors from that source were still on the path at that step (their visit's first pages matched the path so far), the average time since the step before, and the drop-off from the previous box. The last box is the goal (with completions, or revenue and paying customers on the Revenue lens) or **Left site**. - **Filter dashboard** opens the dashboard filtered to visits from that source that landed on the journey's first page (and completed its goal, if it has one). - **Copy path** copies the journey as text, for example `Google › / › /pricing › signup`. **Export** on the Details page downloads the loaded journeys as a CSV file with the same figures. ## Funnels A funnel is an ordered list of steps you choose. It shows how many visitors reached each step, the share of step 1 that got there, the drop-off from the step before, and the revenue from the visitors at each step. Funnels live on the dashboard's Goals card, in the **Funnel** tab. See [The site dashboard](https://supametrics.io/docs/dashboard). ### Create a funnel 1. Open the **Funnel** tab and click **Create funnel** (or **New funnel** when you have one already). 2. Enter a **Funnel name**, for example `Purchase flow`. 3. Under **Add a step**, give the step a **Step name**, pick **Page visit** or **Goal**, fill in the match, and click **Add step**. 4. Repeat until you have the steps you want, then click **Create funnel**. A funnel needs **2 to 8 steps**. Step names and funnel names can be up to 80 characters. A website can have up to **20 funnels**. **Suggested steps** add common ones in one click: **Visit landing page** (`/`), **Visit pricing** (`/pricing`) and **Sign up** (a goal named `signup`). You can remove a step before saving with its **×** button. A funnel can't be edited after it is created: to change one, create a new funnel and delete the old one. Closing the builder with unsaved changes asks **Discard changes?** first. The **Funnel** action in a goal's details on the Goals card opens the builder with that goal as the first step. Owners and members can create and delete funnels. Viewers can look at funnels; they don't get **Create funnel**, **New funnel** or the delete button. ### Page visit steps A page step matches a pageview whose path passes the rule you choose under **Where URL**: | Rule | Matches when the path... | |---|---| | **Equals** | is exactly the value | | **Contains** | contains the value | | **Starts with** | starts with the value | | **Ends with** | ends with the value | | **Does not equal** | is anything but the value | | **Does not contain** | doesn't contain the value | | **Wildcard pattern** | matches the pattern, where `*` stands for any run of characters (`/blog/*`, `/blog/*-launch`) | - The path has no query string and no trailing slash (`/pricing?plan=pro` and `/pricing/` are both `/pricing`). - Matching is case-sensitive. - **Filter by hostname (optional)** limits the step to visits on one hostname, picked from the hostnames your site received visits on in the last 30 days. Useful when your site spans `example.com` and `app.example.com`. ### Goal steps A goal step matches a completion of the goal whose **name** is exactly the value you enter under **Goal name** (case-sensitive). It uses the goal's current name, so renaming a goal keeps its earlier completions in the funnel, but a funnel that names the old name stops matching. Enter the goal's name as shown on the Goals screen, not its event name or path. ### How visitors are counted - Each visitor's page views and goal completions in the period are taken in time order. A visitor reaches step 1 at the first event matching it, step 2 at the first matching event after that, and so on. Other pages in between don't matter, and the steps can happen across several visits within the period. - A visitor counts once per step, at the furthest step they reached. - Only visits that start in the selected period and match the dashboard filters are used. - On busy sites the funnel is computed from up to 20,000 visitors in the period, and says **Based on a sample of visitors in this period.** ### Reading the funnel Each step is a column: - **Visitors** who reached the step. - **% of step 1**: visitors at this step divided by visitors at step 1. The bar height shows the same share. - **drop-off** (from step 2 on): the share of the previous step's visitors who didn't reach this one. - **Revenue** (shown when there is any): what the visitors who reached the step paid in the period, in your website's currency, following your revenue settings. A payment counts whether it was made before or after the step, as long as it falls in the period. **Delete** (the bin button next to the funnel picker) removes the funnel definition. Your data isn't affected. ## Goal Journey tab The dashboard Goals card's **Journey** tab lists the visitors who completed one goal in the period, latest completion first. Pick the goal with **Goal:** (it shows each goal's completions in the period) and use **Search visitors** to find someone by visitor ID, name, email or user ID. For each visitor: - **Visitor**: their name or a stand-in name, flags for country, device, OS and browser of the visit with their latest completion, a **Customer** badge if they paid, and how many times they completed the goal. - **Source**: the most recent non-direct visit before their latest completion, or **Direct/None**. - **Spent**: everything they have paid, in your website's currency. - **Time to complete**: from their first visit ever to their first completion of this goal ever, for example `3m`, `5h` or `2d 4h`. - **Completed at**: their latest completion in the period. Click a row to open the visitor's profile. 50 visitors load at a time; **Load more** adds the next 50. See [Visitors and visitor profiles](https://supametrics.io/docs/visitors). ## Common questions **Why is a journey's conversion rate different from the goal's conversion rate?** A journey's rate only compares visitors on the same source and pages. The goal's rate on the Goals screen divides by all visitors. **My funnel's goal step shows 0.** Check that the step's value is the goal's name exactly as on the Goals screen, including case. **Why does a journey end before my thank-you page?** A path stops at the first goal the visit completed. If a goal fires earlier in the visit, the journey ends there. --- # Connect Stripe > Send your Stripe payments to AnalyticsX with a webhook, pass the visitor ID so each payment is credited to the visit that brought the buyer, and test it. Source: https://supametrics.io/docs/connect-stripe AnalyticsX records **paid Stripe payments**: one-time payments made with Checkout, Payment Links or the Payment Element, and **subscription invoices** (the first one as new revenue, later ones as renewals). It credits each one to the visit that brought the buyer. Refunds come off revenue on the day they're issued. Stripe is the only payment provider supported today. The other providers in the **Payment provider** list (Polar, LemonSqueezy, Paddle, DodoPayments, Easytool, Other) are marked **Soon** and can't be picked yet. ## Where to set it up - **Site settings › Revenue** (`/settings/revenue`), in the **Stripe** section. It walks through five steps and ticks each one off, with the connection status as a badge next to the title. - The **Revenue** screen (`/revenue`) has the same steps (numbered 1 to 4, without the provider pick) next to your revenue figures. See [Revenue and attribution](https://supametrics.io/docs/revenue). Set it up in **Stripe test mode** first, check it end to end, then repeat for live mode. ### Who can connect Stripe Owners and members can paste the signing secret, disconnect Stripe, clear test payments and change every revenue setting. Viewers can read the setup and the connection status, but can't change anything: they see **You have view-only access, so the owner or a member connects Stripe.** See [Team members and roles](https://supametrics.io/docs/team-and-roles). ## 1. Pass the visitor ID into the payment This is what links a payment to a visit. Without it the payment still counts towards revenue, but as **Unattributed**. The step is ticked once some of your payments carry a visitor ID. ### Checkout Sessions (your server creates the session) Read the visitor ID in the browser and send it with your checkout request: ```js const visitorId = window.analyticsx?.('visitorId'); // null if the script is blocked or consent is missing await fetch('/api/checkout', { method: 'POST', body: JSON.stringify({ priceId, visitorId }) }); ``` Put it in the session's metadata as `ax_visitor_id`: ```js const session = await stripe.checkout.sessions.create({ mode: 'payment', line_items: [{ price: priceId, quantity: 1 }], metadata: { ax_visitor_id: visitorId ?? '' }, success_url: 'https://example.com/thank-you', }); ``` ### Payment Links Add the visitor ID as `client_reference_id` on the link when the page loads: ```js const a = document.querySelector('a[href^="https://buy.stripe.com/"]'); const visitorId = window.analyticsx?.('visitorId'); if (a && visitorId) a.href += (a.href.includes('?') ? '&' : '?') + 'client_reference_id=' + visitorId; ``` `metadata.ax_visitor_id` is used first; `client_reference_id` is the fallback. ### Subscriptions Pass the visitor ID the same way: in the metadata of a `mode: 'subscription'` Checkout Session, as `client_reference_id` on a Payment Link, or in the subscription's own metadata when your server creates it: ```js const subscription = await stripe.subscriptions.create({ customer: customerId, items: [{ price: 'price_monthly' }], metadata: { ax_visitor_id: visitorId || 'none' }, }); ``` Every invoice of the subscription is credited to the source that won the customer, including renewals months later. If a subscription carries no visitor ID, AnalyticsX uses one from another subscription of the same Stripe customer, when it has one. ### Payment Element (or any PaymentIntent you create yourself) Send the visitor ID to your server as above, and put it in the PaymentIntent's metadata. Always set it, using `'none'` when the script was blocked: ```js const paymentIntent = await stripe.paymentIntents.create({ amount: 4900, currency: 'usd', metadata: { ax_visitor_id: visitorId || 'none' }, }); ``` PaymentIntents **without** `ax_visitor_id` are ignored. Stripe also creates PaymentIntents for subscriptions and invoices, and since API version 2025-03-31 a PaymentIntent no longer says where it came from, so the tag is how AnalyticsX knows it's a one-time payment. `'none'` counts the payment as **Unattributed**. Checkout payments have a PaymentIntent too. If you use both, each sale is still recorded once. > **Note:** Sites set up before AnalyticsX's rename may send `df_visitor_id`. It still works. ## 2. Add the webhook endpoint in Stripe In the Stripe Dashboard (test mode on), go to **Developers › Webhooks › Add endpoint**: - **Endpoint URL**: copy it from AnalyticsX with **Copy URL**. It looks like `https://app.supametrics.io/api/webhooks/stripe/YOUR_SITE_KEY`, and is different for every website. - **Events**: - one-time payments: `checkout.session.completed` and `checkout.session.async_payment_succeeded`, plus `payment_intent.succeeded` if you use the Payment Element; - subscriptions: `invoice.paid`, `customer.subscription.created`, `customer.subscription.updated` and `customer.subscription.deleted`. Without them, subscription payments, renewals, MRR, the **Subscription metrics** panel and the **Product filter** in **Site settings › Revenue** get no data. - refunds: `charge.refunded`, `refund.created` and `refund.updated`. Each refund comes off revenue on the day it was issued, credited to the same source as the payment (**Site settings › Revenue** › **Subtract refunds from revenue** turns this off). AnalyticsX also understands `invoice.payment_succeeded`, `customer.subscription.paused`, `customer.subscription.resumed`, `customer.subscription.trial_will_end`, `refund.failed` and `charge.refund.updated` if you send them, but they aren't needed. Other events are accepted and ignored. ## 3. Paste the signing secret Open the endpoint in Stripe, reveal its **Signing secret** (starts with `whsec_`) and paste it into AnalyticsX, then click **Connect** (**Save** on the Revenue screen). Anything that doesn't look like a signing secret is refused with **A Stripe signing secret starts with whsec_**. The secret is stored for this website only and shown masked afterwards (`whsec_••••` and its last four characters). Viewers never see it. Every webhook's signature is checked against this secret. A webhook with a wrong or missing signature is rejected and **never** creates revenue; the status then shows **Signature failing**, with the time of the **Last rejected** webhook. ## 4. Test it Either: - buy something on your site in test mode with the card `4242 4242 4242 4242` (any future date, any CVC), or - run `stripe trigger checkout.session.completed` with the [Stripe CLI](https://docs.stripe.com/stripe-cli). This payment has no visitor ID, so it appears as Unattributed. The screen checks for the first webhook every few seconds by itself. Any verified event counts, including Stripe's **Send test event**. The status then shows **Connected** with the time and type of the **Last verified webhook**, and on the Revenue screen the payment appears under **Latest payments** with its attribution and source. ### Connection status | Status | Meaning | |---|---| | **Not connected** | No signing secret saved yet. | | **Waiting for the first webhook** | A secret is saved, but no verified webhook has arrived. | | **Connected** | Webhooks are arriving and their signatures match. | | **Signature failing** | The latest webhook was rejected: its signature didn't match the saved secret. Copy the signing secret again from the same endpoint in Stripe. | ## Test mode and live mode Test-mode payments are labelled **Test** and count like real ones until the website's first live payment, so you can see the whole flow on the dashboard. From the first live payment on they are left out of every number automatically (subscription figures included); they stay listed. **Clear test payments** deletes the website's test-mode payments for good. Live payments are not affected. Owners and members see the button wherever the test payments are mentioned. ## 5. Go live Stripe gives live mode its own endpoints and secrets. Repeat steps 2 and 3 with test mode off. A website holds one signing secret at a time: click **Disconnect** (on the Revenue screen, **Replace or disconnect**), then paste the **live** signing secret. After the switch, test-mode webhooks are rejected. Disconnecting stops new payments from being recorded. Past revenue stays on your dashboard. ## Currency Revenue is reported in one currency per website, set under **Site settings › Revenue** › **Currency** (chosen when you added the website). Payments in other currencies are stored but not counted, and the Revenue screen says how many there are. Nothing is converted between currencies. Changing the currency asks for confirmation. Afterwards only payments made in the new currency count, including past ones; payments in the old currency stay stored but drop out of your revenue. ## Other revenue settings **Site settings › Revenue** also has: - **Include renewal revenue in KPIs** (on by default): counts subscription renewals in Revenue, Revenue/visitor and Conversion. - **Subtract refunds from revenue** (on by default): totals read New + Renewal − Refunds. - **Product filter**: choose which Stripe products count toward revenue. Products appear once a payment for them arrives. Unticked products don't count anywhere, the Subscription metrics panel included; payments that name no product (most one-time Checkout payments) always count. Click **Save** to apply. How these change the numbers is explained in [Revenue and attribution](https://supametrics.io/docs/revenue). ## How payments are credited - A payment goes to the visitor's **most recent visit that came from somewhere** (search, social, AI, email, a tagged link) **within the 30 days before paying**. Someone who clicked your tweet and came back directly a week later to pay is credited to the tweet. - No such visit in 30 days: credited to **Direct**. - No visitor ID, or one AnalyticsX never saw: **Unattributed**. - The source, campaign and landing page are saved on the payment when it arrives and never change later. - Stripe retries the same webhook if it doesn't get an answer; each payment is recorded once. More in [Revenue and attribution](https://supametrics.io/docs/revenue). ## Troubleshooting - **Signature failing**: the secret doesn't belong to this endpoint, or you switched Stripe between test and live mode. Copy the secret again from the endpoint that sends the events. - **Payments arrive but are all Unattributed**: the visitor ID isn't reaching Stripe. Check step 1, and that `window.analyticsx?.('visitorId')` returns a value on your checkout page (it returns `null` while consent is required and not yet given). - **Subscriptions missing**: check that the subscription events are selected on the endpoint. See also [Troubleshooting](https://supametrics.io/docs/troubleshooting). --- # Revenue and attribution > How AnalyticsX credits each Stripe payment to the visit that brought the buyer, and what the Revenue screen and the revenue figures on the dashboard show. Source: https://supametrics.io/docs/revenue Once Stripe is connected (see [Connect Stripe](https://supametrics.io/docs/connect-stripe)), every paid payment is credited to a visit: the source, campaign and landing page that brought the buyer. That is what lets the dashboard rank sources and pages by the money they bring, not just by visitors. ## The Revenue screen The **Revenue** screen is at `/revenue` (for example https://app.supametrics.io/revenue): **Payments** in the left rail, or the **Stripe** row on the **Setup** screen (**Set up** or **Manage**). The same Stripe setup is also in **Site settings › Revenue**. It always covers the **last 30 days**, in your website's currency, for one-time and subscription payments. ### Summary - **Payments, 30 days**: paid payments counted toward revenue (refunds are not counted as payments). - **Revenue, 30 days**: the total, net of refunds unless you turned **Subtract refunds from revenue** off. - **Unattributed revenue**: the share of revenue that couldn't be linked to a visit, with how much money and how many payments that is. When it's above 20%, a warning says what share of revenue came from payments without a visitor ID and points you to step 1 of the setup. - **Currency**: your website's currency. Other currencies are listed, not counted. ### Revenue by day and top sources Once there is at least one payment, the screen shows: - **Revenue by day** over the last 30 days. - **Sources by revenue**: sources ranked by the revenue credited to them. - **Pages by revenue**: landing pages ranked by the revenue credited to them. Click a source or page to open the dashboard filtered to it. ### Setup and connection **Set up Stripe payments** lists the four setup steps and how many are done, and **Connection** shows the connection status, the **Last verified webhook**, the **Last rejected** webhook (if any), the masked signing secret with **Replace or disconnect**, and notes about test-mode payments and payments in other currencies. See [Connect Stripe](https://supametrics.io/docs/connect-stripe). ### Latest payments The ten most recent payments (refunds aren't listed here), whatever their date, with: - **When** and **Amount** (in the payment's own currency). - **Status**: **attributed**, **direct** or **unattributed**, plus a **Test** badge for Stripe test-mode payments and **Not counted** with the currency code for payments in another currency. - **Source**: the source credited, or **No visitor ID on this Checkout** for an unattributed payment. ## How a payment is linked to a visitor The tracking script gives each visitor an ID, kept in a first-party cookie for a year. You read it on your site with `window.analyticsx?.('visitorId')` and pass it to Stripe. AnalyticsX reads it from the payment: | Payment | Where the visitor ID is read | |---|---| | Checkout Session (one-time) | `metadata.ax_visitor_id`, else `client_reference_id` | | Payment Link | `client_reference_id` | | PaymentIntent (Payment Element and custom flows) | `metadata.ax_visitor_id` (untagged PaymentIntents are ignored) | | Subscription invoice | the subscription's `metadata.ax_visitor_id`, else the visitor ID of the Checkout Session that started the subscription, else one from another subscription of the same Stripe customer | AnalyticsX does **not** match payments to visitors by email address or Stripe customer details. Without a visitor ID, the payment is **Unattributed**. The exact code for each case is in [Connect Stripe](https://supametrics.io/docs/connect-stripe#1-pass-the-visitor-id-into-the-payment). ## How credit is decided Attribution is decided **once, when the payment arrives**, and saved on the payment. Later visits never change it. 1. **No visitor ID, or one AnalyticsX has never seen**: the payment is **Unattributed**. 2. **The visitor had a visit from a source** (search, social, AI, email, a referring site or a tagged campaign link) **in the 30 days before paying**: the payment is **attributed** to the most recent such visit, with its source, channel, campaign and landing page. 3. **Otherwise** (only direct visits in those 30 days): the payment is credited to **Direct/None**, with the landing page, location and device of the visitor's latest visit. ### First touch or last touch? AnalyticsX uses **last non-direct touch** within a 30-day window. Direct visits don't take credit away from the campaign or referral that brought the visitor earlier: someone who clicked your tweet and came back directly a week later to pay is credited to the tweet. There is no first-touch option. ### Subscriptions and renewals - The first paid invoice of a subscription is **new** revenue, attributed as above. - Later invoices are **renewals**. A renewal keeps the attribution of the subscription's first payment, so it stays with the source that won the customer, months later. - If the invoice arrives before the Checkout Session that carries the visitor ID, it is stored as Unattributed first and credited as soon as the Checkout Session arrives. - Trial and zero-amount invoices are not counted. ## Refunds Each refund is stored as a negative amount **on the date the refund was issued**, credited to the same source, campaign, landing page and product as the payment it refunds. A refund issued this month for a payment made last month lowers this month's revenue and leaves last month's as it was. - Partial refunds subtract only the refunded amount. - A refund that fails or is canceled counts as zero. - A refund for a payment AnalyticsX never recorded is ignored. - If Stripe reports the same refund through several events, it is subtracted once. - **Site settings › Revenue** › **Subtract refunds from revenue** (on by default) turns this off: revenue is then gross, and refunds aren't shown. The dashboard's revenue figure splits into **New**, **Renewal**, **Refunds** and **Net**. ## Currencies Revenue is counted in one currency per website, set in **Site settings › Revenue**. Payments in other currencies are stored but not counted anywhere, and nothing is converted. If you change the currency, only payments in the new currency count, including past ones. See [Connect Stripe](https://supametrics.io/docs/connect-stripe#currency). ## What counts toward revenue A payment counts when all of these hold: - It is paid (a Checkout Session with payment status paid, a tagged PaymentIntent that succeeded, or a paid subscription invoice). - It is in your website's currency. - It is a live payment, or the website has had no live payment yet (test-mode payments count only until the first live one). - Its product isn't unticked in the **Product filter**. Payments that name no product always count; most one-time Checkout payments name none. - It is not a renewal while **Include renewal revenue in KPIs** is off. A payment is dated when its Checkout Session or PaymentIntent was created in Stripe, and a subscription invoice when it was paid. Days follow your website's timezone. ## Unattributed payments Unattributed payments are real money: they are included in total revenue on the dashboard and on the Revenue screen. But they have no visit, so: - In breakdowns by source, page or location, they are grouped as **Unattributed**. - As soon as you apply **any** dashboard filter, they drop out, because they can't be said to match one. - They aren't linked to a visitor, so they don't count toward paying visitors or Payment conversion. Common causes: the visitor ID isn't passed to Stripe, the buyer's browser blocked the script, the visitor hadn't given consent yet (with `data-consent="required"`), or the payment was made somewhere the script doesn't run. ## Revenue on the dashboard - **Revenue** in the key figures is the net revenue in the period, split on hover into **New**, **Renewal**, **Refunds** and **Net**. - **Conversion rate** is paying visitors divided by all visitors in the period. - **Revenue/visitor** is revenue divided by visitors. - The main chart shows revenue as bars under the visitor line. With no Stripe connection it says **Connect Stripe** and links to **Site settings › Revenue**. - Breakdown cards (sources, pages, locations, devices) can be sorted by revenue. Revenue in a row is what was credited to visits matching that row. - Filters apply to payments through their credited visit: filtering to a source shows the revenue credited to that source. See [The site dashboard](https://supametrics.io/docs/dashboard), [Metrics glossary](https://supametrics.io/docs/metrics-glossary) and [Sources, pages, locations and devices](https://supametrics.io/docs/breakdowns). The **Revenue** lens of [Details pages](https://supametrics.io/docs/details-pages) has the same numbers over any date range, and journeys ranked by revenue are in [Journeys and funnels](https://supametrics.io/docs/journeys-and-funnels). ## Common questions **Why is a payment credited to a source the buyer didn't use on the day they paid?** Credit goes to the most recent visit that came from somewhere in the 30 days before paying, not to the paying visit if that one was direct. **I changed my UTM tags. Will old payments move?** No. Attribution is saved on the payment when it arrives. **Why does revenue on the Revenue screen differ from the dashboard?** The Revenue screen always shows the last 30 days with no filters. The dashboard follows its date range and filters. --- # Subscription metrics > What the Subscription metrics panel shows (MRR, revenue, active subscriptions and trials) and exactly how each number is calculated from your Stripe data. Source: https://supametrics.io/docs/subscription-metrics The **Subscription metrics** panel is a snapshot of your key subscription numbers from Stripe: MRR, revenue over the last 30 days, active subscriptions and trials. ## Where to find it Open the **Real-time map** (`/realtime`, in the sidebar) and click **Subscription metrics**, or press **S** while the map is open. It opens as a panel over the map. See [Real-time and the live map](https://supametrics.io/docs/realtime). Everyone with access to the website can open it, viewers included. It is not available on a publicly shared map. ## What it needs The panel fills in from Stripe webhooks. Your endpoint needs the subscription events `customer.subscription.created`, `customer.subscription.updated`, `customer.subscription.deleted` and `invoice.paid`. Until any subscription or subscription payment has arrived, the panel shows **No subscriptions yet**. See [Connect Stripe](https://supametrics.io/docs/connect-stripe). AnalyticsX keeps its own copy of each subscription's status, prices, trial and dates, updated by every subscription event. Events that arrive out of order don't overwrite newer information. ## The four figures All money is in your website's currency (**Site settings › Revenue**). The figures are always "now" and the last 30 days; the dashboard's date range and filters don't apply. ### MRR Monthly recurring revenue: the sum of the monthly price of every **paying** subscription in your website's currency. - **Paying** means the Stripe status is `active` or `past_due`. Subscriptions that are `trialing`, `canceled`, `incomplete`, `unpaid` or `paused` add nothing. - A subscription's monthly price is every recurring item's unit price times its quantity, converted to a month: a yearly price is divided by 12, a weekly price is multiplied by 365 ÷ 12 ÷ 7, a daily price by 365 ÷ 12, and prices billed every N months or years are divided by N. For example, a yearly 120.00 is 10.00 a month. - It uses each subscription's **current** prices, **before discounts, coupons and tax**, so it can be higher than what Stripe actually invoices. - A subscription set to cancel at the end of its period still counts until Stripe ends it. - Subscriptions billed in another currency are left out of MRR (they still count under **Active subscriptions**), and the footnote says how many. The note under MRR is the change **this month**: MRR now minus MRR at the start of the current month (midnight on the 1st in your website's timezone), for example **+$99 this month**, **−$29 this month** or **No change this month**. MRR at the start of the month adds up the subscriptions in your currency that had started before the 1st, had not ended by then, were past any trial by then, and are not incomplete, each at its **current** monthly price. A price change on an existing subscription therefore doesn't show as a change. ### Revenue (last 30 days) All counted payments in the last 30 days, in your website's currency: subscription invoices (new and renewals) **and** one-time payments. - It follows the **Product filter** and **Subtract refunds from revenue** in **Site settings › Revenue**. - It always includes renewals, even when **Include renewal revenue in KPIs** is off, so new and renewal revenue can be shown side by side. - The note compares it with the 30 days before: for example **39% ↑** or **12% ↓**, or **–** when there was no revenue then. ### Active subscriptions The number of paying subscriptions (`active` or `past_due`), in any currency. The note shows: - **started**: subscriptions whose start date is in the last 30 days and that are no longer trialing or incomplete now. - **ended**: subscriptions that ended in the last 30 days (canceled, or expired). Subscriptions that never completed their first payment aren't counted as ended. ### Active trials The number of subscriptions with the Stripe status `trialing`. The note, **N convert this week**, counts trials whose trial ends within the next 7 days and that are not set to cancel at the end of the trial. ## The footnote Under the figures, one line sums up the last 30 days: - **new**: first payments, including one-time payments, before refunds. - **renewals**: later subscription invoices, before refunds. - **refunds**: refunds issued in the last 30 days, already taken off **Revenue (last 30 days)**. Shown only when there are any. - **past due**: subscriptions whose latest payment failed and that Stripe is still retrying. Shown only when there are any. - A reminder that MRR uses current prices before discounts and tax, and how many subscriptions billed in another currency it leaves out. ## Churn AnalyticsX doesn't calculate a churn rate. Use the **ended** count under **Active subscriptions**, together with the MRR change this month, to see how many subscriptions you lost. ## Test mode Stripe test-mode subscriptions and payments follow the same rule as test payments everywhere: they count until the website's first live payment, then drop out of every figure. See [Connect Stripe](https://supametrics.io/docs/connect-stripe#test-mode-and-live-mode). ## Product filter Unticked products in the **Product filter** (**Site settings › Revenue**) are left out of the revenue figures here. Subscriptions themselves don't carry a product, so MRR and the subscription and trial counts include every subscription. ## Common questions **MRR is higher than my Stripe dashboard.** AnalyticsX uses list prices before discounts and tax, and counts `past_due` subscriptions as paying. **A subscription shows in Active subscriptions but not in MRR.** It is billed in a different currency from your website's. **Why is new revenue higher than my new subscriptions?** **new** includes one-time payments as well as first subscription invoices. --- # Site settings overview > Where to find a website's settings, what each of the 12 tabs does, which tabs are coming soon, and who can change what. Source: https://supametrics.io/docs/site-settings Each website in AnalyticsX has its own settings: its domain, timezone, goals, Stripe connection, team, email reports, alerts, widgets, exclusions and more. They live on the **Site settings** screen at `/settings/`, for example `/settings/general` or `/settings/exclusions`. Settings always apply to the website that is selected in the site switcher. The page title reads **Settings for example.com** so you can check which one you are editing. ## How to open site settings - In the left sidebar, click **Site settings**. It opens `/settings/general`. - On the dashboard, click **Settings** in the page header. - **Alerts** has its own item in the sidebar too. It opens the same screen at `/settings/alerts`. Before your website has received its first visit, **Settings** opens the install screen instead, so you can add the tracking script first. See [Install and verify the script](https://supametrics.io/docs/install-the-script). The tabs are listed on the left (on a phone, they scroll sideways along the top). **Back to dashboard** returns you to the dashboard. Most changes save as soon as you flip a switch or click **Save**, **Add** or **Remove**, and a short confirmation appears at the bottom of the screen. ## The 12 tabs | Tab | Address | What it is for | Read more | | --- | --- | --- | --- | | **General** | `/settings/general` | Install snippet and status, domain, additional domains, timezone, #1 KPI, colour scheme, nickname and icon, the public dashboard, deleting the website. | [General settings](https://supametrics.io/docs/settings-general) | | **Dashboard** | `/settings/dashboard` | Optional dashboard cards (the Bot traffic card) and the goals the dashboard reports on. | [Dashboard settings](https://supametrics.io/docs/settings-dashboard) | | **Revenue** | `/settings/revenue` | Connect Stripe, currency, renewals, refunds and the product filter. | [Connect Stripe](https://supametrics.io/docs/connect-stripe) | | **Team** | `/settings/team` | Invite people as members or viewers and change or remove their access. | [Team members and roles](https://supametrics.io/docs/team-and-roles) | | **Import** | `/settings/import` | Import your history from DataFast. Plausible and other tools are coming soon. | [Import from DataFast](https://supametrics.io/docs/import-from-datafast) | | **Reports** | `/settings/reports` | Weekly summary and traffic spike emails. | [Email reports and alerts](https://supametrics.io/docs/reports-and-alerts) | | **Alerts** | `/settings/alerts` | Email rules for goal completions and payments. | [Email reports and alerts](https://supametrics.io/docs/reports-and-alerts#alerts) | | **Widgets** | `/settings/widgets` | Public, embeddable widgets with aggregated numbers. | [Widgets](https://supametrics.io/docs/widgets) | | **Integrations** | `/settings/integrations` | Google Search Console, GitHub, Meta Ads and social mentions. Coming soon. | See [Tabs that are coming soon](#tabs-that-are-coming-soon) | | **API / MCP** | `/settings/api` | API keys for this one website, for the REST API and AI assistants. | [REST API and access tokens](https://supametrics.io/docs/rest-api), [Connect AI assistants (MCP)](https://supametrics.io/docs/mcp) | | **Exclusions** | `/settings/exclusions` | Stop counting your own visits, IP addresses, paths, hostnames and countries. | [Exclusions](https://supametrics.io/docs/exclusions) | | **Security** | `/settings/security` | Erase a person's data for a deletion request. Attack mode is coming soon. | [Security settings](https://supametrics.io/docs/settings-security) | The public dashboard link (on the **General** tab) is covered in [Share your dashboard](https://supametrics.io/docs/sharing). ## Tabs that are coming soon Some cards and one tab are not working yet. They show the planned layout with every control disabled and a **Soon** tag, and they do not do anything: - **Import**: **Import from DataFast** works (see [Import from DataFast](https://supametrics.io/docs/import-from-datafast)). **Import from Plausible** (from Plausible's CSV export) is not available yet. Google Analytics 4, Fathom, Simple Analytics and Umami are listed under **More sources** as coming next. - **Integrations**: **Google Search Console**, **GitHub**, **Meta Ads** and **Social mentions** are all marked **Soon** and cannot be connected yet. Stripe is not on this tab; it is connected under **Site settings › Revenue**. Some working tabs also contain single features marked **Soon**. These are disabled until they are built: - **General**: **Managed proxy**, and the **MRR** option of **#1 KPI** (you can save it, but the dashboard keeps showing revenue). In the install guide, **Cookieless / privacy mode**, the **Shopify** connection and the npm package are also marked **Soon**. - **Revenue**: payment providers other than Stripe. - **Security**: **Attack mode** and its automatic option. ## Who can open and change settings Everyone with access to a website can open every settings tab. What they can change depends on their role. Roles are explained in [Team members and roles](https://supametrics.io/docs/team-and-roles). | | Owner | Member | Viewer | | --- | --- | --- | --- | | **General** (domain, timezone, KPI, colours, identity) | Change | Change | Read only (the install snippet can still be copied) | | **General › Public dashboard** | Change | No (sees a note that only the owner can) | No | | **General › Delete website** | Yes | No | No | | **Dashboard** (cards and goals) | Change | Change | Read only | | **Revenue** | Change | Change | Read only | | **Team** | Change | No | No | | **Reports** | Change | Change | Read only | | **Alerts** | Change | Change | Read only | | **Widgets** (the **Public widgets** switch) | Change | No | No | | **API / MCP** | Change | No | No | | **Exclusions** | Change | Change | Read only | | **Security** (erase a person) | Yes | No | No | When a tab or section is read-only for you, its controls are greyed out and a note explains why, for example "You're a viewer on this website, so these settings are read-only." The server enforces the same rules, so a change that is not allowed is refused even if it is sent some other way. Report and alert emails always go to the website's owner, whoever turned them on. See [Email reports and alerts](https://supametrics.io/docs/reports-and-alerts). --- # General settings > Every section of the General tab, from the install snippet and domains to the #1 KPI, colour scheme, website identity, public dashboard and deleting a website. Source: https://supametrics.io/docs/settings-general The **General** tab is the first tab of **Site settings**, at `/settings/general`. It holds the install snippet and the website's basic details. Sections appear in this order. Owners and members can change everything on this tab except **Public dashboard** and **Delete website**, which are for the owner only. Viewers can copy the install snippet, but every other control is read-only for them. See [Site settings overview](https://supametrics.io/docs/site-settings#who-can-open-and-change-settings). ## Install the tracking script The snippet to paste into the `` of every page of your site, with guides for a plain script, Next.js, a bundled app and WordPress. **Wait for cookie consent** adds the consent option to the snippet. Some options are marked **Soon** and are disabled: **Cookieless / privacy mode**, the **Shopify** connection and the `@analyticsx/web` npm package. Full instructions are in [Install and verify the script](https://supametrics.io/docs/install-the-script). ## Installation status Shows whether a real visit has arrived from your site. - **Waiting for the first visit**: nothing has arrived yet. Open your site in a new tab; the status updates by itself. Until the first visit, this card appears below the install snippet. - **Verified**: shows when the first visit was received and on which page. Once verified, this card moves to the top of the tab. Only a real visit from your site passes this check. If it stays on **Waiting**, see [Troubleshooting](https://supametrics.io/docs/troubleshooting). ## Domain Your main domain, for example `example.com`. All of its subdomains are tracked automatically, so `www.example.com` and `app.example.com` are covered without extra setup. - You can type the domain with or without `https://` or `www.`; both are removed when you save, and so is any path. - When you edit the domain, a warning shows that visits from the old domain stop being accepted once you save. Click **Save** to apply it. - Below the field is your **Public site ID**. This is the ID in your tracking snippet (`data-site`). It does not change when you change the domain. ## Additional domains Other domains (and their subdomains) that may send data to this website, for example a separate checkout or docs domain. - Type a domain such as `anotherdomain.com` and click **Add**. It is cleaned the same way as the main domain. - Click **Remove** next to a domain to stop accepting visits from it. - A website can have up to 20 additional domains. Your main domain cannot be added again here. - Changes apply to new visits within about a minute. ### Allow all domains The **Allow all domains** switch at the top of this section lets any hostname send data to this website. It is meant for embedded widgets and custom domains you can't list in advance. While it is on, the domain check is skipped entirely, so only turn it on if you need it. Visits from `localhost` and other development hosts are not counted unless your snippet allows them. See [Install and verify the script](https://supametrics.io/docs/install-the-script). ## Managed proxy Marked **Soon**. Routing the tracking script through a subdomain of your own site (so ad blockers don't drop events) is not available yet. The **Proxy subdomain** field and **Enable** button are disabled. ## Timezone Defines what "today" means in your reports: where each day starts and ends on the dashboard, and when the weekly summary email goes out (Mondays at 9 AM in this timezone). Pick a timezone and click **Save**. ## #1 KPI Your most important metric. It is drawn as bars on the main chart of the dashboard. Choose **Revenue** or **Goal**: - **Revenue**, then one of: - **Revenue**: shows how revenue changes over time. This is the default. - **MRR** (marked **Soon**): you can save it, but the dashboard keeps showing revenue until MRR bars are available. - **Goal**: pick one of your goals under **Goal on the main chart**. Its completions replace Revenue in the key figures and the bars on the main chart. If you have no goals yet, add one on the **Dashboard** tab first (see [Dashboard settings](https://supametrics.io/docs/settings-dashboard)). Click **Save**, then **Change KPI** in the confirmation. The choice applies to everyone on this website, not only to you. Choosing a goal here also makes it the starred KPI goal on the dashboard's Goals card, and the other way round. ## Colour scheme The main colour for revenue and goal bars in your charts. Click one of the ten swatches: Red, Teal (the default), Pink, Amber, Green, Cyan, Blue, Indigo, Violet or Slate. It saves at once and applies for everyone on the website, in light and dark mode. The same colour is used on your public dashboard and for revenue in the **Preview** widget. ## Website identity Give the website a nickname and an icon. They appear wherever the website's tile is shown: the site switcher, the Websites home and your public dashboard. - **Nickname**: up to 100 characters, for example "Marketing site". Click **Save**. - **Icon**: click the dashed square to upload an image. JPEG, PNG, WebP, GIF or ICO, up to 1 MB. Your browser crops it to a centered square and stores it as a small 64 px image. Click **Remove** under the icon to go back to the initials tile. ## Public dashboard Owner only. The **Public dashboard** switch makes a read-only copy of this website's dashboard available to anyone with the link. When it is on, you get the link, **Copy** and **Open** buttons, links to the **Live map** and **Insights** views, and a **Stay public for** choice (24 hours, 1 week, 14 days, 30 days, 90 days or Never expire). Members and viewers see a note instead: "Only the website's owner can make this website's stats public or change the public link." Everything about the public link, including what viewers see, is in [Share your dashboard](https://supametrics.io/docs/sharing). ## Delete website Owner only. **Delete website** at the bottom of the tab permanently deletes the website and all its analytics, payments, goals, alerts and settings. 1. Click **Delete website**. 2. Type the website's domain to confirm (capital letters and surrounding spaces don't matter). 3. Click **Delete website** in the dialog. This cannot be undone. Team members lose access to the website too. To stop tracking without deleting data, remove the script from your site instead. For deleting one person's data, see [Security settings](https://supametrics.io/docs/settings-security). For deleting your whole account, see [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data). ## Common questions ### Does changing the domain lose my data? No. Data already recorded stays. From the moment you save, only visits from the new domain (its subdomains, and your additional domains) are accepted. ### Why are visits from my second domain not showing? Add it under **Additional domains**. Visits from any domain that isn't the main domain, one of its subdomains or an additional domain are refused. --- # Dashboard settings > The Dashboard tab of Site settings, where you choose optional dashboard cards and manage the goals the dashboard reports on. Source: https://supametrics.io/docs/settings-dashboard The **Dashboard** tab, at `/settings/dashboard`, controls what the website's dashboard shows. It has two parts: **Dashboard cards** and **Goals**. Both settings are stored on the website, so they apply on every device and for everyone on the team. Owners and members can change this tab. Viewers see it read-only. ## Dashboard cards Choose which optional cards appear on this website's dashboard. ### Bot traffic card The **Bot traffic card** switch shows or hides the card with AI assistant, search indexing and model-training crawler traffic. It is the same setting as **Hide card** on the card itself, so this switch is how you bring the card back after hiding it from the dashboard. What the card shows is explained in [Bots and AI crawlers](https://supametrics.io/docs/bot-tracking). If the switch can't load, click **Retry**. ## Goals The conversions shown on the dashboard's Goals card. This is the same list as on the **Goals** screen, with the same **New goal** dialog. Goal rules apply to visits from the moment you create or turn them on; earlier visits are not counted. Each goal in the list shows: - Its name and type badge (URL path, element click or JavaScript event), and **Off** when it is turned off. - What it matches, for example `/thank-you` or `#signup-button`. - Completions in the last 30 days and where and when it was last completed, or "not completed yet". - A switch to turn the goal on or off. - A pencil button to edit it and a trash button to delete it. To add one, click **New goal**. When there are no goals yet, the list suggests starting with the page people see after signing up or buying, like `/thank-you`. How each goal type works and how to test it is in [Goals](https://supametrics.io/docs/goals). ### Deleting a goal Click the trash button, then **Delete goal**. Its completions stop showing on the dashboard, and alerts on this goal stop matching too. If the goal was your [#1 KPI](https://supametrics.io/docs/settings-general#1-kpi), choose a new one on the **General** tab. ### Received but not a goal If your site sends custom events (with `window.analyticsx?.('track', 'name')`) that no JavaScript event goal matches, they are listed under **Received but not a goal**, with how many times each arrived and when it was last seen. They aren't counted as conversions until a goal matches them. - **Create goal** opens the goal dialog with a JavaScript event goal for that name already filled in. - When the name is close to an existing goal's event name (often a typo), the row shows **Close to** with that name, and a **Use for "Goal name" goal** button. It changes the existing goal to count this event name instead of its old one; the dialog warns you before saving. ## Related settings - The goal or revenue metric drawn as bars on the main chart is set under [General › #1 KPI](https://supametrics.io/docs/settings-general#1-kpi). - The colour of revenue and goal bars is set under [General › Colour scheme](https://supametrics.io/docs/settings-general#colour-scheme). - What each dashboard card shows is described in [The site dashboard](https://supametrics.io/docs/dashboard). --- # Import from DataFast > Bring your DataFast history into AnalyticsX with a DataFast API key, what gets imported, how it shows on the dashboard, and its limits. Source: https://supametrics.io/docs/import-from-datafast If you are moving from DataFast, you can bring your history with you. Open **Site settings › Import** (at `/settings/import`), paste a DataFast website API key, and AnalyticsX fetches your past numbers in the background. Owners and members can start and delete an import; viewers can watch it. ## Before you start 1. In DataFast, open your website's settings, then **Developer** (or **API**), and create a **website API key**. It starts with `df_`. An account token (`dft_…`) won't work here. 2. Install the AnalyticsX script first if you can (see [Install the script](https://supametrics.io/docs/install-the-script)). The import ends the day before AnalyticsX tracked its first visit, so installing first means the two never overlap and no day is counted twice. The dashboard itself appears once the script has recorded its first visit; until then it shows the install prompt, imported history or not. ## Run the import 1. Go to **Site settings › Import**. The **Import from DataFast** card shows the days it will import. 2. Paste the key into **DataFast website API key** and click **Start import**. The key is checked with DataFast straight away; a wrong or revoked key is refused with a message. 3. A progress bar shows how far it has got. You can leave the page: the import carries on in the background and finishes on its own. DataFast limits how fast its API can be called, so a large site can take a while. When the limit is reached the import waits and then continues. 4. When it is done, the card shows the dates imported and the visitors, pageviews and revenue it brought in. The key is stored encrypted while the import runs and erased as soon as it ends, whether it finished or failed. You can delete the key in DataFast afterwards. ## What gets imported DataFast's API gives totals, not single visits, so AnalyticsX imports totals: - **Every day**: visitors, new visitors, pageviews, visits and revenue (with the number of payments). - **Breakdowns, every day**: the top 50 sources, pages and countries, the top 25 UTM sources and campaigns, and devices (desktop, mobile, tablet). The **Channel** card works out each imported source's channel with the same rules as tracked visits. **Which days.** From as far back as your plan keeps history (13 months on Starter, 25 on Growth, see [Privacy and data](https://supametrics.io/docs/privacy-and-data)) up to the day before your first tracked visit. If nothing has been tracked yet, it runs up to yesterday. Imported days are deleted on the same schedule as tracked data. **Sources.** DataFast's referrers are matched to AnalyticsX's names, so "Google" from DataFast and Google from a tracked visit land on the same row. Sites AnalyticsX doesn't know by name show as their domain. **Revenue.** Imported revenue is what DataFast attributed, by DataFast's rules, which are not AnalyticsX's [attribution rule](https://supametrics.io/docs/revenue). It may include renewals. If DataFast's currency is not your website's currency, revenue is left out of the import (other currencies are never added up). ## How imported data shows on the dashboard Imported days are added to the dashboard's numbers: the visitors, pageviews, visits and revenue figures, the chart, and the Source, Channel, Page, Country, UTM source, Campaign and Device breakdowns. A note under the chart says when the period includes imported data. Things to know: - **Filters.** One filter with **is** or **contains** on an imported dimension (Source, Channel, Page, Country, UTM source, Campaign or Device) uses that dimension's imported values, so "Source is Google" or clicking a channel on the Sources card still includes imported days. Any other filter, or two filters at once, can't be applied to imported totals: the dashboard then shows tracked data only, and a note under the chart says so. - **Rates come from tracked visits only.** Bounce rate, session time and conversion rate need single visits, which the import doesn't have. - **Visitors are added up per day.** Someone who visited on two imported days counts on both, so imported visitor totals over long periods can be higher than DataFast showed. - **Only top values are in the breakdowns.** Values below the top 50 (or 25) are not imported, so a breakdown's rows can add up to less than the total for imported days. Browsers and operating systems aren't imported, since DataFast's API has no list of them. - **People-level screens don't include it.** Visitors, visitor profiles, journeys, funnels and **Erase a person** work on tracked visits only. Imported data holds no people. - **Goals aren't imported.** Recreate your goals under **Goals**; DataFast-style goal calls keep working (below). ## Keep your DataFast goal code You don't have to rewrite your goal tracking. The AnalyticsX script answers DataFast's calls: - `window.datafast('signup')` is the same as `analyticsx('track', 'signup')`, so it completes a goal of type **JavaScript event** named `signup`. - `window.datafast('identify', { user_id, email, name })` is the same as `analyticsx('identify', { id, email, name })`. Calls made before the script loaded are kept and sent once it has. See [Tracker JavaScript API](https://supametrics.io/docs/tracker-javascript-api). ## Delete or redo an import **Delete imported data** removes everything imported from your numbers. Tracked visits and payments are not touched. While an import is running, the same button reads **Stop and delete**. To import again (for example with a different key), delete the current import first. If an import stops with an error, what it had imported stays until you delete it. --- # Email reports and alerts > The Reports tab (weekly summary and traffic spike emails) and the Alerts tab (custom emails when a goal is completed or a payment arrives). Source: https://supametrics.io/docs/reports-and-alerts AnalyticsX can email you about a website in two ways: - **Reports** (`/settings/reports`): two ready-made emails you switch on or off, a weekly summary and a traffic spike warning. - **Alerts** (`/settings/alerts`): your own rules that send an email each time a goal is completed or a payment arrives, with a subject and message you write. All of these emails go to the **website's owner**, at the email address of the owner's account. A member can turn reports on or create alerts, but the emails still go to the owner, not to the member. Viewers see both tabs read-only. ## Reports Open **Site settings › Reports**. The line at the top says who the emails go to: your own address if you are the owner, otherwise "the website's owner". Each report has a switch; it saves as soon as you flip it. Both are off until you turn them on. Reports are checked by a job that runs at the start of every hour. ### Weekly summary Visitors, revenue and top sources, every Monday at 9 AM in the website's timezone (set under [General › Timezone](https://supametrics.io/docs/settings-general#timezone)). The email covers the previous full week, Monday to Sunday, in the website's timezone. It contains: - **Visitors** for the week, with the change against the week before (for example "+12% on the week before", "no change" or "new"). - **Revenue** for the week, counted the same way as on your dashboard (your renewal, refund and product filter settings apply). It is in the website's currency, and the line only appears once Stripe is connected or a payment has been recorded. - **Top sources**: the three sources that brought the most visitors. - An **Open dashboard** button. The subject looks like "example.com: 1,234 visitors last week". If sending fails, it is tried again on the next hourly run. ### Traffic spike An email when traffic is 3× higher than usual, with the source that caused it. At most once a day. Every hour, AnalyticsX compares the number of visitors in the last hour with the usual number of visitors per hour over the 7 days before. An email is sent when both are true: - the last hour had at least 3 times the usual hourly visitors, and - the last hour had at least 20 visitors. A website younger than a week is compared with the hours it has existed. After a spike email, no other spike email is sent for that website for 24 hours. The email shows **Visitors in the last hour**, **Usual for an hour** and **Most visitors came from**, with a **See who's on the site** button that opens the [real-time view](https://supametrics.io/docs/realtime). The subject looks like "Traffic spike on example.com: 4.5× the usual". ### Turning reports off Flip the switch off on the **Reports** tab. Every report email also has a **Turn off email reports** link at the bottom that opens this tab. ## Alerts Open **Site settings › Alerts**, or click **Alerts** in the sidebar. An alert is a rule: "when this happens, send this email". Alerts send an email each time: - a chosen **goal** is completed, or - **any payment** arrives from Stripe (see [Connect Stripe](https://supametrics.io/docs/connect-stripe)). The note at the top of the tab repeats who receives the emails and the daily limit. ### Create an alert Click **New alert**. The **Create alert** dialog has three columns. **1. When this happens** - **Trigger**: one of your goals (listed as "Goal: Signup") or **Any payment**. If you have no goals yet, add them on the **Dashboard** tab (see [Dashboard settings](https://supametrics.io/docs/settings-dashboard)). - **Alert name**: up to 80 characters. If you leave it empty, it is named after the trigger, for example "New signup!". **2. Send this email** - **Subject**: required, up to 200 characters. - **Message (Markdown)**: up to 4,000 characters. - **Variables, click to insert**: click a variable to insert it at the cursor in the message. **Live preview** shows the email filled in with sample data (John Doe, United States, x.com, Desktop / Chrome), so you can check it before saving. Click **Create alert** (or **Save alert** when editing). New alerts are on straight away. A new alert starts with this subject and message, which you can change: ```text New {{goal.name}} from {{visitor.country}} ``` ```text **{{visitor.name}}** just completed **{{goal.name}}**! - Country: {{visitor.country}} - Referrer: {{visitor.referrer}} - Device: {{visitor.device}} / {{visitor.browser}} ``` ### Writing the message The message supports a small part of Markdown: - `**text**` makes text bold. - A line starting with `- ` or `* ` becomes a bullet point. - Every other non-empty line is a paragraph. Line breaks in the subject are turned into spaces. ### Template variables Write a variable as `{{name}}`, for example `{{visitor.country}}`. They are filled in when the email is sent. | Group | Variable | What it contains | | --- | --- | --- | | Goal | `{{goal.name}}` | The goal's name. For payment alerts, "Payment". | | Goal | `{{goal.timestamp}}` | When it happened, in the website's timezone, like "Nov 4, 4:40 PM". | | Visitor | `{{visitor.name}}` | The name your site passed with `identify`, or "A visitor". | | Visitor | `{{visitor.email}}` | The email your site passed with `identify`, or empty. | | Location | `{{visitor.country}}` | Country name, or "Unknown". | | Location | `{{visitor.region}}` | Region, or empty. | | Location | `{{visitor.city}}` | City, or empty. | | System | `{{visitor.device}}` | Device type, like "Desktop". | | System | `{{visitor.browser}}` | Browser, like "Chrome". | | System | `{{visitor.os}}` | Operating system. | | Source | `{{visitor.referrer}}` | Referring domain, or "Direct". | | Source | `{{visitor.utm_source}}` | UTM source of the visit, or empty. | | Source | `{{visitor.utm_medium}}` | UTM medium of the visit, or empty. | | Source | `{{visitor.utm_campaign}}` | UTM campaign of the visit, or empty. | | URL | `{{url.path}}` | The page path where the goal was completed. Goal alerts only. | | URL | `{{url.hostname}}` | The hostname of that page. Goal alerts only. | | Website | `{{website.domain}}` | The website's domain. | | Payment | `{{payment.amount}}` | The amount with currency, like "$49.00". Payment alerts only. | Visitor details come from the visit in which the goal was completed, or from the visitor linked to the payment. > **Note:** A variable that doesn't apply, or that is misspelled, stays in the email exactly as written (for > example `{{payment.amount}}` in a goal alert, or `{{url.path}}` in a payment alert). The same happens with > visitor variables for a payment that isn't linked to a visitor. Use only the variables that fit the trigger. To learn how to name visitors, see [Visitors and visitor profiles](https://supametrics.io/docs/visitors) and the `identify` call in [Tracker JavaScript API](https://supametrics.io/docs/tracker-javascript-api). ### What the alert email looks like The email's heading is your subject, followed by your message and an **Open dashboard** button. The footer names the alert and the website and has a **Change or turn off alerts** link to the Alerts tab. ### Limits - Up to 20 alert rules per website. **New alert** is disabled when you reach the limit. - Each alert sends at most 50 emails per day (days are counted in UTC). After that, it skips until the next day. - A goal alert fires every time the goal is completed, so an alert on a goal that is completed often can reach the daily limit quickly. ### Manage alerts Each alert in the list shows its name, its trigger ("When a payment arrives" or the goal name), and how many emails it has sent and when the last one went out (or "nothing sent yet"). - Use the switch to turn an alert off or on without deleting it. - **Edit** opens the same dialog. - **Delete**, then **Delete alert**, removes the rule. Below the list, **Usage** shows how many of the 20 rules you use and how many alert emails have been sent in total. If you delete a goal, alerts on it show "a deleted goal" and stop sending. Edit them to pick another goal, or delete them. ### Pause all alert emails To stop alert emails from all your websites at once without changing the rules, turn off **Email notifications** in your account settings (see [Account and sign-in](https://supametrics.io/docs/account)). Because alerts go to the owner, it is the owner's setting that counts. This switch only affects alerts; report emails are controlled on the **Reports** tab. ## Common questions ### Why didn't I get an alert or report? - Check that the alert or report switch is on. - Emails go to the owner's address. If you are a member, the owner receives them. - For alerts: check **Email notifications** in the owner's account settings, and the 50-per-day limit. - For goal alerts: the goal must be on, and the visit must not be excluded (see [Exclusions](https://supametrics.io/docs/exclusions)). - For the weekly summary: it is sent on Monday at 9 AM in the website's timezone, not yours. - For traffic spikes: the last hour needs at least 20 visitors and 3 times the usual hourly number. - Check your spam folder. ### Can I send alerts to someone else? Not yet. Alerts and reports go to the website owner's address only. --- # Widgets > Embed live, aggregated AnalyticsX numbers on your own site with the public widgets from the Widgets tab of Site settings. Source: https://supametrics.io/docs/widgets Widgets are small, public boxes of numbers you can embed on your own website, for example "12 people on this site now" or an all-time pageview counter. Set them up under **Site settings › Widgets** at `/settings/widgets`. Widgets show aggregated numbers only. They never show visitor IDs, names, emails, individual pages or individual payments. ## Turn on public widgets Widgets are off by default. While they are off, every widget address shows "This widget isn't available." Turn on the **Public widgets** switch to publish them. Only the website's owner can turn this switch on or off, because widgets make the website's numbers (revenue included, in the Preview widget) public. Members and viewers see the switch greyed out with a note saying so. Turning the switch off takes every widget for this website offline. Widgets already embedded on other sites then show the "isn't available" message. ## Choose a widget Once public widgets are on, pick one under **Widget**: | Widget | What it shows | Embed height | | --- | --- | --- | | **Realtime** | How many people are on your site right now (visitors active in the last 5 minutes). | 180 px | | **Preview** | Your domain, a bar chart of visitors per hour for the last 24 hours, and the total visitors and revenue for the last 24 hours. | 180 px (minimum) | | **Chart** | A bar chart of visitors per minute for the last 30 minutes, with the total. | 400 px (minimum) | | **Counter** | A single all-time number: total pageviews. | 180 px | The **Preview** widget shows revenue only once Stripe is connected or a payment has been recorded. Revenue is in the website's currency and counted the same way as on your dashboard (see [Revenue and attribution](https://supametrics.io/docs/revenue)). ## Style the widget - **Text size**: from 10 to 28 px. The default is 16. Values outside the range are brought back into it. - **Theme**: **System** (follows the light or dark setting of the person viewing it), **Light** or **Dark**. - **Colours**: the swatches show the colours used: **Primary** for text, **Visitors** for visitor bars, and, for the Preview widget, **Revenue**. The revenue colour follows [General › Colour scheme](https://supametrics.io/docs/settings-general#colour-scheme). The preview on the right is the real widget, with your live numbers. ## Embed code Choose **HTML** or **JSX** above the code box and copy the code. It is an `iframe` pointing at your widget, with your chosen size and theme in the address. For example, an HTML Realtime widget: ```html ``` `YOUR_SITE_ID` is your website's public site ID (shown under **Site settings › General › Domain**). Use the JSX version in React projects. You can change the height in the `style` if your layout needs more room. The widget's address has this form: ```text https://app.supametrics.io/widgets//?textSize=<10-28>&theme= ``` ## How fresh the numbers are - The widget page reloads itself every 60 seconds. - Numbers are cached for up to 30 seconds, so several embeds on a busy page don't each trigger a new count. The widget does not run any script on your page and loads nothing from other sites. It has a small "AnalyticsX" link in the corner. ## The same numbers as JSON If you would rather draw the numbers yourself, each widget is also available as JSON, from any website (CORS is open for GET requests): ```text https://app.supametrics.io/api/widgets// ``` The answer includes `type`, `domain` and `value` (visitors right now for Realtime, visitors in the last 24 hours for Preview, visitors in the last 30 minutes for Chart, all-time pageviews for Counter). Preview adds `revenue` (in the currency's smallest unit, or `null` without revenue tracking), `currency` and `series` (24 hourly visitor counts, oldest first). Chart adds `series` (30 per-minute visitor counts, oldest first). Like the widget pages, it answers "not found" while public widgets are off. For full access to your data, use the [REST API](https://supametrics.io/docs/rest-api) instead. ## Common questions ### Do widget views count as visits? No. Widgets are served by AnalyticsX and do not run the tracking script. ### Can I show a widget without making my whole dashboard public? Yes. Widgets and the [public dashboard](https://supametrics.io/docs/sharing) are separate switches. --- # Exclusions > Keep your own visits and unwanted traffic out of your stats with the Exclusions tab, by browser, IP address, path, hostname or country. Source: https://supametrics.io/docs/exclusions The **Exclusions** tab, at `/settings/exclusions`, stops some traffic from being counted: your own visits, your office network, admin pages, a staging site or whole countries. Open it from **Site settings › Exclusions**. Excluded events are dropped before they are stored. Nothing about them is saved, so they can't be brought back later. Exclusions only affect new traffic; visits already recorded stay in your stats. New rules apply within a minute. Owners and members can add and remove exclusions; viewers see the tab read-only. ## Exclude your own visits The first section, **Exclude your own visits**, is the easiest way to stop counting yourself. 1. Click **Exclude this browser**. It opens your site with `?ax_ignore=true` added to the address, for example `https://example.com/?ax_ignore=true`. 2. That's it. The tracking script remembers the setting in this browser, and from then on sends nothing from it. Things to know: - Do it in each browser you use, and on each device. It is a setting in the browser, not in your account. - The setting is saved per site address. If your site lives on several addresses (for example `example.com` and `app.example.com`), open each one once with `?ax_ignore=true` added. - Private or incognito windows forget it when they close. Clearing your browser's site data removes it too. - You can add `?ax_ignore=true` to any page of your site, not only the home page. - To start counting this browser again, open any page of your site with `?ax_ignore=false`. To test your setup (for example a goal), use a browser you haven't excluded. ## Exclude IP addresses Visits from these addresses are never recorded. IPv4 ranges like 10.0.0.0/8 work too. Enter an **IP address** and click **Add**. Accepted forms: - A single IPv4 address, like `203.0.113.7`. - A single IPv6 address, like `2001:db8::1`. - An IPv4 range in CIDR form, like `10.0.0.0/8` or `203.0.113.0/24`. Ranges work for IPv4 only. The address checked is the visitor's public IP address as it reaches AnalyticsX. Many home and mobile connections change their address from time to time, and many use IPv6; if your visits still show up, check the address your browser uses now, or use **Exclude this browser** instead. ## Exclude paths Use `*` as a wildcard to match many paths. Enter a **Path** starting with `/` and click **Add**, for example `/admin` or `/admin/*`. - Without `*`, the path must match exactly: `/admin` excludes `/admin` only. - `*` matches anything, including further slashes: `/admin/*` excludes `/admin/users` and `/admin/users/42`. - `/admin/*` excludes sub-paths but not `/admin` itself. Add both if needed. - A trailing slash is removed when you save, and query strings are never part of the path. - Paths can't contain spaces. ## Exclude hostnames Exact match. `example.com` does not cover its subdomains. Enter a **Hostname** and click **Add**, for example `staging.example.com`. Any `https://`, path or port you type is removed. This is useful when a staging or preview copy of your site uses the same tracking snippet. To exclude several subdomains, add each one. ## Exclude countries Stops tracking new visits from these countries. Visits already recorded stay. Pick a **Country** from the list and click **Add**. The country is the one AnalyticsX detects for the visitor's connection, the same one shown on your dashboard. Visitors using a VPN appear to be in the VPN's country. ## Removing a rule Every rule is listed under its section. Click **Remove** next to it. Traffic matching it is counted again within a minute; visits dropped while the rule was active are not recovered. ## Limits - Up to 100 exclusion rules per website, across all four kinds. - Each value can be up to 200 characters. - Adding a rule that already exists shows "That is already excluded." ## What exclusions don't cover - Payments from Stripe are always recorded, even if the buyer's visits were excluded. See [Connect Stripe](https://supametrics.io/docs/connect-stripe). - Bots and AI crawlers are handled separately. See [Bots and AI crawlers](https://supametrics.io/docs/bot-tracking). - To delete data you have already collected about one person, see [Security settings](https://supametrics.io/docs/settings-security). --- # Security settings > The Security tab of Site settings, where the owner erases a person's data for a deletion request; Attack mode is coming soon. Source: https://supametrics.io/docs/settings-security The **Security** tab, at `/settings/security`, is for privacy requests. Open it from **Site settings › Security**. Only the website's owner can use this tab. Members see it with the controls disabled and the note "Only the website's owner can erase a person's data." Viewers see it read-only. ## Attack mode Marked **Soon**. Attack mode will block bot and spam traffic surges from being counted while your site is under attack, with an option to **Turn on automatically when a traffic spike is detected**. Neither switch works yet; both are disabled. Until then, you can drop unwanted traffic by IP address, path, hostname or country under [Exclusions](https://supametrics.io/docs/exclusions). To be told about sudden surges, turn on the traffic spike email under [Email reports and alerts](https://supametrics.io/docs/reports-and-alerts#traffic-spike). ## Erase a person Use this when someone asks you to delete their data (for example under GDPR). It removes their visits, goals and identity from all time, on every browser. Payments stay in your revenue without the link to them. 1. Click **Erase a person**. 2. In **Email, user ID or visitor ID**, enter one of: - the email address your site passed for them, - your own user ID for them, or - their AnalyticsX visitor ID (shown in their visitor profile). 3. Click **Find**. AnalyticsX shows how many visitor IDs match, and how many payments are linked to them, for example "Found 2 visitor IDs with 1 payment. This can't be undone." If nothing matches, it says "Nobody matches that." 4. Click **Erase** to delete them. The search is an exact match. Email and user ID only work for visitors your site identified (see below). One person can have several visitor IDs, one for each browser or device they used; when they were identified on each, an email or user ID search finds all of them. ### What is deleted - Every pageview, event and goal completion from those visitor IDs. - Their sessions (with their sources, pages, locations and devices). - Their visitor profiles, including the name, email and user ID your site passed. ### What is kept - Their payments stay in your revenue totals, but are no longer linked to the person, so they no longer count toward any source or page. The same applies to their subscriptions. Erasing cannot be undone. If the person visits your site again, they are tracked as a new, anonymous visitor. You can also erase a person from their profile on the **Visitors** screen. See [Visitors and visitor profiles](https://supametrics.io/docs/visitors) and [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data). ## Identify visitors for privacy requests To find a person by email or by your own user ID, your site needs to tell AnalyticsX who they are. Call this after they sign in: ```js window.analyticsx?.('identify', { id: 'user_123', email: 'jane@example.com' }); ``` Without it, you can still erase someone, but only by their visitor ID. The full `identify` call is described in [Tracker JavaScript API](https://supametrics.io/docs/tracker-javascript-api). --- # Share your dashboard > Make a read-only public dashboard for a website, share its live map and Insights views, set how long the link stays public, and turn sharing off. Source: https://supametrics.io/docs/sharing You can give anyone a read-only link to a website's stats: investors, your team, or the public if you build in the open. The link opens a public dashboard at `https://app.supametrics.io/share/`, with the live map and Insights as extra views. Viewers don't need an account. Only the website's owner can turn the public dashboard on or off, or change its link. ## Turn on the public dashboard 1. Open **Site settings › General** and scroll to **Public dashboard**. 2. Turn on the **Public dashboard** switch. The confirmation "The dashboard is public" appears. 3. Copy the link with **Copy**, or click **Open** to see what viewers see. A new link is created each time you turn sharing on. The link is long and random, so only people you give it to can find it. Below the link: - **Variants**: `?realtime=1` (the live map) and `?insights=1` (Insights). Click a variant to open it, or click its **Copy** button to copy that view's full link. - **Stay public for**: how long the link works. See [Set how long it stays public](#set-how-long-it-stays-public). - A **Heads up** note listing what anyone with the link sees. You can't turn the public dashboard on while your dashboard is locked because you reached your plan's event limit. A link that is already public keeps working. See [Plans, billing and event limits](https://supametrics.io/docs/billing). ## What viewers see The public dashboard has a **Read-only** tag at the top and shows: - Your website's icon (or initials tile) and domain. - A period switch: **Last 7 days**, **Last 30 days** (the default) or **Last 90 days**. - Key figures: **Visitors**, **Pageviews**, **Revenue** and **Conversion rate**. - A **Visitors** chart, with how many people are online now. - The top 8 **Sources**, **Pages** and **Countries**, each with visitors and, where there is any, revenue. - **Live map** and **Insights** buttons that open the other two views. Revenue and goal bars use your [colour scheme](https://supametrics.io/docs/settings-general#colour-scheme). Viewers can't use filters, custom date ranges, segments, the Details pages, the Visitors screen or any settings. The page notes at the bottom: "Aggregate numbers only: no visitor IDs, names or emails." > **Note:** Revenue is visible to anyone with the link, on the dashboard and in Insights. If you don't want to share > revenue, don't share the link. ### Insights view `/share/?insights=1` opens a read-only copy of [Insights](https://supametrics.io/docs/insights) ("What makes this site money") with a period switch of **24 hours**, **7 days** or **30 days**, and a **Dashboard** button back to the public dashboard. It shows aggregate numbers only. ### Live map view `/share/?realtime=1` opens the [live map](https://supametrics.io/docs/realtime), read-only. It updates by itself like your own live map, but every detail that could identify a person is removed: - Visitors have made-up nicknames. Their real visitor IDs are replaced with stand-ins that are different for each share link, so nothing on the public map can be matched to your own records. - Names, emails, cities and regions are not shown. Countries are. - Revenue is hidden, and payments are left out of the activity feed. - **The public live map never shows who paid.** A visitor who has paid is shown with the same buying signal as one who only completed a goal (or, without a goal, as an ordinary engaged visitor), so their marker gives nothing away. If you turn sharing off while someone has the live map open, their next update shows "This dashboard isn't public" and the map stops. ## Share the live map from the real-time screen You can also publish the live map straight from the real-time screen: 1. Open the live map and click **Share** in its toolbar. The **Share the live map** box opens. 2. Turn on **Anyone with the link can view**. 3. Confirm with **Make public** in the "Make the live map public?" dialog. 4. Click **Copy** next to the link. The live map is a view of the public dashboard, so this switch turns on the whole **Public dashboard** for the website (with no expiry), not only the map. Anyone with the link can also open the public dashboard and Insights. To set an expiry, use **Stay public for** under **Site settings › General**. Turning the switch off here asks "Turn off the public dashboard?". Confirming with **Turn off** turns off the whole public dashboard, and the link stops working. Members see the **Share** button only once the owner has made the dashboard public; they can copy the live map link but not change the switch. Viewers don't see the button. ## Set how long it stays public **Stay public for** sets when the link stops working on its own: - **24 hours**, **1 week**, **14 days**, **30 days**, **90 days**, or **Never expire** (the default). The time counts from the moment you choose it, and the same link keeps working. The line under the menu tells you the result, for example "It becomes private again automatically on Dec 20, 2026, 4:40 PM." or "It stays public until you turn it off." When a link has expired, the note reads "This link has expired. Turn sharing off and on again for a new one." Choosing a new duration also makes a new link. ## Turn sharing off Turn off the **Public dashboard** switch under **Site settings › General** (or the switch in the live map's **Share** box). The confirmation "The dashboard is private again" appears. - The link stops working at once for the dashboard, the live map and Insights. Anyone who opens it sees "This dashboard isn't public. The link was turned off or has expired. Ask the owner for a new one." - The old link never works again. Turning sharing back on creates a new link, so you will need to send it again. Expired links and links that never existed show the same message. ## Who can see and change the link | | Owner | Member | Viewer | | --- | --- | --- | --- | | Turn the public dashboard on or off | Yes | No | No | | Change **Stay public for** | Yes | No | No | | See the link | Yes, under **General** | Only in the live map's **Share** box | No | Members and viewers see a note under **General** instead: "Only the website's owner can make this website's stats public or change the public link." ## Share your numbers as an image The **Share** button in the dashboard's header is a different feature: it opens **Share your numbers** on the Websites home. It doesn't make anything public. It makes an image or a text post from your numbers that you can post yourself: - Templates: **Revenue story**, **Top sites**, **Dashboard card** and **Social post**. - A period of **24 hours**, **7 days** or **30 days**, the website, a **Light** or **Dark** card and an accent colour (Blue, Teal, Orange or Ink). - **Download PNG** saves the card. For **Social post**, **Copy** copies the text and **Share on X** opens a pre-filled post on X. ## Related - Embeddable numbers for your own site: [Widgets](https://supametrics.io/docs/widgets). - Giving people access to the full dashboard: [Team members and roles](https://supametrics.io/docs/team-and-roles). --- # Websites and workspaces > The Websites home, adding a website, switching between websites, reordering them, websites shared with you and how many websites each plan includes. Source: https://supametrics.io/docs/websites Everything in AnalyticsX belongs to a website. Your workspace is the list of websites you can open: the ones you added yourself and the ones other people shared with you. This page covers the **All websites** screen, adding a website, switching between websites and the website limit of each plan. ## The Websites home Open it with **All websites** at the top of the sidebar, or go to `/websites`. It shows every website you can open, with a greeting that adds up all of them. ### The greeting The heading reads like "Hey Sam, you got 1,204 visitors and made $890 in the last 24 hours". - The visitors and revenue are totals across every website on the screen, including websites shared with you. - Revenue in different currencies isn't converted. Each currency gets its own total, joined with "+" (for example "$129 + €40"). - The period at the end of the sentence is a menu: **last 24 hours**, **last 7 days** or **last 30 days**. Your choice is remembered in this browser and also sets the period of every card below. - If you turned off **Show overview card** in **Account › General**, the greeting leaves the numbers out and reads "Here are your websites for the last 24 hours" instead. See [Account and sign-in](https://supametrics.io/docs/account#preferences). ### Website cards Each website has a card with: - its icon and domain, and how many people are on it right now (**N online**) - a small chart for the chosen period: a line for visitors and bars for revenue - the period's visitors and revenue, and the change in visitors against the previous period of the same length (for example "12% ↑"; "–" when there was nothing to compare with) Click a card to open that website's dashboard. A card can also say: - **Locked: monthly event limit reached** when the account that owns the website has reached its event limit and its dashboard is locked. See [Plans, billing and event limits](https://supametrics.io/docs/billing#when-you-reach-the-limit). - **Numbers unavailable** when the numbers couldn't be loaded. The screen shows "Couldn’t load the numbers" with a retry button. ### Reorder your websites Drag a card to a new place to change the order. You can also hover a card, focus the grip button in its top right corner and use the arrow keys. The order is saved to your account and is used everywhere websites are listed, including the website switcher. Only your own websites can be moved. Websites shared with you have no grip and always come after your own, in the order you joined them. ### Share your numbers **Share** at the top of the screen opens **Share your numbers**, which makes an image or a short post from your real numbers. It doesn't publish anything by itself. - Pick a template: **Revenue story** (a spotlight card), **Top sites** (a leaderboard card), **Dashboard card** (a preview card) or **Social post** (text you can copy). - Pick the period: **24 hours**, **7 days** or **30 days**. - For the image templates, pick the website, a **Light** or **Dark** card theme and an accent colour, then **Download PNG**. - For **Social post**, use **Copy**, or **Share on X** to open a prefilled post on X. To publish a live, read-only dashboard instead, see [Share your dashboard](https://supametrics.io/docs/sharing). ## Add a website Click **+ Website** at the top of the Websites home, the **Add a website** card at the end of the grid, or **Add new site** in the website switcher. This opens **Add a website** at `/websites/new`, in two steps. ### Step 1: Your website - **Domain**: the address of the site without `https://`, for example `example.com`. If you paste a full URL, the `https://`, a leading `www.` and anything after the domain (a path, query or port) are removed. Subdomains are tracked automatically, so you don't need a separate website for `blog.example.com`. - **Timezone**: starts on your browser's timezone. It defines what "today" means in your reports. **Continue** becomes available once the domain contains a dot. The new website is named after its domain and its revenue currency is US dollars. Change the name, domain and timezone later in [Site settings › General](https://supametrics.io/docs/settings-general), and the currency in **Site settings › Revenue**. ### Step 2: Install the script AnalyticsX shows the snippet for the new website. Paste it in the `` of every page of the site: ```html ``` The snippet shown in the app already contains your website's own ID. Below it, AnalyticsX waits for the first event and checks again every few seconds. When a visit arrives it shows **First event received on** and the page's path. You can leave at any time with **All websites** or **Go to dashboard**; the website is already saved. For install guides by platform, consent settings and how to check that it works, see [Install and verify the script](https://supametrics.io/docs/install-the-script). ### Your first website When your account has no website yet, signing in takes you straight to **Add your website** instead of the Websites home. Only **Account** (settings and billing) is available until you add one. See the [Quick start](https://supametrics.io/docs/quick-start). ## Switch between websites The website switcher sits at the top of the sidebar. It shows the website you're looking at and, under its name, either your plan ("Growth plan") or, for a website shared with you, "Shared · member" or "Shared · viewer". Click it to open **Your websites**: - Every website you can open, your own first, each with the number of visitors in the last 30 days. The count is left out for a website whose dashboard is locked. - **Add new site** opens [Add a website](#add-a-website). - **All websites** opens the Websites home. Picking a website keeps you on the same kind of screen and shows that website's data. The last website you opened is remembered in this browser. Links in AnalyticsX emails (reports, alerts, team notices) open the website they are about. On phones and small tablets the sidebar is hidden behind the menu button in the top bar. The switcher is at the top of that menu. ## Websites shared with you When someone invites you to their website and you accept, it appears in your workspace with the role they gave you, **Member** or **Viewer**. See [Team members and roles](https://supametrics.io/docs/team-and-roles). - Shared websites appear after your own websites on the Websites home and in the switcher. - They don't count towards your plan's website limit, and their events count towards the owner's plan, not yours. - The account card at the bottom of the sidebar shows your role on the website you're viewing, for example "Member · Acme". - If the owner's account reaches its event limit, the website's dashboard is locked for you too, with the message "This dashboard is locked". Only the owner can raise the limit. There is no button to leave a shared website yourself. Ask the owner to remove you in **Site settings › Team**. Deleting your own account also removes your access to every website shared with you. ## Website limits Each plan includes a number of your own websites: | Plan | Websites | | --- | --- | | Starter | 1 | | Growth | 30 | - On a package, the limit is the package's **Websites**, plus any websites added with [add-ons](https://supametrics.io/docs/billing#add-ons). - Only websites you own count. Websites shared with you are free. - During the free Growth trial you can add up to Growth's 30 websites. - Some accounts have a different limit arranged with AnalyticsX; the app always uses your account's own limit. When you're at the limit, **+ Website**, the **Add a website** card and **Add new site** open a dialog titled "Your plan includes 1 website. Upgrade to add more." It compares Starter and Growth (websites, team members, data retention and price) and has an **Upgrade to Growth** button. See [Plans, billing and event limits](https://supametrics.io/docs/billing#upgrade-or-downgrade). On Growth, the same dialog says you're on the largest self-serve plan and to write to AnalyticsX for more websites. > **Note:** Moving to a plan with fewer websites than you have is refused until you delete the extra websites. ## Delete a website Only the owner can delete a website. Open **Site settings › General**, click **Delete website** at the bottom and type the domain to confirm. This permanently deletes the website and all its analytics, payments, goals, alerts and settings, and removes everyone you shared it with. It can't be undone. See [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data#delete-a-website). ## Common questions **Why is a website missing from my list?** Websites only appear once you've added them or accepted an invitation to them. If the owner removed you or deleted the website, it disappears from your list. **Can I track several domains in one website?** Subdomains of the website's domain are tracked automatically. Add other domains under **Additional domains** in [Site settings › General](https://supametrics.io/docs/settings-general). **Do my totals include shared websites?** Yes. The greeting adds up every website on the screen. --- # Team members and roles > Invite people to a website by email, what owners, members and viewers can do, and how to change or remove someone's access. Source: https://supametrics.io/docs/team-and-roles You can give other people access to a website without sharing your password. Invite them by email from **Site settings › Team**, pick a role, and they join with their own AnalyticsX account. Access is per website: to give someone access to three websites, invite them on each one. ## Roles Every person on a website has one of three roles. - **Owner**: the account that added the website. There is exactly one owner, and ownership can't be transferred. - **Member**: sees all the analytics and can change most settings, goals and the like. - **Viewer**: sees all the analytics and changes nothing. ### What each role can do | | Owner | Member | Viewer | | --- | --- | --- | --- | | See the dashboard, Insights, Details, Real-time, Goals, Revenue and Visitors | Yes | Yes | Yes | | Create and edit goals, funnels, segments and notes | Yes | Yes | No | | Change site settings (General, Dashboard, Revenue, Reports, Alerts, Exclusions and similar) | Yes | Yes | No | | Connect Stripe and see the masked signing secret | Yes | Yes | No | | Invite people, change roles and remove people (Team) | Yes | No | No | | Turn the public dashboard link on or off | Yes | No | No | | Turn public widgets on or off | Yes | No | No | | Create and manage website API keys (**Site settings › API / MCP**) | Yes | No | No | | Erase a person's data (privacy requests) | Yes | No | No | | Delete the website | Yes | No | No | | Choose the plan, raise the event limit, use the free pass | Yes | No | No | A few details: - Viewers see settings tabs as read-only, with the note "You’re a viewer on this website, so these settings are read-only." - Viewers don't see the public dashboard link or the Stripe signing secret. A member can see and copy the public link once the owner has turned it on. - On **Site settings › Reports**, members and the owner can turn the emails on or off, but the emails always go to the owner's address. Members see "We’ll email the website’s owner". - Members and viewers who open **Site settings › Team** see "Only the website’s owner can invite people or change their access." - The server checks every request against the role, so a control that looks available in the app still can't do more than the role allows. ## Invite someone You must be the website's owner. 1. Open **Site settings › Team** (`/settings/team`). 2. Under **Invite team members**, enter the person's email address. 3. Pick a role: **Viewer** (the default) or **Member**. 4. Click **Invite**. AnalyticsX emails them a link. The invitation appears under **Team members** as **Pending** with "Invitation emailed" and the date. If the email couldn't be sent, the invitation is still saved and the app says so; use **Resend** to try again. ### What the invitee sees The email is titled "*Your name* invited you to *website* on AnalyticsX" and has an **Accept invitation** button. The link opens an invitation screen at `/invite/...` that says who invited them, to which website and with which role. - **Not signed in**: they choose **Create account to accept** or **I have an account**. The email address is filled in for them, and after signing in or signing up they come back to the invitation. - **Signed in with the invited address**: they click **Accept invitation** and land on the website's dashboard. - **Signed in with a different address**: the screen says which address the invitation is for and offers **Switch account**. The invitation only works for the address it was sent to. A forwarded link can't be accepted from another account, and once accepted it can't be used by anyone else. When someone accepts, the owner gets an email ("*Name* joined *website*") with a **Manage team** button. ### Invitation links and expiry Invitation links don't expire. A link stays open until it's accepted or you remove the invitation. Removing a pending invitation makes its link stop working right away ("This invitation link is invalid or was removed"). ### Resend an invitation Click **Resend** next to a pending invitation to email the same link again, for example when the first email went to spam. You can resend the same invitation once a minute. ## Manage the team **Site settings › Team › Team members** lists who has, or is waiting for, access: - the owner first, with an **Owner** badge - each invited address, with **Joined** and the date they accepted, or **Pending** with the date the invitation was emailed ### Change someone's role Use the role menu next to the person and pick **Viewer** or **Member**. The change applies at once, both to pending invitations and to people who already joined. ### Remove someone Click **Remove** next to the person and confirm. - For someone who joined: "They lose access to this website right away." The website disappears from their workspace. - For a pending invitation: "Their invitation link stops working." To invite them again later, send a new invitation. ### Leaving a website There is no button for a member or viewer to leave a website. Ask the owner to remove you. Deleting your own AnalyticsX account also removes your access to every website shared with you. ## Limits - **Invitations per website**: up to 20, pending and joined together. - **Team members per plan**: Starter includes 1 team member and Growth includes 30. The count is the number of different email addresses you've invited across all your websites, pending invitations included. Inviting the same person to several of your websites counts once. When you're at the limit, inviting a new address says "Your plan includes 1 team member. Upgrade to add more." See [Plans, billing and event limits](https://supametrics.io/docs/billing). - **Invitation emails**: a single address can receive up to 3 invitation emails in a rolling 24 hours, and you can send up to 30 invitation emails a day across all your websites. Resends count. Deleting and re-creating an invitation doesn't reset these limits. - You can't invite your own address, and you can't invite the same address twice to one website ("That person is already invited."). > **Note:** Moving to a plan with fewer team members than you have is refused until you remove the extra people in > **Site settings › Team**. ## Shared websites and billing A website shared with you counts towards the owner's plan, not yours: - It doesn't use one of your plan's websites. - Its events count towards the owner's monthly event limit. - If the owner's account reaches its limit and its dashboard locks, you see "This dashboard is locked" with the date it unlocks, and only the owner can raise the limit. See [Websites and workspaces](https://supametrics.io/docs/websites#websites-shared-with-you). ## Common questions **Can a member invite other people?** No. Only the owner manages the team. **Can I make someone a second owner?** No. Each website has one owner. Give the person the **Member** role for almost everything else. **The person says the invitation link doesn't work.** Check that they sign in with the exact address you invited. If you removed the invitation, the link no longer works; send a new one. **Do invitees need a paid plan?** No. They need an AnalyticsX account with the invited address, but a shared website runs on the owner's plan, so they don't need a plan of their own to open it. --- # Account and sign-in > Your AnalyticsX account settings, signing in with a password or Google, resetting your password, preferences, suggesting a feature, signing out and deleting the account. Source: https://supametrics.io/docs/account Your account is the person signing in. Websites, plans and billing all belong to an account. This page covers the **Account** screen, the ways to sign in, and what happens when you sign out or delete the account. ## Open your account settings Click your name at the bottom of the sidebar to open the account menu. It has: - your name and email address - **Theme**: **Light**, **Dark** or **System** - **Settings** (opens **Account › General**), **API & MCP** and **Billing** - **Documentation**, which opens this help center in a new tab - **Affiliate (50%)**, marked **Soon** - **Log out** The line under your name in the sidebar shows your role on the website you're looking at, for example "Owner · Acme". The **Account** screen is at `/account` and has four tabs: - **General** (`/account`): profile, sign-in methods and preferences. Described below. - **API & MCP** (`/account/api`): access tokens for the REST API and AI assistants, and the AI apps connected with a sign-in (**Connected apps**, where you can disconnect them). See [REST API and access tokens](https://supametrics.io/docs/rest-api) and [Connect AI assistants (MCP)](https://supametrics.io/docs/mcp). This tab is hidden until you have a website. - **More** (`/account/more`): the affiliate programme. It isn't open yet: **Become an affiliate** is disabled and marked **Soon**. - **Billing** (`/account/billing`): see [Plans, billing and event limits](https://supametrics.io/docs/billing). ## Profile The **Profile** card shows your initials, your name and your email address. - **Name**: edit it and click **Save** (up to 80 characters). Your name is used in the greeting on the Websites home and in invitation emails you send. - **Email**: shown under the name with "email can’t be changed here". You can't change your sign-in address in the app. ## Sign-in methods The **Sign-in methods** card shows the ways you can sign in to this account. - **Email and password**: **On** if the account has a password, **Off** if you only sign in with Google. - **Google**: shown when Google sign-in is available. It says **Connected** with a **Disconnect** button, or offers **Connect Google**. If the list can't be loaded, the card says "Couldn’t load your sign-in methods" with **Retry**. ### Connect Google Click **Connect Google**, pick your Google account and allow access. You come back to **Account › General** with "Google connected. You can now sign in with Google." From then on you can use **Continue with Google** on the sign-in screen. - The Google account can use a different email address from your AnalyticsX account. - A Google account can be connected to only one AnalyticsX account. If it's already connected elsewhere, you see "That Google account is already connected to another AnalyticsX account." - Google must have verified the Google account's email address. ### Disconnect Google Click **Disconnect**. This is only possible while the account also has a password, so you can't lock yourself out: if Google is your only way to sign in, the button is disabled. For your security, AnalyticsX may ask you to log out and sign in again before it lets you disconnect. ### Passkeys Passkeys aren't available for AnalyticsX customer accounts. Sign in with your email and password, or with Google. ## Sign up and sign in - **Create an account** at `/sign-up` with a name, email and a password of at least 8 characters, or with **Continue with Google**. Every new account gets a welcome email. - **Sign in** at `/sign-in` with your email and password, or with **Continue with Google**. If you already have an account with a password and use **Continue with Google** with the same email address, sign-in stops with "You already have an account with this email that uses a password." Sign in with your password, then connect Google from **Account › General** to use it next time. Signing in with Google never joins two accounts on its own. ## Forgot or change your password To reset or change your password: 1. On the sign-in screen, click **Forgot password?** (or go to `/forgot-password`). 2. Enter your email address and click **Send reset link**. 3. Open the email and choose a new password (at least 8 characters), twice, then **Save new password**. Details: - The screen says the same thing whether or not an account exists for that address. - The link works once and expires after one hour. An old or used link shows "This reset link is invalid or has expired" with **Send a new link**. - After a reset, every signed-in session of the account is signed out, and AnalyticsX emails you that the password was changed. Sign in again with the new password. - If the account only used Google until now, this sets its first password. There is no password field in **Account › General**. Use the reset link to change your password. ## Preferences The card under **Sign-in methods** holds three settings for your whole account: - **Theme**: **Light**, **Dark** or **System** (follows your device). It applies to every website you open and is remembered in this browser. The same switch is in the account menu and at the top of the sign-in screens. - **Email notifications**: alert emails from all your websites. Turn it off to stop them. Security and sign-in emails (password resets, for example) always arrive. See [Email reports and alerts](https://supametrics.io/docs/reports-and-alerts). - **Show overview card**: adds up visitors and revenue from all your websites in the greeting on the Websites home. Turn it off for a greeting without numbers. See [Websites and workspaces](https://supametrics.io/docs/websites#the-greeting). Changes save as soon as you flip the switch. ## Suggest a feature Click **Suggest a feature** in the sidebar, under **Billing**. Write your idea (3 to 4,000 characters) and click **Send suggestion**, or press Cmd+Enter (Ctrl+Enter on Windows). The suggestion is sent to the AnalyticsX team with your name, email address and the screen you were on. You can send up to 10 suggestions a day. ## Chat with support Click the chat button in the bottom-right corner of any screen, on the website or in the app, to message the AnalyticsX team. When you're signed in, the chat already knows your name and email address, so your conversation is linked to your account and you don't have to introduce yourself. After you log out, the chat no longer shows your details. Press Esc or click the button again to close it. ## Log out Click **Log out** in the account menu, or at the bottom of **Account › General**. You return to the sign-in screen. ## Delete your account At the bottom of **Account › General**, click **Delete account** and confirm. The dialog says: "This deletes your account, every website and all analytics data. This can’t be undone." Deleting the account: - cancels any paid subscription in Stripe straight away; if the cancellation fails, nothing is deleted and you're asked to try again or cancel in the billing portal first - permanently deletes every website you own with all its data, and removes everyone you shared them with - deletes your API tokens, preferences, suggestions and sign-in methods, and signs you out - removes your access to websites other people shared with you (their websites are not affected) For exactly what is kept and removed, see [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data#delete-your-account). ## When AnalyticsX support views your account To help with a support request, AnalyticsX support may open your account as you. While that happens, a banner is shown across the top of every screen, so it's always visible. A support session can't change your password or sign-in methods, and can't delete your account. Support chat during that session doesn't use your name or email. ## Common questions **I signed up with Google. Can I sign in with a password too?** Yes. Log out, click **Forgot password?** on the sign-in screen and enter your account's email address. Choosing a password from the emailed link adds one to your account, and **Email and password** then shows **On**. **I don't get the reset email.** Check spam, and that you typed the address you signed up with. Ask for a new link after a minute. **Can I change the email address on my account?** Not in the app. **Can I have two accounts?** Yes, with different email addresses. Each account has its own websites and plan. --- # Plans, billing and event limits > AnalyticsX packages and prices, monthly and lifetime limits, event credits, add-ons and special offers, how events are counted, what happens at your monthly event limit, and how to subscribe, change plan, pay invoices and cancel. Source: https://supametrics.io/docs/billing AnalyticsX is billed per account, by the number of events your websites record each month. Everything on this page lives in **Account › Billing** (`/account/billing`), which you can open from **Billing** in the sidebar or the account menu. Only you manage your account's billing: people you invite to a website never see or change it. ## Packages and prices The plans on sale are packages: each one has a monthly price, a yearly price, or both. The pricing section on the homepage and **Billing** list every package on sale, side by side, with a **Monthly** / **Yearly** switch when both are sold. Pay yearly and the yearly price is shown with the months it saves, for example "Pay yearly and get 2 months free". Each package has two kinds of limits: | Resets every month | Never resets | | --- | --- | | **Events**: pageviews, goal completions and payments | **Websites** you own | | **Bot requests** stored | **Team members** besides you | | | **Data retention**: how long full-detail data is kept (3, 5 or 10 years) | | | **Event credits**, when the package includes some | On the homepage, **Start with *package*** creates your account (or signs you in) and opens **Billing** with that package marked under **Choose a plan**. An account keeps the limits it bought: if a package changes later, your plan stays as it was. ### Event credits Event credits are a balance of extra events that **never expire**. They are used only after your monthly events run out: once a cycle's own events are used up, each further event takes one credit. The next cycle starts again with your full monthly events, and the credits left carry over. Your allowance in **Billing** is your monthly events plus the credits you have left. The usage card shows an **Event credits** row: how many are left, how many you started with and how many are used, for example "750,000 of 1,000,000 event credits left (250,000 used)". A package can include credits, and you can buy more as an add-on. ### Add-ons Add-ons are extra capacity paid for once: more event credits, websites or team members. They never expire and are added to your plan's limits straight away. Under **Billing › Optional add-ons › Add-ons**: - Click **Buy *add-on*** and pay on Stripe's secure checkout. You come back to Billing with it applied. - **Bought** lists your add-ons with what they added, what you paid and when. An add-on that was refunded is marked **Refunded** and its capacity is taken back. - You need a plan first: a subscription or a lifetime plan. During the trial the button says "Pick a plan first". ### Subscribe to a package 1. In **Billing**, under **Choose a plan**, pick **Monthly** or **Yearly**. 2. Click **Subscribe to *package*** and enter your card on Stripe's secure checkout. Promotion codes are accepted there. 3. You come back to **Billing**, which confirms "You’re on *package*". A package with fewer websites or team members than you have is refused until you remove the extra ones; Billing shows the reason, for example "Starter includes 2 websites and you have 3." ### Change package On a package subscription, **Choose a plan** becomes **Change plan**, with your package marked **Current**: 1. Click **Switch to *package*** (any other package, monthly or yearly). 2. The dialog shows the price and what Stripe will charge, for example "You’ll be charged $12.50 today (prorated) to VISA •••• 4242" or "$3.75 more on your next invoice (prorated)". A package that costs more a month is charged today; anything else is prorated on your next invoice. 3. Click **Switch plan**. If you have the bot traffic add-on, turn it off before switching between monthly and yearly billing. ### Your plan During your trial and once you have a plan, the **Your plan** card (**Your trial** while you're trying it) lists what your account has, add-ons included: events and bot requests a month, websites, team members, **data retention** (how long your full-detail data is kept) and the event credits left. ## Starter and Growth Accounts that subscribed before packages were introduced keep Starter or Growth, with the controls described in [Your subscription](#your-subscription) and [Upgrade or downgrade](#upgrade-or-downgrade). When no package is on sale, the homepage and Billing sell these two plans. Each has event steps: pick the monthly event limit you need, and the price follows it. | | Starter | Growth | | --- | --- | --- | | Websites | 1 | 30 | | Team members (besides you) | 1 | 30 | | Data retention | 13 months | 25 months | | Bot requests included each cycle | 100,000 | 1,000,000 | | Event steps (monthly price) | 10k events: $9 | 1M events: $49 | | | 100k events: $19 | 2M events: $79 | | | 250k events: $29 | 5M events: $199 | - **Data retention** is enforced: visits older than your plan's retention are deleted automatically, while payments are kept. Moving from Growth to Starter shortens it to 13 months, so data between 13 and 25 months old is deleted after about a month. See [Automatic deletion of old data](https://supametrics.io/docs/privacy-and-data#automatic-deletion-of-old-data). - Prices are in US dollars. - **Annual billing** charges ten months for twelve ("Annual · 2 months free"). For example, Starter with 100k events is $190 a year. Annual plans still get a monthly event allowance that resets each month. - **Social mentions** (X and Reddit) and **X link attribution** are listed for Growth with a **Soon** tag. They aren't available yet. ### The free trial A new account starts on a 14-day Growth trial with no card. The trial includes 50,000 events in total and Growth's website and team limits. - When the trial's 50,000 events are used up, tracking pauses until you pick a plan. - When the 14 days are over without a plan, tracking pauses: "Your trial has ended and tracking is paused. Pick a plan to start tracking again." - **Billing** shows "Your Growth trial runs until *date* and includes 50,000 events." Paused tracking means new visits aren't recorded. Everything recorded before stays in your dashboards. ## How events are counted An event is a **pageview**, a **goal completion** or a **payment**. Events are counted across all the websites you own, in a monthly cycle. - Clicks on links to other websites (exit links) are free. - Bot and AI crawler requests are counted separately, against their own allowance. See [Bots and AI crawlers](https://supametrics.io/docs/bot-tracking). - Websites other people shared with you count towards their owner's plan, not yours. - The cycle starts on the day of the month your account was created, or once you subscribe, on your subscription's renewal day. If that day doesn't exist in a month (the 31st, say), the cycle uses the month's last day. ### The usage meter The sidebar shows a small meter above your name: **Monthly events**, the percentage used, "17,269 of 100,000" and "resets Nov 9" (during the trial: **Trial events** and "trial ends *date*"). The bar turns amber at 80% and red at 100%. Click it to open **Billing**. ## The Billing tab ### Usage The first card is titled with your allowance, for example **100,000 monthly events**, with the cycle's dates and two badges: your plan name and its status (**Trial**, **Active**, **Ends soon**, **Past due**, **Trial ended**, **Canceled** or **Unpaid**). It shows: - a line about your plan's state when there is something to say (a trial end date, a failed payment, a plan that ends soon) - **Total usage**: events used of your limit, with the percentage and a bar - a note at 80% and at 100% that says what happens next - a table of **Website**, **Events** and **Share** for each website you own - **Pause tracking at limit** (not shown during the trial) - the state of your free pass, on plans whose dashboard locks at the limit ### Your subscription - **Billing portal ↗** opens Stripe's billing portal: invoices, payment methods, plan changes and cancellation. It becomes available once you've subscribed. - **Choose a plan** (before you subscribe) or **Change event limit** (once you have) opens the plan picker. - **Upgrade to Growth** (or **Subscribe to Growth** during the trial) appears when you're not already on a paid Growth plan. When packages are on sale, an account without a plan, or on a package subscription, picks and changes its plan in the **Choose a plan** / **Change plan** card instead: see [Packages and prices](#packages-and-prices). ### Optional add-ons: Bot traffic Shows the bot and AI crawler requests recorded this cycle against your allowance (100,000 on Starter, 1,000,000 on Growth). **Add capacity** adds 1,000,000 requests a cycle for $9/month ($90/year on annual billing), prorated for the rest of the current period. **Remove capacity** takes it away and credits the unused part on your next invoice. You need a subscription to add it. There are no automatic overages. ## When you reach the limit What happens at 100% depends on your plan and on **Pause tracking at limit**. ### Tracking - **Pause tracking at limit off** (the default): tracking continues past the limit, so no data is lost. - **Pause tracking at limit on**: tracking stops when you reach the limit and starts again when the next cycle begins or you raise the limit. - During the trial, tracking always stops at the trial's limit. When tracking is paused for any reason, a banner at the top of every screen says why, with a button such as **Pick a plan**, **Change limit** or **Pay invoice**. You can dismiss it; it comes back if the situation changes. ### The dashboard lock On a paid plan (active, or past due while Stripe retries your card), reaching the limit locks the dashboards of all your websites until the cycle resets or you raise the limit. - Instead of the dashboard you see "You’ve reached *N* events. Your dashboard is locked until *date*." It also says whether tracking continues or is paused. - The lock covers the analytics screens: Dashboard, Insights, Details, Real-time, Goals, Revenue and Visitors. **Site settings**, **All websites**, **Account** and **Billing** stay open. Cards on the Websites home show **Locked: monthly event limit reached**. - People you invited to your websites see "This dashboard is locked" with the date, and are asked to contact you. - A public dashboard link you turned on before the lock keeps working, and so do the REST API and MCP. You can't turn on a new public link while locked. - The trial, accounts without a plan and plans arranged directly with AnalyticsX don't lock. At 80% Billing warns: "You’ve used 80% of this cycle’s events. At 100% your dashboard locks." ### The one-time free pass Once per account, ever, you can unlock the dashboard without changing your plan. On the lock screen click **Use my free pass**: the dashboard opens again until the end of the current cycle. Billing then shows "Free pass in use" and, later, "Free pass used on *date*". The pass can only be used while the dashboard is locked. ### Raise my limit or upgrade **Raise my limit or upgrade** on the lock screen opens **Billing** with the plan picker already open. Pick a bigger step or Growth. As soon as your limit is above this cycle's events, the dashboard opens again. ## Subscribe When packages are on sale, see [Subscribe to a package](#subscribe-to-a-package). Otherwise: 1. In **Billing**, click **Choose a plan** (or **Subscribe to Growth** / **Upgrade to Growth**). 2. Choose **Monthly** or **Annual · 2 months free**, then a plan and an event step. Each step shows its price. 3. Click **Continue to checkout** and enter your card on Stripe's secure checkout. Promotion codes are accepted there. You come back to **Billing**, which confirms "You’re on *plan*". If the payment needs extra confirmation (3D Secure, for example) and isn't finished, Billing says so and lets you finish it in the billing portal. ## Special offers and lifetime deals A special offer sells packages at a different price for a limited time, under its own name, for example **Black Friday**. While one is on sale, the homepage shows a strip and a link under the pricing heading with its name and prices, and the offer page at [supametrics.io/black-friday](https://supametrics.io/black-friday) lists every package in it, with a countdown to its end. A lifetime deal is one payment for a package for life: its monthly events and bot requests reset every month, its other limits never reset, and nothing is charged again. For example, Black Friday 2026 sells Starter for $69, Growth for $149 and Scale for $249, once each, until midnight Pacific time at the end of Monday, November 30. Each package's card shows its limits, split into **Every month** and **Never resets**. Before packages, the first Black Friday deal sold Starter for $149 and Growth for $399 for life (100,000 and 1,000,000 events a month); codes bought then still redeem. You don't need an account to buy a lifetime deal. To buy one: 1. On the offer page, click **Get *package* for life**. 2. Enter the email address your activation code should go to, then click **Continue to payment**. If you're signed in, your account's email is filled in. Already signed in to the app? In **Billing**, the ***offer* lifetime deal** section has a button for each package and uses your account's email, with a **See the offer** link. 3. Pay once by card on Stripe's secure checkout. 4. Bought from **Billing**? You come back to Billing with your new code already filled in under **Redeem activation code**: click **Redeem** to apply it. The code is emailed to you as well. 5. Bought from the offer page? You land on a thanks page that names your package and says where your code was sent, for example "We’ve emailed your activation code to jo\*\*\*@example.com". The email, with your code and a link to redeem it, arrives within a few minutes. Check spam if it doesn't. ## Redeem an activation code An activation code looks like `AX-XXXX-XXXX-XXXX`. It works on a new or an existing account: 1. Click the link in the email, or create an account or sign in, then open **Account › Billing**. 2. Under **Redeem activation code**, enter the code (the link fills it in for you). Upper or lower case, spaces and dashes don't matter. 3. Click **Redeem**. Billing confirms "You own *plan* for life". The status badge shows **Lifetime** and Billing says "You own this plan for life: no renewals, nothing more to pay." **Redeem activation code** is shown on every account that doesn't already have a lifetime plan, during the deal and after it, so a code bought before the deal ends can be redeemed later. If a code is refused, Billing says why: | Message | What to do | | --- | --- | | We couldn’t find that code | Check it against the email. | | This code has already been redeemed on another account | Each code works once. | | This code no longer works because its payment was refunded | The payment was refunded, so the code was cancelled. | | This account already has a lifetime plan | Redeem the code on another account. | | *Plan* includes *n* websites (or team members) and you have more | Delete the extra websites or team members first. | | Too many tries | Wait a few minutes and try again. | What to know: - **It never renews.** Your monthly events reset each cycle, and nothing is charged again. Your Stripe receipt comes by email when you pay. - **The event limit is fixed.** **Change event limit**, **Upgrade to Growth** and the bot traffic add-on aren't available on a lifetime plan (Billing says the +1M add-on is for subscriptions instead of showing its button). Add-ons are: buy more event credits, websites or team members under [Add-ons](#add-ons). At the limit, tracking keeps running and the dashboard doesn't lock, unless you turn on **Pause tracking at limit**. - **Already subscribed?** Redeeming a code stops your subscription renewing: it runs to the end of the period you've paid for and isn't charged again. A subscription with a failed payment is ended straight away. - **Mind the website limit.** The package must include as many websites and team members as you have: delete the extra ones first, or pick a bigger package (the first deal's Starter for life includes 1 website). - **One lifetime plan per account.** Each code puts one account on its plan. Bought two? Redeem the second on another account. - **Refunds.** Write to hello@analyticsx.io with your Stripe receipt. Once a payment is refunded in full, its code stops working, or, if it was already redeemed, the lifetime plan ends and tracking pauses until you pick a plan. - A lifetime plan bought before an offer ends keeps working after it. ## Upgrade or downgrade Once you're subscribed: - **Change event limit** lets you pick any step of either plan. Before you confirm, it shows the prorated amount from Stripe, for example "$3.75 more on your next invoice (prorated)" or a credit. Click **Update limit**. - **Upgrade to Growth** moves Starter to Growth's first step (1M events). It is charged today, prorated, to your card on file: the dialog shows "You’ll be charged *amount* today (prorated) to *card*." Click **Upgrade**. If the card is declined, nothing changes. - Other changes, including moving down to a smaller step or from Growth to Starter, are prorated on your next invoice. - An annual subscription stays annual when you change it. Moving to a plan with fewer websites or team members than you have is refused until you remove the extra ones, for example "Starter includes 1 website and you have 3. Delete 2 websites first, or pick a bigger plan." The plan picker warns about this before you continue. ## Invoices and payment methods Invoices, receipts and payment methods are in Stripe's billing portal: **Billing › Your subscription › Billing portal ↗**. If a payment fails: - **Past due**: your plan keeps working while Stripe retries. Billing says "Your last payment failed. Update your card in the billing portal to keep your plan." - **Unpaid**: tracking pauses. Billing shows **Pay open invoice ↗**; paying it restores your plan. You can't start a new subscription while an invoice is open. ## Cancel Cancel in the billing portal. While a cancelled plan is still running to the end of its paid period, the status badge shows **Ends soon** and Billing says "Your plan ends on *date*. Renew it in the billing portal." When it ends, tracking pauses ("Your subscription has ended and tracking is paused") and your data stays. Pick a plan again at any time to resume. Deleting your account cancels the subscription immediately. See [Account and sign-in](https://supametrics.io/docs/account#delete-your-account). ## Plans arranged with AnalyticsX Some accounts have a plan set up directly by AnalyticsX instead of through Stripe. Billing shows the plan with an **Active** badge. These plans don't lock the dashboard at the limit; tracking continues unless **Pause tracking at limit** is on, in which case it pauses until the next cycle. If **Billing** says "Paid plans can’t be bought in the app yet. Nothing is charged.", in-app purchases aren't turned on for your account: the Stripe buttons are disabled and **Invoices** says "No invoices yet". ## Common questions **Do visitors from websites shared with me use my events?** No. They count towards the website owner's plan. **What happens to my data when tracking pauses?** Nothing. Paused tracking only means new visits aren't recorded. **Can I get more than 30 websites or 5M events?** Not in the app. Contact AnalyticsX. **Why is my dashboard locked when my teammate's isn't?** The lock follows the account that owns each website. A website you were invited to locks only when its owner reaches their limit. --- # Privacy and deleting data > Erase a visitor's data for a privacy request, delete a website or your whole account, what is kept and removed, consent mode and the status of cookieless mode. Source: https://supametrics.io/docs/privacy-and-data This page covers removing data from AnalyticsX: one visitor's data (for a deletion request from one of your own visitors), a whole website, or your whole account. It also explains the privacy options for your tracking script. For what the script collects in the first place, see [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works). ## Erase a person Use this when someone who visited your website asks you to delete their data, for example under the GDPR "right to erasure". Only the website's owner can erase data; members and viewers can't. You can start an erasure from two places: - **Site settings › Security** (`/settings/security`): **Erase a person**. - The **Visitors** screen: **Erase a person** at the top, or **Erase this person** in a selected visitor's details, which fills in their email address or visitor ID for you. See [Visitors and visitor profiles](https://supametrics.io/docs/visitors). ### How it works 1. In **Erase a person**, enter an **Email, user ID or visitor ID**. It must be an exact match. 2. Click **Find**. AnalyticsX shows what it found, for example "Found 2 visitor IDs with 1 payment. This can’t be undone.", or "Nobody matches that." 3. Click **Erase** to delete. The app confirms with "Erased 2 visitor IDs". If you change the search text after **Find**, you have to find again before you can erase. ### Find people by email or your own user ID One person can have a different visitor ID in each browser or device. AnalyticsX can only link them, and find them by email or by your own user ID, if your site tells it who they are. Call this after the person signs in: ```js window.analyticsx?.('identify', { id: 'user_123', email: 'jane@example.com' }); ``` Without `identify`, you can only erase by visitor ID. See [Tracker JavaScript API](https://supametrics.io/docs/tracker-javascript-api). ### What is erased and what is kept Erasing searches all time, not just a date range, and removes: - every visitor ID that matches, across all of the person's browsers that `identify` linked - their visits (sessions), pageviews and goal completions - their identity: the visitor record with the email, user ID and other details your site sent It keeps: - their **payments** and **subscriptions**, because they are your business's financial records. They stay in your revenue numbers but are no longer linked to the person. The source and campaign recorded when the payment came in stay on the payment. Erasing is permanent. AnalyticsX can't restore erased data. ## Delete a website Only the owner can delete a website. 1. Open **Site settings › General**. 2. Click **Delete website** at the bottom. 3. Type the website's domain to confirm, then click **Delete website**. The dialog warns: "This permanently deletes the website and all its analytics, payments, goals, alerts and settings. This can’t be undone." Deleting a website removes: - all its visits, pageviews, events, visitors, payments and subscriptions - its goals, funnels, segments, notes, alerts, exclusions, extra domains, icon, product names and bot settings - its team: invitations and everyone's access to it - its website API keys, and the website from any account API token that was limited to it - the record of emails sent about it The tracking script on your pages stops counting anything once the website is gone. Remove the snippet from your site as well. ## Delete your account Open **Account › General** and click **Delete account** at the bottom, then confirm. See [Account and sign-in](https://supametrics.io/docs/account#delete-your-account). Deleting your account: - cancels any paid subscription in Stripe right away (if that fails, nothing is deleted and you're asked to try again) - deletes every website you own, with everything listed under [Delete a website](#delete-a-website) - deletes your API tokens, account preferences, billing settings, feature suggestions, sessions and sign-in methods (password and connected Google account), and your login itself - removes your access to websites other people shared with you, and the invitations you accepted What stays: - Websites owned by other people are not affected, even if you were a member of them. - For invitation emails you sent, AnalyticsX keeps only the recipient address and the time it was sent, without your name or the message, so the daily limits on invitation emails can't be reset by deleting an account. - Invoices and payment records held by Stripe follow Stripe's own retention. ## Automatic deletion of old data AnalyticsX keeps each website's full-detail history for as long as the owner's plan says, then deletes it: | Plan | Data retention | | --- | --- | | Starter | 13 months | | Growth (and the free trial) | 25 months | | A package | The data retention its card lists ("Data retention 3 years"); see [Packages and prices](https://supametrics.io/docs/billing#packages-and-prices) | Every hour, data older than the plan's history **plus 30 days** is deleted. The extra 30 days mean you always have at least the full period your plan promises, even right after a plan change. Large backlogs are cleared a bit at a time over a few hours. Deleted data can't be recovered. What is deleted once it is old enough: - Pageviews, goal completions, custom events and exit-link clicks. - Sessions (each visit's source, landing page, location and device). - Bot and AI crawler hits. - Unmatched event names on the Goals screen. - History imported from DataFast (see [Import from DataFast](https://supametrics.io/docs/import-from-datafast)), day by day. - Visitors with no visits left and no payment, including the name and email from `identify`. What is kept: - Payments and subscriptions, with the source and campaign they were credited to, so revenue numbers for old periods stay as they were. - A visitor that a kept payment still points to. - Your settings, goals, funnels, segments, notes and team. The retention follows the plan of the website's owner. If you move from Growth to Starter, data between 13 and 25 months old is deleted about a month later. A raw data export isn't available yet; the [REST API](https://supametrics.io/docs/rest-api) can save the aggregate reports (totals, breakdowns, time series) you want to keep. ## Consent mode If your site uses a cookie consent tool, turn on **Wait for cookie consent** when you copy the snippet (in **Site settings › General** or on the setup screen). It adds `data-consent="required"` to the script: ```html ``` With it, the script sends nothing and sets no cookies until your consent tool calls: ```js window.analyticsx?.('consent', true); ``` Call it with `false` when a visitor withdraws consent. See [Install and verify the script](https://supametrics.io/docs/install-the-script). ## Cookieless mode **Cookieless / privacy mode** is shown in the install settings with a **Soon** tag. It's coming soon and does not do anything yet. Today the script keeps its own first-party cookies on your domain. Use [consent mode](#consent-mode) if you need to wait for consent. ## Other privacy settings - **Exclusions** keep your own visits and chosen IP addresses, paths, hostnames and countries out of your stats. See [Exclusions](https://supametrics.io/docs/exclusions). - **Site settings › Security** also shows **Attack mode**, which is marked **Soon**: its switches are disabled and do nothing yet. See [Security settings](https://supametrics.io/docs/settings-security). ## Our affiliate program AnalyticsX's own pages (not your site, and not the tracking script you install) load OpenPromoter, the service that runs our affiliate program. When you arrive through a partner's link it remembers that click, and when you create an account or pay for a plan it tells OpenPromoter your email or links the payment to that click, so the partner is credited. If you didn't come through a partner link, nothing is credited to anyone. ## Common questions **A visitor asked for their data to be deleted, but I don't know their visitor ID.** If your site calls `identify` with their email or user ID, search for that. Otherwise ask them for their visitor ID; your site can show it with `window.analyticsx?.('visitorId')`. **Does erasing a person change my revenue?** No. Their payments stay in your revenue, without the link to them. **Can I undo deleting a website or account?** No. Both are permanent. **Can a member erase visitors?** No. Only the website's owner can erase a person's data. Members see "Only the website’s owner can erase a person’s data." --- # Tracker JavaScript API > Every option and command the AnalyticsX tracking script supports, with copy-paste examples. Source: https://supametrics.io/docs/tracker-javascript-api The tracking script (`ax.js`) records pageviews on its own. This page lists everything else it can do: the attributes you can put on the script tag, and the commands your own code can send through `window.analyticsx`. For a first install, start with [Install and verify the script](https://supametrics.io/docs/install-the-script). ## The script tag ```html ``` Copy the exact snippet, with your site ID filled in, from **Site settings › General** (or the **Setup** screen before your site is verified). Put it inside `` on every page. Without `data-site` the script does nothing. ## Script tag attributes | Attribute | Default | What it does | |---|---|---| | `data-site="..."` | required | Your website's public site ID. | | `data-consent="required"` | off | Sends nothing and sets no cookies until your code calls `analyticsx('consent', true)`. See [Consent](#consent). | | `data-domain="example.com"` | detected | The domain the visitor cookies are set on. By default the script picks your root domain, so `example.com` and `app.example.com` share one visitor. Set this only if detection picks the wrong one. | | `data-api="https://..."` | `https://app.supametrics.io/api/event` | Where events are sent. Use it when you proxy tracking through your own domain. | | `data-allow-localhost` | off | Also track on local development hosts (see [Local development](#local-development)). | > **Note:** When the `data-api` address ends in `/event`, the script also loads its click-goal settings > through your proxy, from the same address with `/event` replaced by `/config/`; forward that > `GET` to `https://app.supametrics.io/api/config/`. If the proxy doesn't answer it, or the address > ends differently, the settings load from the address the script came from (` ``` Those visits are stored under their hostname (for example `localhost`). Remove the attribute before you deploy, or drop that hostname later in **Site settings › Exclusions**. The script also does nothing in automated browsers (when `navigator.webdriver` is set), so end-to-end test runs are not counted. ## When the script is blocked If an ad blocker blocks the script, or it fails to load, `window.analyticsx` is never defined. Calls written as `window.analyticsx?.(...)` then do nothing and your page keeps working. Calls written as `window.analyticsx(...)` throw an error. If your code may run before the script has loaded (the script uses `defer`), you can add a small queue in front of the snippet. Calls made before the script loads are kept and run once it starts: ```html ``` With the queue in place, `track`, `identify`, `pageview` and `consent` calls are replayed in order. `visitorId` cannot return a value from the queue; call it after the page has loaded. > **Note:** with the queue, `window.analyticsx` always exists, so if the script is blocked your queued calls > simply never send. ## What the script sends - Personal parameters in the page address (`email`, `e-mail`, `name`, `phone`, `password`, `pass`, `token`, `access_token`, `id_token`, `auth`, `code`, `secret`, `key`, `api_key`, `license_key`, `license`, in any letter case) are removed in the browser before anything is sent. - Each event has its own ID, so a request the browser retries is stored once. - Page addresses longer than 2,000 characters are rejected by the server, and so is any request over 8 KB. - Requests use `text/plain` and send no cookies to AnalyticsX, so there is no CORS preflight. - Bots are ignored on the server (see [Bots and AI crawlers](https://supametrics.io/docs/bot-tracking)). Cookies and storage the script uses, all on your own domain: | Name | Where | Lifetime | Purpose | |---|---|---|---| | `ax_vid` | cookie | 1 year | Visitor ID | | `ax_sid` | cookie | 30 minutes, renewed on each event | Visit (session) ID | | `ax_ignore` | localStorage | until removed | Set by `?ax_ignore=true` | | `ax_consent` | localStorage | until withdrawn | Consent given | | `ax_goals_` | sessionStorage | 1 minute | Cached click goals | For what is collected and why, see [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works). ## Moving from DataFast `window.datafast` takes DataFast's call style, so goal code written for DataFast keeps working: - `datafast('signup')` tracks the event `signup`, like `analyticsx('track', 'signup')`. - `datafast('identify', { user_id, email, name })` identifies the visitor, like `analyticsx('identify', { id, email, name })`. Calls queued before the script loaded are sent once it has. To bring your DataFast history too, see [Import from DataFast](https://supametrics.io/docs/import-from-datafast). ## Installed as DataFaster AnalyticsX used to be called DataFaster. Sites installed before the rename keep working unchanged: - `/js/df.js` serves the same script as `/js/ax.js`. - `window.datafaster` is the same function as `window.analyticsx`, with the same commands. - `?df_ignore=true` still excludes a browser, like `?ax_ignore=true`. - Old `df_vid` and `df_sid` cookies (and saved `df_` settings) are moved to the `ax_` names on the first visit, so returning visitors keep their ID. Switch to the `ax.js` snippet and `window.analyticsx` whenever convenient. --- # REST API and access tokens > Read your analytics, goals and revenue from scripts with access tokens and the AnalyticsX REST API. Source: https://supametrics.io/docs/rest-api The AnalyticsX REST API lets your own scripts, dashboards and agents read your numbers: your websites, the key figures and charts, breakdowns by source, page or country, goals, and Stripe revenue. It can also create goals. Every request is signed with an access token you create in the app. The same tokens also connect AI assistants through the MCP server; see [Connect AI assistants (MCP)](https://supametrics.io/docs/mcp). ## Access tokens There are two kinds of token. Both start with `ax_` and work the same way on the API. | | Account tokens | Website keys | |---|---|---| | Where | **Account › API & MCP** (`/account/api`) | **Site settings › API / MCP** (`/settings/api`) | | Websites | All your websites, or the ones you pick | One website | | Permissions | The ones you pick | All: read everything, and create goals | | Who | Any signed-in user, for websites they own | The website's owner only | Tokens act as the account that owns the website. They can only reach websites you **own**: websites shared with you as a team member are never listed and can't be picked. ### Create an account token 1. Click **API & MCP** in the sidebar (or go to `/account/api`). 2. Click **New token**. 3. **1. Pick websites**: **All websites** (including websites you add later) or **Specific websites**, then tick the ones the token may reach. 4. **2. Choose permissions**: tick **Read** or **Write** for each row. Write includes read. **Select all read** and **Select all write** in the table header tick a whole column. 5. **3. Name it (optional)**: up to 60 characters, for example `CLI AI agent`. 6. Click **Create token**. The full token is shown once, under **Copy your new token now. It's shown only once.** Copy it and keep it somewhere safe. AnalyticsX stores only a fingerprint of it, so it can't be shown again; the list shows just its first and last characters (for example `ax_1a2b…9z8y`). | Permission | Read | Write | Lets the token | |---|---|---|---| | **Websites** | yes | – | List websites | | **Analytics** | yes | – | Read the overview and breakdowns | | **Goals** | yes | yes | List goals (read); create goals (write) | | **Payments** | yes | – | Read the Stripe revenue summary | ### Create a website key In **Site settings › API / MCP**, enter an optional **Key name** (up to 60 characters) and click **Create key**. The key is shown once, under **Copy this key now**. A website can have up to 20 keys. Only the owner sees this tab's keys; team members see **Only the owner manages API keys**. Website keys are also listed, read only, under **Website keys** in **Account › API & MCP**, with a **Manage** button that opens that website's settings. ### Edit, roll and delete Each token in the list shows its name, the start and end of the token, and **Last used** (or **Never used**). Last use is updated at most once a minute. - **Edit permissions** (account tokens only): open the token with the arrow next to its name, then change its websites, permissions or name and click **Save permissions**. The token itself does not change. - **Roll**: makes a new secret with the same settings. The old one stops working right away, so update every script or agent that uses it. - **Delete**: the token stops working immediately. This can't be undone. Tokens don't expire. Roll or delete a token when you no longer need it or if it may have leaked. When you delete a website, it is removed from every token scoped to it; a token left with no websites reaches nothing. Tokens stop working while an account is suspended. > **Note:** a token can read your revenue and visitor numbers. Keep it on a server or in your local > environment. Don't put it in front-end code that visitors can see. ## Authentication Base URL: ``` https://app.supametrics.io/api/v1 ``` Send the token in the `Authorization` header on every request: ```bash curl https://app.supametrics.io/api/v1/sites \ -H "Authorization: Bearer ax_YOUR_TOKEN" ``` Responses are JSON. Requests from browsers are allowed from any origin (CORS), but see the note above about keeping tokens private. ## Machine-readable description Tools and agents can read the API without these docs: - **OpenAPI 3.1:** `https://app.supametrics.io/openapi.json` (every endpoint, its parameters and permission). - **API catalog (RFC 9727):** `https://supametrics.io/.well-known/api-catalog` lists the REST API and the MCP server with their descriptions, docs and status check. - **Status check:** `GET https://app.supametrics.io/api/health` answers `{"status": "ok"}` without a token. - **Agent skill:** `https://supametrics.io/.well-known/agent-skills/index.json` lists a skill that teaches AI agents to use this API and the MCP server. ## Rate limit Each token can make **300 requests per minute**. Above that, requests answer `429` with `{"error": "rate limited"}` until the minute is over. Create separate tokens for separate jobs if you need more headroom. ## Errors | Status | Body | Meaning | |---|---|---| | `400` | `{"error": "..."}` | Bad input, for example an unknown breakdown dimension or an invalid goal. | | `401` | `{"error": "unauthorized"}` | Missing, wrong, rolled or deleted token, or a suspended account. | | `403` | `{"error": "This token needs analytics:read"}` | The token lacks the permission the endpoint needs. | | `404` | `{"error": "site not found"}` | The website doesn't exist, isn't yours, or is outside the token's websites. | | `404` | `{"error": "not found"}` | No such endpoint. | | `429` | `{"error": "rate limited"}` | Over 300 requests in a minute for this token. | ## Endpoints | Method | Path | Permission | |---|---|---| | `GET` | `/sites` | Websites: read | | `GET` | `/sites/{id}/overview` | Analytics: read | | `GET` | `/sites/{id}/breakdown` | Analytics: read | | `GET` | `/sites/{id}/goals` | Goals: read | | `POST` | `/sites/{id}/goals` | Goals: write | | `GET` | `/sites/{id}/revenue` | Payments: read | `{id}` is the website's `id` from `GET /sites` (not the public site ID in the tracking snippet). ### Money and time - Money amounts are whole numbers in the minor unit of the website's currency (cents for USD). `decimals` in the answer says how many decimal places the currency has: `12900` with `decimals: 2` is 129.00. - Revenue counts only payments in the website's currency. Renewals, refunds and excluded products follow the website's settings in **Site settings › Revenue**. - Timestamps (`from`, `to`, `createdAt`, `ts` and so on) are Unix time in milliseconds. - Periods and chart buckets follow the website's timezone. ### List websites `GET /sites` The websites the token can reach, in your dashboard order. ```json { "sites": [ { "id": "k3j9x0a1b2c3d4e5f6g7h8i9", "name": "Example", "domain": "example.com", "timezone": "Europe/London", "currency": "USD", "firstEventAt": 1760000000000, "createdAt": 1759990000000 } ] } ``` `firstEventAt` is when the first visit was accepted, or `null` if the script isn't verified yet. ### Period parameters `overview` and `breakdown` accept these query parameters: | Parameter | Default | Values | |---|---|---| | `period` | `30d` | `now` (last 30 minutes), `today`, `yesterday`, `24h`, `48h`, `7d`, `30d`, `90d`, `3m`, `6m`, `12m`, `wtd` (week to date, from Monday), `mtd`, `ytd`, `all`, `custom` | | `from`, `to` | | `YYYY-MM-DD`, with `period=custom`. Both days are included. | | `granularity` | automatic | `minute`, `hour`, `day`, `week`, `month` for the chart buckets. Too-fine choices over long periods fall back to automatic. | | `compare_from`, `compare_to` | the period before | `YYYY-MM-DD`: a custom comparison period (overview). | | `filters` | none | A JSON list, URL-encoded (see below). | Filters keep only visits, and their revenue, that match every filter (up to 10): ``` filters=[{"d":"channel","o":"is","v":"Organic Search"},{"d":"page","o":"contains","v":"/blog"}] ``` - `d` (dimension): `channel`, `source`, `campaign`, `keyword`, `utm_source`, `utm_medium`, `utm_content`, `ref`, `hostname`, `entry_page`, `exit_page`, `country`, `region`, `city`, `browser`, `os`, `device`, `page` (any page viewed in the visit), `goal` (completed in the visit), `exit_link`, or `visits` (the visit's number for its visitor; 1 is a first visit). - `o` (operator): `is` (default), `is_not`, `contains`, `not_contains`. For `visits`: `is`, `is_not`, `gte` (at least), `lte` (at most), and `v` must be a whole number. - `v` (value): text up to 500 characters. An empty string means "(none)". Unknown dimensions and operators are ignored. Any filter drops unattributed payments, since they have no visit. See [Date ranges, filters, segments and notes](https://supametrics.io/docs/filters-and-date-ranges). ### Overview `GET /sites/{id}/overview?period=7d` Key figures for the period and the period before it, the chart series for both, and visitors online now. ```json { "range": { "from": 1762992000000, "to": 1763596800000, "granularity": "day" }, "previousRange": { "from": 1762387200000, "to": 1762992000000 }, "currency": "USD", "decimals": 2, "stripeConnected": true, "current": { "visitors": 1840, "sessions": 2310, "pageviews": 5120, "bounceRate": 0.41, "sessionSeconds": 96, "revenue": 129000, "newRevenue": 99000, "renewalRevenue": 30000, "refunds": 0, "attributedRevenue": 120000, "unattributedRevenue": 9000, "payments": 14, "payingVisitors": 12, "conversionRate": 0.0065, "revenuePerVisitor": 70.1 }, "previous": { "visitors": 1702, "...": "same fields as current" }, "online": 7, "series": [ { "bucket": "2025-11-14", "visitors": 260, "newVisitors": 210, "returningVisitors": 50, "pageviews": 730, "bounceRate": 0.4, "sessionSeconds": 92, "revenue": 19000, "revenueNew": 15000, "revenueRenewal": 4000, "revenueRefunds": 0, "payers": 2, "sessions": 330, "payments": 2 } ], "previousSeries": [ { "bucket": "2025-11-07", "...": "same fields" } ], "imported": null, "importedExcluded": false } ``` - Rates (`bounceRate`, `conversionRate`) are fractions: `0.41` is 41%. - `conversionRate` is paying visitors divided by visitors. `revenuePerVisitor` is in the minor unit. - `online` counts visitors active in the last 5 minutes. - `imported` is set when the figures include history imported from DataFast: `{ "source": "datafast", "from", "until", "lastDay", "revenue", "running" }`. `importedExcluded` is `true` when imported days fall in the period but the filters can't be applied to them, so they were left out. Breakdowns of source, channel, page, country, UTM source, campaign and device include imported values the same way. See [Import from DataFast](https://supametrics.io/docs/import-from-datafast). - `bucket` labels are `YYYY-MM-DDTHH:MM` (minute), `YYYY-MM-DDTHH:00` (hour), `YYYY-MM-DD` (day, and week: the Monday), or `YYYY-MM` (month), in the website's timezone. Definitions of every figure: [Metrics glossary](https://supametrics.io/docs/metrics-glossary). ### Breakdown `GET /sites/{id}/breakdown?dim=source&period=30d&limit=20` Visitors and revenue split by one dimension, most visitors first. | Parameter | Default | Notes | |---|---|---| | `dim` | `source` | Any filter dimension except `visits`: `channel`, `source`, `campaign`, `keyword`, `utm_source`, `utm_medium`, `utm_content`, `ref`, `hostname`, `entry_page`, `exit_page`, `country`, `region`, `city`, `browser`, `os`, `device`, `page`, `goal`, `exit_link`. | | `limit` | `50` | Rows to return, at most `100`. | Plus the [period parameters](#period-parameters). The answer is a list: ```json [ { "label": "Google", "visitors": 820, "sessions": 1010, "pageviews": 2400, "bounceRate": 0.38, "sessionSeconds": 104, "revenue": 64000, "refunds": 0, "payers": 6, "payments": 7, "conversionRate": 0.0073, "completions": 41, "converters": 37 }, { "label": "Unattributed", "visitors": 0, "revenue": 9000, "...": "..." } ] ``` - `label` is `null` when the value is missing (for example visits with no campaign). - `completions` and `converters` are goal completions and visitors who completed a goal. - `region` and `city` rows also have `country` (a two-letter code). `exit_link` rows have `exits`. - With revenue in the period that has no visit, an `Unattributed` row comes last so the revenue column adds up to the total. `page` and `goal` rows credit a payment to every page viewed or goal completed in the paying visit, so those columns can add up to more than the total. - An unknown `dim` answers `400` with `{"error": "unknown dimension ..."}`. What each dimension means: [Sources, pages, locations and devices](https://supametrics.io/docs/breakdowns). ### List goals `GET /sites/{id}/goals` All goals of the website, oldest first, with completions and unique visitors over the last 30 days. ```json [ { "id": "a1b2c3d4e5f6g7h8", "site_id": "k3j9x0a1b2c3d4e5f6g7h8i9", "name": "Signup", "type": "event", "match": "signup", "enabled": 1, "description": null, "color": null, "hidden": 0, "kpi": 0, "last_completed_at": 1763590000000, "last_completed_path": "/welcome", "created_at": 1760000000000, "completions": 58, "visitors": 55 } ] ``` `type` is `path` (URL path), `click` (element click, `match` is a CSS selector) or `event` (JavaScript event). `enabled` is `1` or `0`. Goal field names use underscores, unlike the other endpoints. ### Create a goal `POST /sites/{id}/goals` with a JSON body. Needs **Goals: write**. ```bash curl https://app.supametrics.io/api/v1/sites/SITE_ID/goals \ -H "Authorization: Bearer ax_YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"name": "Signup", "type": "event", "match": "signup"}' ``` | Field | Required | Rules | |---|---|---| | `name` | yes | 1 to 64 characters. | | `type` | yes | `path`, `click` or `event`. | | `match` | yes | 1 to 300 characters. A `path` starts with `/` (a trailing slash is removed). An `event` name is at most 64 characters. A `click` match is a CSS selector. | | `enabled` | no | `false` creates the goal turned off. Default `true`. | | `description` | no | Up to 300 characters. | | `color` | no | One of the goal colors the app offers, or `null`. | The answer is `201` with the new goal in the same shape as the list, with `completions` and `visitors` at `0`. A website can have up to 50 goals; the 51st answers `400` with `{"error": "A website can have up to 50 goals."}`. Like goals made in the app, a new goal counts only visits from the moment it is created. See [Goals](https://supametrics.io/docs/goals). ### Revenue `GET /sites/{id}/revenue` Stripe revenue over the last 30 days, the Stripe connection status, and the 10 latest payments. ```json { "currency": "USD", "decimals": 2, "connected": true, "lastEventAt": 1763590000000, "lastEventType": "checkout.session.completed", "lastErrorAt": null, "lastError": null, "payments": 31, "revenue": 412000, "refunds": 0, "unattributedPayments": 3, "unattributedRevenue": 27000, "unattributedShare": 0.0655, "otherCurrencyPayments": 0, "testPayments": 0, "testCounted": false, "recent": [ { "checkout_session_id": "cs_live_...", "ts": 1763590000000, "amount": 12900, "currency": "usd", "status": "attributed", "source": "Google", "visitor_id": "6f1c...", "livemode": 1 } ] } ``` - `revenue` is net of `refunds` when the website subtracts refunds (otherwise `refunds` is `0`). - `otherCurrencyPayments` are payments in another currency; they are stored but not counted. - Stripe test-mode payments count only until the website's first live payment; `testCounted` says whether they still do. - `recent` lists the latest payments of any age and currency, refunds left out. Background: [Connect Stripe](https://supametrics.io/docs/connect-stripe) and [Revenue and attribution](https://supametrics.io/docs/revenue). ## Common questions **Can a token read a website someone shared with me?** No. Tokens act as the owner and reach only websites you own. Ask the owner to create a token or website key. **Can I change what a website key may do?** No. Website keys always have every permission, for one website. For fewer permissions, create an account token in **Account › API & MCP** and pick **Specific websites**. **Is there an endpoint for visitors, funnels or exporting raw events?** Not yet. The endpoints above are the whole API today. --- # Connect AI assistants (MCP) > Connect Claude, ChatGPT, Cursor and other MCP clients to your AnalyticsX numbers, with a sign-in or an access token. Source: https://supametrics.io/docs/mcp AnalyticsX runs an MCP (Model Context Protocol) server, so AI assistants can answer questions about your traffic, goals and revenue in plain language: "Which channel made the most money last month?" The assistant calls AnalyticsX tools and reads the answers; it sees exactly the websites and permissions you allow. Server address: ``` https://app.supametrics.io/mcp ``` Apps and tools already connected to `https://app.analyticsx.io/mcp`, our previous address, keep working with the same sign-in or token. Change the address when convenient. There are two ways to connect: - **Sign in (OAuth).** Apps with a connector screen, like Claude and ChatGPT, need only the server address. They open AnalyticsX, you sign in and choose what the app may see, and it connects. No token to copy. - **Access token.** Developer tools that let you set a request header (Claude Code, Cursor, your own agents) send a token you create in AnalyticsX. ## Connect with a sign-in 1. In the app, add a custom connector (or custom MCP server) with the address `https://app.supametrics.io/mcp`. Leave any client ID and secret fields empty: the app registers itself. 2. The app opens an AnalyticsX page. Sign in if you aren't already. 3. On the **Connect** page (titled with the app's name), check **Returns to**: it shows where the app gets its answer (for example `claude.ai` or `chatgpt.com`). Only allow apps you trust. 4. Pick **All websites** or specific websites you own, and the permissions: read for websites, analytics, goals and payments, and write for goals (creating goals). The app's request is ticked to start with. 5. Click **Allow access**. You're taken back to the app, which is now connected. **Cancel** sends it back without access. Where to add the connector: - **Claude** (claude.ai and the desktop app): **Settings › Connectors › Add custom connector**, then **Connect**. - **ChatGPT**: **Settings › Apps & Connectors**, turn on developer mode under **Advanced settings** if your plan asks for it, then **Create** a connector with the address above and **OAuth** as the authentication. - **Other apps** (Gemini, Perplexity, VS Code and more): any MCP client that supports the MCP authorization standard (OAuth 2.1) connects the same way. Look for "add MCP server" or "custom connector" and give it the address. Each connected app is listed under **API & MCP › Connected apps** with its permissions, websites and when it was last used. **Disconnect** ends its access right away. Connecting the same app again replaces its old connection, with the choices you make that time. The app's access lasts while you use it: it renews itself every hour, and stops if it goes unused for 90 days, if you disconnect it, or if your account is deleted. ## Connect with an access token Either kind of token works: - An **account token** from **API & MCP** in the sidebar (`/account/api`): pick the websites and permissions the assistant should have. - A **website key** from **Site settings › API / MCP** (`/settings/api`): one website, every permission, including creating goals. How to create, roll and delete tokens: [REST API and access tokens](https://supametrics.io/docs/rest-api#access-tokens). The server signs in with that token sent as an HTTP header: ``` Authorization: Bearer ax_YOUR_TOKEN ``` ## Copy the config from the app **API & MCP** in the sidebar has an **MCP server** section with the server URL (**Copy URL**) and a ready client config (**Copy config**). Right after you create or roll a token, the config already contains it. ```json { "mcpServers": { "analyticsx": { "type": "http", "url": "https://app.supametrics.io/mcp", "headers": { "Authorization": "Bearer ax_YOUR_TOKEN" } } } } ``` ## Claude Code Run once in your terminal: ```bash claude mcp add --transport http analyticsx https://app.supametrics.io/mcp \ --header "Authorization: Bearer ax_YOUR_TOKEN" ``` Or paste the config above into a `.mcp.json` file in your project. Then ask Claude Code a question about your analytics; it lists the AnalyticsX tools under `/mcp`. ## Cursor Open **Cursor Settings › MCP** and add a new server, or edit `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project): ```json { "mcpServers": { "analyticsx": { "url": "https://app.supametrics.io/mcp", "headers": { "Authorization": "Bearer ax_YOUR_TOKEN" } } } } ``` ## Claude Desktop with a token The simplest way is **Connect with a sign-in** above. To use a token instead, connect through the open-source `mcp-remote` bridge, which needs Node.js on your computer. In Claude Desktop open **Settings › Developer › Edit Config** and add: ```json { "mcpServers": { "analyticsx": { "command": "npx", "args": [ "-y", "mcp-remote", "https://app.supametrics.io/mcp", "--header", "Authorization:${AUTH_HEADER}" ], "env": { "AUTH_HEADER": "Bearer ax_YOUR_TOKEN" } } } } ``` Restart Claude Desktop. The token goes in `env` because some systems split arguments on spaces. ## Other MCP clients Any client that supports the **Streamable HTTP** transport and either OAuth sign-in or a request header can connect: - URL: `https://app.supametrics.io/mcp` - Header: `Authorization: Bearer ax_YOUR_TOKEN` Technical details for client authors: - The server is stateless and answers JSON-RPC over `POST` only, with JSON responses (no event stream and no session ID). `GET` and `DELETE` answer `405`. - Protocol versions `2025-11-25`, `2025-06-18`, `2025-03-26` and `2024-11-05` are supported. An unknown version in `initialize` is answered with the newest; an unsupported `MCP-Protocol-Version` header answers `400`. - Batches of up to 20 messages are accepted. - A missing or invalid token answers `401` with a `WWW-Authenticate: Bearer` header whose `resource_metadata` points to `/.well-known/oauth-protected-resource/mcp` (RFC 9728); an expired or wrong token adds `error="invalid_token"`. - OAuth 2.1 follows the MCP authorization spec. Authorization server metadata (RFC 8414) is at `https://app.supametrics.io/.well-known/oauth-authorization-server`. Clients register with Dynamic Client Registration (`POST /oauth/register`, RFC 7591) or a Client ID Metadata Document (an `https` `client_id`). `/oauth/authorize` takes the code flow with PKCE `S256` only; `/oauth/token` takes `authorization_code` and `refresh_token` (refresh tokens rotate on every use); `/oauth/revoke` (RFC 7009) ends the connection. - Scopes are the token permissions: `websites:read`, `analytics:read`, `goals:read`, `goals:write`, `payments:read`. No scope asks for read on everything. Access tokens last an hour. ## Tools The server offers six tools. A tool is listed only when the token has its permission, so a read-only token never sees `create_goal`. | Tool | Permission | What it returns | |---|---|---| | `list_websites` | Websites: read | The websites the token can reach: id, name, domain, timezone, currency, first event time. | | `get_overview` | Analytics: read | Key figures for a period and the period before (visitors, visits, pageviews, bounce rate, revenue, conversion rate, revenue per visitor), the chart series, and visitors online now. | | `get_breakdown` | Analytics: read | Visitors and revenue split by one dimension, largest first. | | `list_goals` | Goals: read | Goals with completions and unique visitors over the last 30 days. | | `create_goal` | Goals: write | Adds a goal. The only tool that changes anything. | | `get_revenue` | Payments: read | Stripe revenue over the last 30 days: total, unattributed share, connection status and the 10 latest payments. | Each tool calls the matching [REST API](https://supametrics.io/docs/rest-api#endpoints) endpoint, so permissions, website scope, the rate limit (300 requests per minute per token) and **Last used** work exactly as they do there. ### list_websites No parameters. Assistants call this first to get each website's `site_id`. ### get_overview | Parameter | Required | Values | |---|---|---| | `site_id` | yes | From `list_websites`. | | `period` | no | `now`, `today`, `yesterday`, `24h`, `48h`, `7d`, `30d` (default), `90d`, `3m`, `6m`, `12m`, `wtd`, `mtd`, `ytd`, `all`, `custom`. | | `from`, `to` | no | `YYYY-MM-DD`, with `period: "custom"`. `to` is included. | | `filters` | no | Up to 10 filters; see below. | ### get_breakdown The same parameters as `get_overview`, plus: | Parameter | Required | Values | |---|---|---| | `dimension` | yes | `channel`, `source`, `campaign`, `keyword`, `utm_source`, `utm_medium`, `utm_content`, `ref`, `hostname`, `entry_page`, `exit_page`, `country`, `region`, `city`, `browser`, `os`, `device`, `page`, `goal`, `exit_link`. | | `limit` | no | Rows to return, 1 to 100. Default 50. | ### Filters Each filter is an object: | Field | Values | |---|---| | `dimension` | Any breakdown dimension above, or `visits` (the visit's number for its visitor; 1 is a first visit). | | `operator` | Text: `is` (default), `is_not`, `contains`, `not_contains`. For `visits`: `is`, `is_not`, `gte`, `lte`. | | `value` | Up to 500 characters. For `visits`, a whole number. | Only visits matching every filter, and their revenue, are counted. Example: channel is `Organic Search`. ### list_goals | Parameter | Required | |---|---| | `site_id` | yes | ### create_goal | Parameter | Required | Values | |---|---|---| | `site_id` | yes | | | `name` | yes | 1 to 64 characters. | | `type` | yes | `path` (completes on a pageview of a URL path) or `event` (completes on a custom event). Click goals can't be made here; use the **Goals** screen. | | `match` | yes | For `path`, a path starting with `/`, like `/thank-you`. For `event`, the event name your code sends, up to 64 characters. | A website can have up to 50 goals. New goals count visits from the moment they are created. See [Goals](https://supametrics.io/docs/goals). ### get_revenue | Parameter | Required | |---|---| | `site_id` | yes | ### Reading the answers - Money amounts are whole numbers in the minor unit of the website's currency (cents for USD); `decimals` says how many decimal places. Assistants are told this when they connect. - Periods and dates are in the website's timezone. - Errors (a missing permission, an unknown website, a bad argument) come back as a tool error with a short message, for example `This token needs goals:write` or `site not found`. ## Discovery for agents Agents and registries can find the server on their own: its server card is at `https://supametrics.io/.well-known/mcp/server-card.json` (name, version, address and tools), and `https://supametrics.io/.well-known/ai-catalog.json` lists it with the REST API and the help center. ## Example questions - "How many visitors did example.com get this week compared with last week?" - "Which traffic sources brought the most revenue in the last 90 days?" - "What are my top 10 landing pages this month, and their bounce rates?" - "How much revenue came from Organic Search visitors in October?" (a custom period with a channel filter) - "Which countries convert best into paying customers?" - "How are my goals doing? Which one has the most completions?" - "Create a goal called Signup that completes on the custom event signup." - "How much of last month's Stripe revenue couldn't be attributed, and what were the latest payments?" - "How many people are on the site right now?" ## Common questions **Which assistant can I use?** Claude and ChatGPT connectors, and any other MCP client that supports OAuth sign-in, connect with just the address. Clients that send an `Authorization` header (Claude Code, Cursor, your own agents) connect with an access token. **Can the assistant change my data?** Only `create_goal` writes anything, and only with **Goals: write**. For a read-only assistant, untick **Goals** write on the consent screen, or create a token without it. **Does the assistant see websites shared with me?** No. Tokens reach only websites you own. **How do I disconnect an assistant?** For an app you connected by signing in, click **Disconnect** under **API & MCP › Connected apps**. For a token, delete or roll it. Either way it loses access immediately. --- # Troubleshooting > Fixes for the most common problems with installing the script, goals, Stripe payments, traffic sources, a paused account and a locked dashboard. Source: https://supametrics.io/docs/troubleshooting Start with the section that matches what you see. Most install problems can be confirmed in a minute with the browser's developer tools; see [Check the network request](#check-the-network-request). ## The install check stays on "Waiting" 1. **Right domain?** Visits only count from the domain you entered, its subdomains and your additional domains (**Site settings › General**). `localhost`, preview URLs (e.g. `*.vercel.app`) and other domains are rejected. To test on `localhost`, add `data-allow-localhost` to the script tag. 2. **Deployed?** Open your live page, view its source and search for `ax.js` (`df.js` on sites installed before the rename). 3. **Right site ID?** The `data-site` value must match the **Public site ID** in **Site settings › General**. A wrong ID is answered with `404`. 4. **Ad blocker?** Some blockers block analytics scripts. Try a private window with extensions off. To avoid blocking for your visitors, proxy events through your own domain and set `data-api` (see [Serve the script from your domain](https://supametrics.io/docs/install-the-script#serve-the-script-from-your-domain)). 5. **Excluded browser?** If you opened `?ax_ignore=true` in this browser, visit once with `?ax_ignore=false`. 6. **Excluded traffic?** An IP address, path, hostname or country rule in **Site settings › Exclusions** drops matching visits silently (the request still gets `202`). 7. **Consent mode?** With `data-consent="required"`, nothing is sent until consent is given. Accept your cookie banner, then reload. 8. **Automated browser?** The script does nothing in browsers driven by Playwright, Puppeteer, Selenium and similar tools, so test with a normal browser window. 9. **Content Security Policy?** See [Content Security Policy](#content-security-policy). 10. **Tracking paused?** When the trial has ended, a subscription has ended or a payment failed, or the event limit is reached where tracking stops, the server accepts visits but doesn't store them. A red banner above every screen says so; see [Tracking is paused](#tracking-is-paused). After two minutes without a visit, the **Setup** screen shows the short version of this checklist. ## Check the network request Open your site, then the browser's developer tools (**Network** tab), and filter for `event`. A working install sends a `POST` to `/api/event` (on `app.supametrics.io`, or on your `data-api` address) for each pageview. | Response | Means | |---|---| | `202` | Accepted. It may still be dropped on purpose: bots, exclusions, or tracking paused. | | `400` | The request was malformed, for example a page address that isn't a valid URL. | | `403` | The page's domain doesn't match the website's domain or additional domains. | | `404` | No website has this site ID. Check `data-site`. | | `413` | The request body is over 8 KB. | | `429` | Too many requests from one address in a short time. | No request at all means the script didn't load or didn't run: check the source, ad blockers, consent, the exclusion flag and your Content Security Policy. In the **Console**, `window.analyticsx` should be a function. ## Content Security Policy If your site sends a `Content-Security-Policy` header or meta tag, the browser blocks the script until you allow AnalyticsX. Add the address to both directives: ``` script-src https://app.supametrics.io; connect-src https://app.supametrics.io; ``` `script-src` lets `ax.js` load. `connect-src` lets it send events to `/api/event` and load click goals from `/api/config/`. If you set `data-api` to your own domain, `connect-src 'self'` covers the events, and click goals too when the `data-api` address ends in `/event` and your proxy forwards the config request (see [Install and verify the script](https://supametrics.io/docs/install-the-script)); otherwise click goals still load from the address the script came from. The browser console shows a "Refused to load" or "Refused to connect" message when the policy is the cause. ## Ad blockers and privacy browsers Some ad blockers and privacy browsers block requests to analytics services. Those visitors aren't counted, and `analyticsx('visitorId')` returns nothing for them, so their payments are Unattributed. Call the API with `?.` (`window.analyticsx?.('track', 'signup')`) so your page keeps working when the script is blocked. To reduce blocking, proxy the event endpoint through your own domain (`data-api`). Your proxy must forward the visitor's `User-Agent` (requests without one are dropped as bots) and put the visitor's IP first in `X-Forwarded-For`. A managed proxy set up with a CNAME record is shown in **Site settings › General** as **Managed proxy** with a **Soon** tag; it isn't available yet. ## Numbers look wrong after setting up a proxy - **No visits at all**: the proxy isn't forwarding the `User-Agent` header, so every request looks like a bot. - **Every visitor is in one country**: location comes from the proxy's network unless the request carries an `x-vercel-ip-country` header. - **IP exclusions don't work, or visits hit `429`**: the proxy isn't putting the visitor's IP first in `X-Forwarded-For`, so every visit appears to come from the proxy. ## Pageviews are counted twice - The snippet is on the page twice (for example once in the template and once through a tag manager or WordPress plugin). Keep one. - Your app calls `analyticsx('pageview')` on route changes. Route changes are already tracked automatically, and a manual `pageview` call always counts, so remove it. ## Visitor counts look high A visitor is one browser, identified by a cookie. The same person counts again on another device or browser, after clearing cookies, in a private window, or on a domain that doesn't share the cookie (an additional domain rather than a subdomain). Some browsers also shorten how long a cookie set by a script lasts. See [Visitors and sessions](https://supametrics.io/docs/how-tracking-works#visitors-and-sessions). ## A goal never completes - **URL path**: it must match exactly (`/thank-you` is not `/thank-you/team`). Copy the path from the address bar without the domain. - **Element click**: check the selector in the browser console: `document.querySelector('#your-selector')` must find the element. New click goals take up to a minute to reach pages that are already open; reload the page. - **JavaScript event**: the name in your code must be identical to the goal's event name (it's case sensitive), and the call must run after the script has loaded. - Is the goal **on**? Turned-off goals don't count. - Goals only count visits after they were created. More in [Goals](https://supametrics.io/docs/goals). ## Payments show as Unattributed A payment is Unattributed when its Checkout Session carried no visitor ID, or one AnalyticsX never saw. 1. Look at the payment in Stripe (**Payments → the payment → Checkout Session**). Its metadata should include `ax_visitor_id`, or its `client_reference_id` should be set. If neither is there, your checkout code isn't passing it: see step 1 of [Connect Stripe](https://supametrics.io/docs/connect-stripe). 2. If the ID is there, find it on the **Visitors** screen (search by ID). Not found means that browser never reached AnalyticsX: blocked by an ad blocker, consent not given, or the checkout started on a page without the script. 3. Checkouts created from a server job or admin tool, without a browser visit, are always Unattributed. Some Unattributed share is normal (blocked scripts, privacy browsers). The Revenue screen warns when it goes above 20%. ## Payments don't show up at all - **Revenue screen says "Signature failing"**: the secret saved in AnalyticsX isn't the one for this endpoint (test and live have different secrets). Copy it again from the endpoint in Stripe. - **"Waiting for the first webhook"**: check in Stripe (**Developers → Webhooks → your endpoint**) that deliveries are being sent to the right URL and that the events from step 2 of [Connect Stripe](https://supametrics.io/docs/connect-stripe) are selected. - **Payment is a subscription**: subscription payments arrive as `invoice.paid`. Select it, together with `customer.subscription.created`, `customer.subscription.updated` and `customer.subscription.deleted`, on the endpoint. Without them, subscriptions, renewals and MRR stay empty and the Product filter lists no products. Stripe doesn't resend past events when you add them; use **Resend** on an event in Stripe for invoices you want recorded. - **Product unticked**: payments for products unticked in **Site settings › Revenue** › Product filter are left out of revenue. - **Different currency**: payments in another currency than the website's are stored but not counted; the Revenue screen shows how many. - **Not paid yet**: delayed payment methods count when Stripe sends `checkout.session.async_payment_succeeded`. ## A source looks wrong - Links in some apps (X, LinkedIn, email clients) hide the referrer. Tag links you share with `?utm_source=x&utm_campaign=launch` or the short `?ref=launch`; tags win over the referrer. - A session's source is set when it starts. A tagged link opened in the same tab within 30 minutes of the last pageview doesn't change it. - Google never shares search terms; the **Landing page** with source **Google** tells you which page people found. - On the Visitors screen, Source is the visitor's most recent referral, the same one revenue is credited to. The full rules are in [Sources and channels](https://supametrics.io/docs/how-tracking-works#sources-and-channels). ## Tracking is paused A red banner above every screen means AnalyticsX is accepting your visitors' requests but not storing them. The banner says why and links to **Billing** (`/account/billing`): | Banner | What to do | |---|---| | Your trial has ended and tracking is paused. | Pick a plan. | | Trial limit reached. | The trial's 50,000 events are used up. Pick a plan. | | Your subscription has ended and tracking is paused. | Pick a plan. | | Your last payment failed, so tracking is paused. | Pay the open invoice. | | Your payment wasn't completed, so tracking is paused. | Open billing to finish it or pick a plan. | | Event limit reached. Tracking is paused until (date). | **Change limit** to raise it, or turn off **Pause tracking at limit** in Billing. | You can dismiss the banner; it comes back when the state changes. Visits during the pause are not recorded and can't be recovered. See [Plans, billing and event limits](https://supametrics.io/docs/billing). ## The dashboard is locked On a paid plan, when your account's events for the billing cycle reach the plan's limit, the analytics screens (**Dashboard**, **Insights**, **Details**, **Real-time map**, **Goals**, **Revenue** and **Visitors**) show a lock in place of the numbers, for every website the account owns and for its whole team. **Site settings**, **All websites**, **Account** and **Billing** stay open. - **Owner**: the lock says how many events you've reached, until when it lasts (the end of the billing cycle), and whether tracking continues. Tracking keeps running unless **Pause tracking at limit** is on, so no data is lost. **Raise my limit or upgrade** opens Billing. Once per account, **Use my free pass** unlocks the dashboard until the end of the current billing cycle. - **Team members**: the lock says the owner's account reached its limit and until when. Ask the owner to raise the limit or upgrade. A public dashboard link that was on before the lock keeps working, as do the [REST API](https://supametrics.io/docs/rest-api) and [MCP](https://supametrics.io/docs/mcp). The trial doesn't lock the dashboard; it pauses tracking at its limit instead. ## "Couldn't connect" The **Couldn't connect** page appears when the app can't load your sign-in or your websites, for example during a brief outage, a network problem on your side, or rate limiting. It retries on its own (after 2, 4, 8 seconds and so on, up to every 30 seconds), and **Retry** tries again at once. When your websites couldn't load, **Log out** is also offered. You are never sent to sign-in or onboarding because of a failed load, so your data is safe. If it doesn't clear after a few minutes, check your connection, try another network, or disable extensions that block requests to `app.supametrics.io`. ## Still stuck Check [Frequently asked questions](https://supametrics.io/docs/faq), or the page for the feature: [Install and verify the script](https://supametrics.io/docs/install-the-script), [Goals](https://supametrics.io/docs/goals), [Connect Stripe](https://supametrics.io/docs/connect-stripe). --- # Frequently asked questions > Short answers to common questions about installing AnalyticsX, privacy, revenue attribution, limits, billing and the API, each linked to the full guide. Source: https://supametrics.io/docs/faq Short answers to the questions people ask most. Each one links to the page with the details. ## Setup ### How long does installation take? A few minutes: add your website, paste one script tag into the `` of every page, and open your site once. The **Setup** screen changes from **Waiting** to **Verified** when the first visit arrives. See [Quick start](https://supametrics.io/docs/quick-start). ### Does it work with my framework or site builder? Yes, with anything that lets you add a script tag to the page head. The install screen has ready-made code for plain HTML, Next.js, bundled apps and WordPress. Single-page apps are tracked automatically. A Shopify app is coming soon; until then, add the snippet to `theme.liquid`. See [Install and verify the script](https://supametrics.io/docs/install-the-script#copy-the-snippet). ### Can one website cover several domains or subdomains? Subdomains are always included. Add other domains under **Site settings › General** › **Additional domains**, or turn on **Allow all domains** for embedded widgets. Visitors aren't shared across different domains, only across subdomains. See [Domains](https://supametrics.io/docs/install-the-script#domains). ### Can I test on localhost? Yes. Add `data-allow-localhost` to the script tag. Without it, local hosts are ignored. See [Test on localhost](https://supametrics.io/docs/install-the-script#test-on-localhost). ### How do I stop counting my own visits? Open your site once with `?ax_ignore=true` in each browser you use. You can also exclude IP addresses, paths, hostnames and countries. See [Exclusions](https://supametrics.io/docs/exclusions). ## Privacy and data ### Does AnalyticsX use cookies? Yes, two first-party cookies on your own domain: a random visitor ID (1 year) and a session ID (30 minutes). Cookieless mode is coming soon and isn't available yet. See [Cookies and browser storage](https://supametrics.io/docs/how-tracking-works#cookies-and-browser-storage). ### Can it wait for cookie consent? Yes. Add `data-consent="required"` (the **Wait for cookie consent** checkbox does this) and call `window.analyticsx?.('consent', true)` from your consent tool. Nothing is sent and no tracking cookies are set before that. See [Cookie consent](https://supametrics.io/docs/install-the-script#cookie-consent). ### What personal data is collected? No IP addresses are stored, and personal query parameters such as `?email=` or `?token=` are removed in the browser. Names and emails are stored only if you send them with `identify`. See [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works). ### How do I handle a deletion request? On the **Visitors** screen, **Erase a person** deletes someone's visits, goals and identity by email, user ID or visitor ID. See [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data). ### Will ad blockers hide my traffic? Some block analytics requests. You can proxy events through your own domain with `data-api` today. A managed proxy set up with one CNAME record is coming soon. See [Ad blockers and privacy browsers](https://supametrics.io/docs/troubleshooting#ad-blockers-and-privacy-browsers). ### Are bots counted? No. Crawlers, automated browsers, monitoring tools and HTTP libraries never count as visitors or toward your plan. To see crawlers and AI bots separately, see [Bots and AI crawlers](https://supametrics.io/docs/bot-tracking). ## Revenue ### Which payment providers work? Stripe today: Checkout, Payment Links, the Payment Element and subscriptions, with refunds taken off revenue. Polar, LemonSqueezy, Paddle, DodoPayments, Shopify and WooCommerce are coming. See [Connect Stripe](https://supametrics.io/docs/connect-stripe). ### How is a payment credited to a source? To the buyer's most recent visit from a non-direct source in the 30 days before the payment; otherwise to Direct. Payments without a known visitor ID are Unattributed. See [Revenue and attribution](https://supametrics.io/docs/revenue). ### Why are some payments Unattributed? The checkout didn't carry a visitor ID, or the buyer's browser never reached AnalyticsX (ad blocker, no consent, checkout created without a browser visit). Some share is normal. See [Payments show as Unattributed](https://supametrics.io/docs/troubleshooting#payments-show-as-unattributed). ### Can I track MRR and subscriptions? Yes, once Stripe sends the invoice and subscription events. See [Subscription metrics](https://supametrics.io/docs/subscription-metrics). ## Plans and limits ### Is there a free trial? Yes: 14 days and 50,000 events, no card needed. When it ends, tracking pauses until you pick a plan. See [Plans, billing and event limits](https://supametrics.io/docs/billing). ### What counts as an event? Pageviews, goal completions and payments. Clicks on links to other websites are free, and bots and visits you exclude never count. See [What counts toward your plan](https://supametrics.io/docs/how-tracking-works#what-counts-toward-your-plan). ### What happens if I go over my limit? On a paid plan, tracking keeps running past your monthly limit unless you turn on **Pause tracking at limit** in Billing, but the dashboard locks until the cycle resets or you raise the limit. Each account has one free pass that unlocks it for the rest of the cycle. The trial stops tracking at 50,000 events instead. See [The dashboard is locked](https://supametrics.io/docs/troubleshooting#the-dashboard-is-locked). ### How many websites and team members can I have? Starter includes 1 website and 1 team member besides you; Growth includes 30 of each. A package lists its own, and add-ons can raise them. See [Team members and roles](https://supametrics.io/docs/team-and-roles) and [Packages and prices](https://supametrics.io/docs/billing#packages-and-prices). ### What are event credits? Extra events that never expire. They're used only after your monthly events run out, and what's left carries over to the next cycle. A package can include them, and you can buy more as an add-on. See [Event credits](https://supametrics.io/docs/billing#event-credits). ## Sharing, API and AI ### Can I share my dashboard? Yes. The owner can turn on a read-only public link in **Site settings › General**, optionally with an expiry. See [Share your dashboard](https://supametrics.io/docs/sharing). ### Is there an API? Yes, a REST API with access tokens you create under **API & MCP**. Each token is read only or read and write per kind of data, and limited to the websites you pick. See [REST API and access tokens](https://supametrics.io/docs/rest-api). ### Which AI tools can I connect? Claude and ChatGPT connect with a sign-in: add the MCP server address as a connector and choose what to allow, no token needed. So does any other MCP client that supports OAuth. Developer tools such as Claude Code, Cursor and Codex can also use an access token. See [Connect AI assistants (MCP)](https://supametrics.io/docs/mcp). ### Can I import data from another analytics tool? From DataFast, yes: paste a DataFast API key under **Site settings › Import** and your daily history comes in. See [Import from DataFast](https://supametrics.io/docs/import-from-datafast). Importing from Plausible is coming soon, then other tools. See [Site settings overview](https://supametrics.io/docs/site-settings). ### How do I contact support? Click the chat button in the bottom-right corner of any screen. Signed in, your conversation is linked to your account. See [Account](https://supametrics.io/docs/account#chat-with-support). ## Free tools ### Are there free tools I can use without an account? Yes. [supametrics.io/tools](https://supametrics.io/tools) has a UTM builder, an A/B test significance calculator, and calculators for CTR, conversion rate, ROAS, CPM, marketing ROI and SEO ROI. They run in your browser, need no sign-up, and send nothing you type to AnalyticsX. The UTM builder keeps the links you copy in your browser so you can reuse them. See [Campaigns](https://supametrics.io/docs/breakdowns#campaigns) for how tagged links show in your dashboard. --- # Privacy policy > What personal data AnalyticsX collects about account holders and about the visitors of websites that use it, why, who processes it, how long it is kept, and your rights. Source: https://supametrics.io/docs/privacy-policy Last updated: 30 November 2026. This policy explains how AnalyticsX ("AnalyticsX", "we", "us") handles personal data. It covers two groups of people: - **Customers**: people who create an AnalyticsX account and use the app, the REST API or the MCP server. - **Visitors**: people who visit a website that uses the AnalyticsX tracking script. For their data, the website's owner (our customer) decides what is collected and why, and AnalyticsX processes it on the owner's behalf. Questions or requests: write to hello@analyticsx.io. ## Data about customers | What | Why | |---|---| | Name, email address and password (stored only as a hash), or your Google account's name, email and ID if you sign in with Google | To create your account and sign you in | | Sign-in sessions and passkeys, with the browser and IP address of each session | To keep you signed in and protect your account | | Your websites, their settings, goals, funnels, segments, notes, alerts, team members and invitations | To provide the service | | Access tokens and connected apps (only a hash of each secret is stored), and when each was last used | To run the REST API and the MCP server | | Plan, subscription and billing status; payments themselves are handled by Stripe | To bill you | | Emails we send you (reports, alerts, invitations, account emails) and the time they were sent | To deliver them and to limit abuse | | Feature suggestions and support conversations you send | To answer you and improve the product | We don't sell customer data, and we don't use it for advertising. ## Data about visitors The tracking script runs on our customers' websites. What it sends and what is stored is described in detail in [What AnalyticsX collects](https://supametrics.io/docs/how-tracking-works). In short: - **Stored:** a random visitor ID and session ID (from first-party cookies on the customer's own domain), pages viewed (without query strings), the referring site and campaign tags, country, region and city derived from the network, browser, operating system and device type, goal completions, and clicks on links to other websites. - **Not stored:** IP addresses (used only for rate limiting and the owner's IP exclusions, then discarded), full user agents, query strings and precise location. - **Only if the website sends it:** a user ID, email address and name, through the script's `identify` call. - **Payments:** if the owner connects Stripe, the amount, currency, time, Stripe customer ID and product of each payment, linked to the visit that brought the customer. With consent mode on, the script sends nothing and sets no cookies until the visitor consents. Visitors who want their data removed should contact the website's owner, who can erase it (see [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data)). If you contact us instead, we pass your request to the owner. ## Data that AI apps can read When you connect an AI app (Claude, ChatGPT and others) or use an access token, the app can read the analytics of the websites, and do the things, that you allowed. What the app does with that data afterwards is covered by that app's own privacy policy. You can disconnect an app or delete a token at any time under **Account › API & MCP**. ## Who processes data for us | Provider | What for | |---|---| | Cloudflare | Hosting, databases, the network that serves the app and tracking script, request logs and the location lookup | | Stripe | Billing for AnalyticsX plans, and reading payments from customers' Stripe accounts when they connect them | | Resend | Sending email | | Google | Sign-in with Google, when you choose it | | Tirver | The support chat in the app and on the website | | OpenPromoter | Our affiliate program: the email address of an account created through a partner's link | | DataFast | Importing history, only when you start an import with your own DataFast API key | These providers may process data outside your country, including in the United States. Where the law requires it, transfers rely on the providers' standard contractual clauses or equivalent safeguards. ## How long data is kept - **Analytics data** is kept for the history your plan includes (13 months on Starter, 25 months on Growth and the trial, longer on some packages) plus 30 days, then deleted automatically. Payments and the visitors they point to are kept so revenue for past periods stays correct. See [Automatic deletion of old data](https://supametrics.io/docs/privacy-and-data#automatic-deletion-of-old-data). - **Account data** is kept while your account exists. Deleting your account deletes your websites and their data, your tokens and connected apps, and your sign-in methods right away. See [Delete your account](https://supametrics.io/docs/privacy-and-data#delete-your-account). - **Billing records** are kept by Stripe as long as tax and accounting rules require. - **Request logs** are kept by Cloudflare for a short period for security and troubleshooting. ## Cookies on AnalyticsX itself The app uses cookies to keep you signed in, and your browser's storage to remember choices like your theme. The website and app also load Cloudflare Web Analytics, which measures page loads without cookies, and the support chat. We don't use advertising cookies. ## Security Data is encrypted in transit (HTTPS). Passwords, access tokens and secrets are stored only as hashes. Access to production systems is limited to the people who run the service. ## Your rights Depending on where you live (for example under the GDPR or UK GDPR, or the CCPA in California), you can ask to access, correct, export or delete your personal data, object to or restrict its processing, and withdraw consent. Most of this you can do yourself in **Account**; for anything else write to hello@analyticsx.io and we will answer within 30 days. You can also complain to your local data protection authority. AnalyticsX is not meant for children under 16, and we don't knowingly collect their data as customers. ## Changes If we change this policy, we update the date at the top. For significant changes we tell customers by email before they take effect. --- # Terms of service > The terms for using AnalyticsX: accounts, plans and payment, acceptable use, your data, the API and MCP server, availability, liability and ending the service. Source: https://supametrics.io/docs/terms-of-service Last updated: 30 November 2026. These terms are an agreement between you and AnalyticsX ("AnalyticsX", "we", "us") for the AnalyticsX app, website, tracking script, REST API and MCP server (the "service"). By creating an account or using the service, you accept them. If you use AnalyticsX for a company, you accept them for that company. Questions: hello@analyticsx.io. ## Your account - Give accurate details and keep your password, passkeys, access tokens and connected apps safe. You are responsible for what happens under your account and its tokens. - You must be at least 16 years old. - Tell us right away at hello@analyticsx.io if you think someone else has access to your account. ## Plans and payment - Paid plans, trials and packages are described on the pricing page and under **Billing** in the app. Prices exclude taxes unless stated. - Subscriptions renew automatically each month or year until you cancel. Cancelling stops the next renewal; the plan stays active until the end of the period you paid for. - Payments are handled by Stripe. Refunds follow what the pricing page and [Billing](https://supametrics.io/docs/billing) say for each offer, and any rights the law gives you. - If a plan's event limit is reached, tracking and the dashboard behave as [Billing](https://supametrics.io/docs/billing) describes. - We may change prices for future periods. We tell you by email at least 30 days before a change applies to you. ## Acceptable use You agree not to: - use the service to break any law, including privacy and consumer protection laws; - track websites you don't own or don't have permission to track; - send sensitive personal data to AnalyticsX (such as health, financial account or government ID numbers) through the script, `identify` or events; - attack, overload, probe or reverse engineer the service, get around its limits, or access other customers' data; - resell the service without our written permission. We may suspend an account that breaks these rules or puts the service or other customers at risk. Where we can, we tell you first and give you a chance to fix it. ## Your data - You own the data your websites send to AnalyticsX and the data you put in the app. We use it only to provide, secure and improve the service, as the [Privacy policy](https://supametrics.io/docs/privacy-policy) describes. - For your visitors' data you are the controller and AnalyticsX is your processor. You are responsible for having a lawful basis to collect it, for telling your visitors about it in your own privacy policy, and for asking their consent where the law requires it (consent mode helps; see [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data)). - Data is deleted as [Privacy and deleting data](https://supametrics.io/docs/privacy-and-data) describes: old data after your plan's history, and everything when you delete a website or your account. ## API, MCP server and AI apps - The REST API and MCP server are part of the service and subject to these terms and their documented rate limits. - When you connect an AI app or give a token to a tool, you let it act within the websites and permissions you chose. You are responsible for the apps and tools you connect; their own terms and privacy policies apply to what they do with the data. You can disconnect them at any time under **Account › API & MCP**. - Don't use the API to copy the service or build a competing product from its data. ## Availability and changes We work to keep AnalyticsX available and accurate, but the service is provided "as is" and "as available", without warranties of any kind to the extent the law allows. Analytics are estimates: ad blockers, consent choices, browser settings and bots affect the numbers. Features marked **Soon** are not available yet. We may change or remove features; if a change removes something important you pay for, we tell you in advance. ## Liability To the extent the law allows, AnalyticsX is not liable for indirect or consequential losses, such as lost profits, revenue or data, and our total liability for any claim is limited to the amount you paid us in the 12 months before the claim. Nothing in these terms limits liability that the law does not allow to be limited. ## Ending the service You can stop using AnalyticsX and delete your account at any time in **Account**. We may end the service for an account that seriously or repeatedly breaks these terms, or stop offering the service with at least 30 days' notice, refunding any prepaid period we can't provide. ## Changes to these terms If we change these terms, we update the date at the top. For significant changes we tell customers by email at least 30 days before they take effect. Using the service after that means you accept the new terms.