analytics.ts

Third-party analytics services.

config/analytics.ts stores the parameters third-party analytics services need in the browser. These values are published with the frontend code and visible to every visitor, so they must not contain sensitive information. The system does not load a service if a required parameter is an empty string.

googleAnalytics

Prop

Type

clarity

Prop

Type

cloudflareBeacon

Prop

Type

umami

Prop

Type

plausible

Prop

Type

posthog

Prop

Type

seline

Prop

Type

ahrefs

Prop

Type

dataFast

Prop

Type

openPanel

Prop

Type

After enabling a third-party analytics service, keep the service with the same name in cookie-consent.ts and determine when to load its script based on the site's cookie consent mode.