---
title: Web analytics | Space Works Organization docs
description: Optional outside analytics for public pages, off until set up and run only after a visitor agrees, beside visit counts Space Works keeps itself.
url: https://spaceworkslabs.tech/docs/organization/features-web-analytics/
updated: 2026-11-21
---

[Space Works Organization](https://spaceworkslabs.tech/docs/organization/) Start here
- [Overview](https://spaceworkslabs.tech/docs/organization/overview/)
- [Glossary](https://spaceworkslabs.tech/docs/organization/guides-start-glossary/)
- [Quickstart for members](https://spaceworkslabs.tech/docs/organization/guides-start-quickstart-member/)
- [Quickstart for organisation owners](https://spaceworkslabs.tech/docs/organization/guides-start-quickstart-owner/)
- [Quickstart for platform operators](https://spaceworkslabs.tech/docs/organization/guides-start-quickstart-operator/)
Features
- [Certificates](https://spaceworkslabs.tech/docs/organization/features-certificates/)
- [Groupings](https://spaceworkslabs.tech/docs/organization/features-groupings/)
- [Member cards](https://spaceworkslabs.tech/docs/organization/features-member-cards/)
- [Member portal](https://spaceworkslabs.tech/docs/organization/features-member-portal/)
- [Notifications](https://spaceworkslabs.tech/docs/organization/features-notifications/)
- [Organisations](https://spaceworkslabs.tech/docs/organization/features-organisations/)
- [Payments](https://spaceworkslabs.tech/docs/organization/features-payments/)
- [Plans and join forms](https://spaceworkslabs.tech/docs/organization/features-plans-and-join-forms/)
- [Public page](https://spaceworkslabs.tech/docs/organization/features-public-page/)
- [Receipts and refunds](https://spaceworkslabs.tech/docs/organization/features-receipts-and-refunds/)
- [Renewals](https://spaceworkslabs.tech/docs/organization/features-renewals/)
- [Reports and analytics](https://spaceworkslabs.tech/docs/organization/features-reports-and-analytics/)
- [Self-hosting](https://spaceworkslabs.tech/docs/organization/features-self-hosting/)
- [Sign-in](https://spaceworkslabs.tech/docs/organization/features-sign-in/)
- [Staff and roles](https://spaceworkslabs.tech/docs/organization/features-staff-and-roles/)
- [Units](https://spaceworkslabs.tech/docs/organization/features-units/)
- [Web analytics](https://spaceworkslabs.tech/docs/organization/features-web-analytics/)
- [Payments](https://spaceworkslabs.tech/docs/organization/payments/)
- [Tax on membership payments](https://spaceworkslabs.tech/docs/organization/gst/)
- [Reports](https://spaceworkslabs.tech/docs/organization/reports/)
- [Email and chat notifications](https://spaceworkslabs.tech/docs/organization/notifications/)
Install and run
- [Backups and restore](https://spaceworkslabs.tech/docs/organization/guides-hosting-backups-and-restore/)
- [Choose your hosting](https://spaceworkslabs.tech/docs/organization/guides-hosting-choose-your-hosting/)
- [Monitoring and health](https://spaceworkslabs.tech/docs/organization/guides-hosting-monitoring-and-health/)
- [Updates and rollback](https://spaceworkslabs.tech/docs/organization/guides-hosting-updates-and-rollback/)
- [Deploying on a server (VPS)](https://spaceworkslabs.tech/docs/organization/deployment-vps/)
- [Deploying with managed services (cloud)](https://spaceworkslabs.tech/docs/organization/deployment-cloud/)
- [Free hosting behind Cloudflare](https://spaceworkslabs.tech/docs/organization/deployment-cloudflare/)
- [Hosting the site on Netlify](https://spaceworkslabs.tech/docs/organization/deployment-netlify/)
- [Configuration reference](https://spaceworkslabs.tech/docs/organization/configuration/)
[All docs](https://spaceworkslabs.tech/docs/)

Space Works Organization · Features

# Web analytics

Optional outside analytics for public pages, off until set up and run only after a visitor agrees, beside visit counts Space Works keeps itself.

## What it does

There are two kinds of web analytics in Space Works Organization:
- **Visit counts**, always on and kept by Space Works itself, with no cookie and no personal data.
- **Outside providers**, all off by default, that the platform or an organisation can set up for public pages.

### Visit counts
- Space Works counts views of its public pages itself: how many views each kind of public page had each day. A visit sends only the page's route template (and the organisation's slug on`/o/`pages), and the server adds one to a daily counter.
- No cookie or storage key is written, and the visitor's address is never stored; it is only used, hashed, to limit requests. Obvious bots, private pages and inactive organisations are not counted.
- These counts need no consent. An organisation reads its own under**Reports**,**Web visits**(`/dashboard/<org>/reports/visits`): views by day and by page for the chosen period (30 days by default, in UTC days), with**Export CSV**. The super admin sees platform and per-organisation totals in platform analytics.

### Outside providers

| Purpose | Providers |
| --- | --- |
| Page analytics (one provider) | Plausible, Umami, Google Analytics 4, Firebase Analytics, PostHog; Mixpanel when the operator sets it |
| Session replay | Microsoft Clarity, PostHog |
| Diagnostics and performance | Sentry, Firebase Performance |

- With no provider set up, no script loads, no request is made and nothing is stored.
- Scripts load only after a visitor agrees in the consent banner, purpose by purpose (usage analytics, session replay, diagnostics and performance). Withdrawing consent in**Privacy preferences**stops them at once.
- Only page route templates are sent, never free text, query strings, names or email addresses. Outside providers run only for signed-out visitors, and only on approved public pages; replay runs on a few anonymous public pages and never on a join form.
- Settings take public identifiers only, never secrets, and a provider's own host must be on the operator's approved list.

### Platform and organisation providers
- The platform super admin sets up providers for the whole site under**Super admin**,**Settings**,**Web analytics**(`/super-admin/settings`).
- Each organisation can set up its own under**Settings**,**Web analytics**(`/dashboard/<org>/settings/analytics`). They run only on its own public pages (`/o/<slug>`) and join forms, only for signed-out visitors who agree, with consent kept separately for that organisation.
- The platform's providers do not run on an organisation's pages, so a page never runs two page-analytics providers. Mixpanel is never available to an organisation, and an organisation that is not active runs none.
- An organisation's public page lists the providers it uses and links to**Privacy preferences**.

### Set up a provider for your organisation
- Make sure the operator has approved the provider's hosts (see below).
- As the Owner, open**Settings**, then**Web analytics**.
- Under**Page analytics**,**Session replay**or**Diagnostics and performance**, choose a provider and enter its public identifier (and, for Plausible, Umami or PostHog, an approved origin where needed).
- Save. Visitors who agree in the consent banner on your public pages are then counted.

**Note:**A saved setting that stops passing the checks, for example because the operator removed an origin, counts as not set up.

## Who can use it
- The platform super admin, for the whole site.
- An organisation's**Owner**, for its own public pages. The tab shows only to people holding`org.delete`★ (`OWNER_ONLY`), which is the Owner alone; a super admin acting in the organisation as its owner can set it up too.
- **Web visits**needs`reports.membership`and is open to staff limited to a unit, because it is about public pages, not member data. The unit and plan filters do not apply to it.

## Turning it on or off
- Switch a provider on by choosing it and saving its public identifier; choose none, or remove the identifier, to switch it off.
- Outside hosts must first be approved by the operator in`WEB_TELEMETRY_ALLOWED_ORIGINS`(bare`https://`origins, set on the backend and the website alike). The page security policy widens for those origins on public pages only. Empty keeps everything strict.
- Mixpanel is set by the operator only, with`WEB_TELEMETRY_MIXPANEL_TOKEN`(and optionally`WEB_TELEMETRY_MIXPANEL_API_HOST`and`WEB_TELEMETRY_MIXPANEL_SDK_HOST`). While it is set, Mixpanel replaces the platform's page-analytics provider.
- Visit counts are always on and can't be switched off.

## Screenshots

## API

There is no public REST API yet. Visit counts are sent to`POST /api/visits`, which always answers 204; see[webhooks and endpoints](https://github.com/SpaceWorks-Labs/SpaceWorks-Organization/blob/7cd1441838559f323c26e5ddbab0e72181b4bc4d/docs/reference/webhooks-and-endpoints.md) . Changes to the settings are audited by field name only. The source is on[GitHub](https://github.com/SpaceWorks-Labs/SpaceWorks-Organization) , with the providers in[lib/telemetry](https://github.com/SpaceWorks-Labs/SpaceWorks-Organization/tree/7cd1441838559f323c26e5ddbab0e72181b4bc4d/lib/telemetry) .

## Related
- [Reports and analytics](https://spaceworkslabs.tech/docs/organization/features-reports-and-analytics/) , for Web visits beside the other reports
- [Public page](https://spaceworkslabs.tech/docs/organization/features-public-page/) , where organisation providers run
- [Security](https://github.com/SpaceWorks-Labs/SpaceWorks-Organization/blob/7cd1441838559f323c26e5ddbab0e72181b4bc4d/docs/SECURITY.md#content-security-policy-and-outside-web-analytics) , for what an operator must list
- [Configuration](https://spaceworkslabs.tech/docs/organization/configuration/) andenvironment variables

From[SpaceWorks-Organization/docs/features/web-analytics.md](https://github.com/SpaceWorks-Labs/SpaceWorks-Organization/blob/7cd1441838559f323c26e5ddbab0e72181b4bc4d/docs/features/web-analytics.md) at 7cd1441, updated 2026-11-21.[Suggest a change](https://github.com/SpaceWorks-Labs/SpaceWorks-Organization/edit/main/docs/features/web-analytics.md)  [PreviousUnits](https://spaceworkslabs.tech/docs/organization/features-units/) [NextPayments](https://spaceworkslabs.tech/docs/organization/payments/)

On this page
- [What it does](#what-it-does)
- [Visit counts](#visit-counts)
- [Outside providers](#outside-providers)
- [Platform and organisation providers](#platform-and-organisation-providers)
- [Set up a provider for your organisation](#set-up-a-provider-for-your-organisation)
- [Who can use it](#who-can-use-it)
- [Turning it on or off](#turning-it-on-or-off)
- [Screenshots](#screenshots)
- [API](#api)
- [Related](#related)
