Web Analytics, Errors & Heatmaps
Nothing here records anything until you switch it on
Heatmaps and automatic error capture only collect once a capture feature is enabled; Web Analytics pageviews are tracked by default, and only its vitals cards need a switch. Every one of them is off by default, and turning one on is not retroactive — you start collecting from that moment, not from your app’s history.
The switches live in Project Settings → SDK Configuration, and also in product onboarding. They are server-driven, so a change takes effect the next time a device fetches its configuration; you do not need to ship an app update.
| Switch | What it collects |
|---|---|
| Autocapture | Click and interaction events, and every heatmap |
| Heatmaps | Click coordinates — needs Autocapture on as well |
| Error tracking | The Errors report |
| Web vitals | Loading-performance measurements |
| Session replay | The Session Replay report |
Heatmaps need two switches, not one. Autocapture records the click; Heatmaps attaches the coordinates to it. With Autocapture on and Heatmaps off, every click is recorded and none of them can be plotted — and again, enabling Heatmaps later does not go back and place the clicks you already have.
Sample data, and how to recognise it
When one of these reports has nothing to show, it fills itself with sample data behind a Demo Mode banner rather than rendering empty. That is helpful for seeing what a report looks like before you have instrumented anything. It is worth knowing exactly how far each one goes.
- Web Analytics puts the whole page behind the banner — every figure you see is either all real or all sample.
- Heatmaps shows no sample data at all, and distinguishes “the query failed” from “nothing has been captured”. Trust what it tells you.
- Errors mixes them. See the warning below before you read a number off that page.
Web Analytics
Pageviews, unique visitors, referrers, campaigns, bounce rate, session duration and Core Web Vitals, over your web traffic. It needs the analytics SDK (@billdog.io/analytics) — @billdog.io/web and the mobile SDKs do not send pageviews.
Referrers and campaigns are solid
Top Referrers and UTM Campaigns are captured properly and attributed at ingest. If you are looking for one thing on this page to make a decision with, it is these two.
Pageviews and unique visitors are not comparable
If your project samples anonymous traffic, the pageview count is scaled back up to estimate the true total, and the unique-visitor count is not — it counts only the visitors actually recorded. This is deliberate, because scaling a distinct count produces a worse number than leaving it alone. The consequence is that “pageviews per visitor” computed from these two tiles is inflated. Compare pageviews to pageviews and visitors to visitors.
Bounce rate and session duration count pageviews only
A bounce is a session with one pageview or fewer. Duration is the time between the first and last pageview of a session. Neither definition looks at anything else the visitor did.
So a visitor who lands on one page, reads for ten minutes, clicks six things and buys something is a bounce with a duration of zero seconds. On a single-page app this is the normal case, not the exception. Both figures are also truncated at the edges of your date range, and neither responds to a segment or a property filter.
Core Web Vitals
The Core Web Vitals cards do not currently display your measurements. The SDK collects LCP, CLS, INP, FCP and TTFB and sends them under their own event; the report looks for them somewhere else entirely, so the cards stay empty no matter how much web traffic you have. FID is not collected at all — it is a metric the browser API no longer reports. Because Demo Mode is decided on pageview volume alone, a project with real pageviews leaves demo mode and then shows three permanently blank vitals cards with no explanation. That is this gap, not a problem with your site.
Errors
A grouped list of exceptions caught in your app, each with a status, a first- and last-seen time, occurrence and affected-user counts, and a stack trace. It needs Error tracking switched on.
The page reads from two places at once: the list of error groups comes from one store, and the occurrence counts, user counts and stack traces come from another. Most of the time they agree. When they do not, the page does something you need to know about.
When the second store returns nothing, the counts you see are invented. Your real error groups keep rendering, and each one is given an occurrence count derived from a hash of its own id — a number between 12 and 151 that has no relationship to anything — plus an affected-user count of about 45% of that, and a canned stack trace that points at BillDog’s own source. The banner above the table reads “No active exceptions tracked yet”, which is the opposite of what the table beneath it is showing. There is no per-row marker, so you cannot tell a real count from a synthetic one. If that banner is visible, treat every number on the page as meaningless and read only the error names and timestamps.
The two stores drift apart for reasons you can act on:
- Detailed error data expires after 90 days (30 in sandbox); the group list does not. An error last seen four months ago will always report zero occurrences and no stack trace.
- The detail view queries all of time against that 90-day store, so this is not something you can work around with a date filter — and there is no date control on this page anyway. It is always all-time.
- A partial ingest leaves a group with no detail behind it. If writing the error detail fails, the group is still created, which is the exact state that triggers the invented numbers above.
One more thing worth knowing: stack traces are de-minified if you have uploaded a source map for the release, and left minified if you have not. The page does not say which happened. A trace full of single-letter names means the source map for that release is missing, not that the trace is broken.
Heatmaps
Where people click on a given page of your site, plotted as a density grid. Pick a page from the dropdown; the grid below shows click concentration.
Horizontal position is relative to the window width, so a click in the middle of a phone screen and a click in the middle of a desktop screen land in the same column — the map is comparable across devices. Vertical position is measured down the whole document, including everything scrolled past, so a click below the fold appears below the fold.
There is no screenshot of your page behind the dots, by design — a stored screenshot goes stale the moment you deploy, and would show one viewport width to everyone. Read the grid as a shape rather than as an overlay: the vertical axis is scroll depth, not a pixel-accurate position on your current layout.
- The count in the page dropdown will not match the Clicks figure below it. The dropdown counts every interaction on that page and scales for sampling; the Clicks figure counts only the clicks that carried usable coordinates, unscaled. The dropdown is the better measure of traffic, the grid the better measure of where people clicked.
- Very busy pages are capped. Beyond a few thousand distinct click positions the grid stops adding cells, and the Clicks total quietly stops growing with it. The shape of the map stays right; the total under-reports.
- The below-the-fold marker assumes an 800-pixel-tall window rather than your visitors’ actual screens. Treat it as a rough guide.
The in-page toolbar
The toolbar opens on your own website from the dashboard and draws the heatmap over the live page. It also has an element inspector (it shows the selector autocapture records, and lets you name a click as an action) and lets you override feature flags in your own browser.
Turn it on
- Go to Project Settings → SDK Config → Toolbar. Only the project owner or an admin can change this card; other members see it read-only.
- Switch on Enable toolbar.
- Add each site it may open on, then Save. An entry is an exact origin such as
https://www.example.com(scheme and port must match), a single page such ashttps://www.example.com/pricing, or a path prefix ending in/*. Subdomain wildcards like*.example.comare not supported — list each subdomain.http://localhost:3000works for local testing.
Open it
Use Open toolbar on my site on the Heatmaps page or on the Toolbar card, pick a listed page and the dashboard opens it in a new tab. The page must run the BillDog web SDK (@billdog.io/web): it sees the launch link and loads the toolbar. Pages that are not opened this way never download the toolbar code.
The launch link carries a short-lived token (two hours) in the URL fragment, which is never sent to your server, and the toolbar removes it from the address bar as soon as it reads it. The server checks the token and the page against your list again before showing anything.
Flag overrides
Overriding a flag in the toolbar changes it in your browser only, and the SDK applies the override only while a toolbar session is open in that tab, or when the SDK runs with a test key (bd_public_test_…). With a live key and no toolbar session, stored overrides are ignored, so nothing left in a browser can change what your users see. An overridden read does not send $feature_flag_called, so it never counts as an experiment exposure. Overrides need web SDK 1.1.2-beta.5 or later.
Saving a view
The Save view button stores your date range and controls, and on the Heatmaps page it does not store which page you had selected. Reopening a saved Heatmaps view gives you the right dates and the default page. The same is true of the event selection on Event Insights — see Insights, Boards & Alerts.
Related
- Web SDK — paywalls and purchases on the web; it sends no pageviews, clicks or vitals, and errors only when you call
captureException() - Product Analytics — events, autocapture and identify
- Session Replay — the fifth capture feature
- LLM Observability — tracing model calls, which works differently from all of the above
- Troubleshooting
Was this page helpful?
Or rate this page: