Glancygrowth analytics
UnderstandImproveMonitorReplace your stackPricing
Log in
Getting started
  • Introduction
  • Quickstart
  • Events, users and sessions
  • Turning features on and off
SDKs
  • Script tag (glancy.js)
  • JavaScript (npm)
  • Next.js
  • React Native and Expo
  • iOS and macOS (Swift)
  • Android and JVM (Kotlin)
  • WordPress
  • Segment
  • Content Security Policy
Understand
  • Overview, real time and reports
  • Saved reports and dashboards
  • Session replay and heatmaps
  • Ad attribution
  • Ask AI
Improve
  • A/B testing
Monitor
  • Performance (web vitals)
  • Errors
  • Uptime
  • Monitoring and notifications
Data and privacy
  • Integrations and Shopify
  • Autocapture and actions
  • Ad conversions (Meta, Google Ads, TikTok, Taboola)
  • Privacy and your data
  • Cookie banner and consent
Account and reference
  • Organizations, people and usage
  • HTTP API

Turning features on and off

Session replay, heatmaps, autocapture, web vitals, errors, the cookie banner and A/B testing are turned on and off for each bucket in Glancy, under Setup → Features, without changing your site's code. Your pages only download the code of the features that are on, so a feature you don't use costs your visitors nothing.

This works with the script tag, the Next.js provider and the JavaScript package with settings: true. The SDK reads these settings with the bucket's cookie banner and A/B tests, in the same small request, so there is nothing extra to load.

#The features

Feature What it collects Downloaded by your pages
Autocapture Clicks on links and buttons and form submits, to turn into actions About 2.5 KB, shared with heatmaps
Heatmaps Where people click and how far they scroll About 2.5 KB, shared with autocapture
Session replay Recordings of visits to watch back About 24 KB, only for the sessions recorded
Web vitals How fast each page loads and responds About 4.5 KB, once the page has loaded
Errors JavaScript errors in the browser About 1 KB

For session replay you can also choose the share of sessions recorded: all, 50%, 25% or 10%, or Site's code to keep the rate your code sets (data-replay-sample, sampleRate). Visitors whose session isn't picked don't download the recorder at all.

A feature your plan doesn't include is shown as off and can't be turned on.

#On your site

The second group runs on your pages rather than collecting data:

Feature What it does Downloaded by your pages
Cookie banner Asks visitors for consent; design it in Setup → Consent About 4.5 KB
A/B testing Runs the tests you started; off, everyone sees the original page About 1.5 KB, only while a test is running

These switches work right away, whether or not the first group has been saved. A/B testing comes with the Pro and Enterprise plans; on other plans it can be turned off but not on.

#Before you save

Until a bucket admin saves the first group, your site's code decides which of those features run, as it always has (for example data-replay on the script tag or sessionReplay on the provider). The page then shows what your sites sent in the last 7 days, so saving it as it is changes nothing. Once saved, the switches decide.

#How it reaches your sites

Changes reach your sites within a couple of minutes, on each visitor's next page. Data a feature turned off still sends (an older SDK version, a page that was already open) is not stored.

Two things always win over the switches:

  • Your code turning a feature off. data-heatmaps="false", heatmaps={false} or errors: false keeps that feature off on that site, even when it's on here. Use it for pages that must never be recorded.
  • The cookie banner. Visitors who haven't allowed analytics are never recorded, whatever is on.

Errors from your server (route wrappers and captureException on the server) aren't affected by the Errors switch.

Previous
Events, users and sessions
Next
Script tag (glancy.js)
On this page
  • The features
  • On your site
  • Before you save
  • How it reaches your sites
Log in