Add a name and domain in the dashboard. Aggregate creates a website token and
checks each browser request's Origin or Referer against
the registered domain, allowing matching subdomains.
Add the tracking script to your site, collect privacy-minimized events, and analyze approved data from infrastructure you control.
Step 1
Add a name and domain in the dashboard. Aggregate creates a website token and
checks each browser request's Origin or Referer against
the registered domain, allowing matching subdomains.
Step 2
Paste the generated snippet into your site. The script sends a
view event when a page loads. Use emit(...) with fixed,
non-identifying event names and an optional goal code from
config/goals.yaml to measure important interactions and conversions.
Step 3
Events use anonymous mode with a sanitized path, coarse dimensions, and no visitor or session identifiers unless your consent integration enables enhanced analytics after consent is granted.
Step 4
Events are stored in your database. On a server database, connect BI tools with a read-only account limited to approved views. For SQLite, export approved view results instead of sharing the database file. Completed periods with low volume remain suppressed.
setConsent(true) only after the visitor grants enhanced analytics consent.config/goals.yaml.setConsent(false) on rejection or withdrawal.setConsent(false), Aggregate clears its browser identifiers and returns to
anonymous mode. Privacy-minimized events, configured consent-free properties, and anonymous goals continue unless
collection is disabled or the path is excluded. Consent withdrawal does not delete data
already stored by the server.
All six standard UTM properties require consent by default. For anonymous attribution, we recommend no more detail than utm_medium, using channel codes such as email, social, or cpc. Each property can be allowed separately; more detailed UTMs may reveal campaign information, search text, or identifiers, so review their values before overriding this recommendation.
Privacy-minimized data is not guaranteed to be legally anonymous. Operators remain responsible for legal basis, notices, consent behavior, retention, access controls, and rights requests.
Keep event and goal names fixed and non-identifying. The goal allowlist cannot detect sensitive meaning: a broad goal can still be sensitive when combined with a path or small audience. Do not send emails, account IDs, form contents, search terms, or other free text as enhanced properties.