Resources/Privacy & Consent/Consent mode & categories

Consent mode & categories

Understand explicit vs implicit consent and how categories map to Spectry features.

Consent mode

  • Explicit (default) — nothing is tracked until the visitor actively accepts. This is the GDPR-recommended setting.
  • Implicit — tracking starts unless the visitor opts out. Only appropriate where local law allows and typically used with the "none" provider.
Consent mode setting

Categories and what they control

CategoryEnables
essentialCore functionality and Core Web Vitals. Always on.
analyticsPage views, navigation, scroll depth, custom events, user identification, rage and dead clicks.
heatmapsClick, move and scroll interaction tracking for heatmaps.
feedbackFeedback widgets, surveys and optin forms.
replaySession recording.

Heatmaps and replay are separate categories. Granting one does not grant the other, so a visitor can contribute to a heatmap without being recorded.

How enforcement works

  • Each tracking request carries the visitor's current consent state.
  • The server validates that the relevant category is granted before storing anything. Enforcement is server-side, so a request that arrives without the right consent is discarded rather than trusted.
  • If a visitor revokes consent mid-session, the affected subsystems stop immediately.
If a feature shows no data, check consent before checking the feature. A heatmap with no interactions, a replay list that stays empty, or a survey with impressions but no responses is very often a consent category that was never granted — not a broken integration.

Setting consent from code

Spectry.acceptAll();
Spectry.setConsent({ analytics: true, heatmaps: false });
Spectry.revokeConsent();

Put this to work on your own site.

Heatmaps, session replays, funnels and experiments in one platform. Set it up in minutes, no credit card needed, and early-access members earn exclusive rewards.