Minimal collection
Strict Collection Profile
collection_profile: strict
The strict collection profile reduces collection to what counting a page view or safe interaction requires. The tracker reads and writes no browser storage and reads no device details, and the server discards every other dimension when an event arrives.
What Strict Mode Retains
- Sanitized page path: The normalized URL path without query parameters or hash fragments.
- Safe event name: A fixed action name (e.g.,
view or approved custom events).
- Approved goal code: Only active goals defined in
config/goals.yaml.
- UTC hour bucket: Server-stamped hourly aggregation window without exact timestamps.
- Core protection: Ingestion kill switch, sensitive-path exclusions, domain rules, and rate limits remain active.
What Strict Mode Completely Omits
- Zero browser storage: Never sets, reads, or deletes cookies,
localStorage, or sessionStorage.
- No device or viewport dimensions: Device type, screen resolution, and viewport are recorded as
unknown.
- No referrer URLs: Referrer channel and search terms are omitted and recorded as
unknown.
- No geographic lookups: Server performs no IP-to-location lookups; coarse geography is not derived.
- No visitor or session identifiers:
setConsent() changes nothing; no identifiers are created.
- No custom properties or page depth: Mapped query params, custom properties, and page depth counters are discarded.
Administrators turn it on under Collection → Collection controls, with
collection_profile: strict in the configuration file, or with the
COLLECTION_PROFILE environment variable, which takes precedence. The server applies
the strict profile to every request, including direct API calls; copies of the tracker hosted
elsewhere, such as on a CDN, also need to opt in on the page so they avoid those browser reads.
Regulatory consideration: The strict profile minimizes what the tracker touches on a device, but it does not by itself make measurement exempt from consent. European guidance treats a script that makes the browser send information, including the page address, as within Article 5(3) of the EU ePrivacy Directive, and exemptions for audience measurement differ between countries. Operators remain responsible for their legal basis, notices, and privacy governance.