Privacy-Aware Analytics in Osirion
Enable analytics while respecting user privacy and SSR constraints.
Consent gating
@if (await ConsentService.HasConsentAsync("analytics"))
{
<ClarityTracker SiteId="your-id" />
}
Recommended settings
- Anonymize IP when available
- Defer loading until consent is present
- Document your data collection in Privacy Policy