my-appengineer Courses

Heatmaps and session recordings, used responsibly

Understanding behaviour: cohorts, heatmaps and researchLesson16 min13 / 22

Your funnel told you that mobile visitors leave Paws & Co's product page without adding to cart. It cannot tell you why. Do they miss the size guide? Do they get stuck on the photo gallery? Do they never scroll down to the reviews? Heatmaps and session recordings let you see behaviour instead of guessing. They also collect a lot of data, so this lesson covers both the method and the privacy side.

The three main views

Click (or tap) maps show where people click. Look for:

  • Clicks on things that are not clickable (a product photo that does not zoom, an icon that looks like a button). These are frustrated expectations.
  • Rage clicks: several quick clicks on the same spot, often a sign that something is broken or slow.
  • Important buttons that get few clicks compared with less important ones.

Scroll maps show how far down the page people get. Look for:

  • The share of visitors that reaches key information: price, delivery time, size guide, reviews, the add-to-cart button on mobile.
  • False bottoms: a spot where many visitors stop because the page looks finished (for example after a big banner).

Session recordings replay individual visits as a video of mouse or finger movements, scrolls and clicks. Look for:

  • Hesitation: going back and forth between photos and the price, opening and closing the size guide.
  • Errors: form fields that reject input, a coupon field that confuses, a payment step that reloads.
  • U-turns: visitors who go to the cart, see the total and leave.

Tools

Common tools include Microsoft Clarity (free), Hotjar and similar products, and some analytics suites have heatmaps built in. When choosing, check: price at your traffic level, masking options, where data is stored, consent integration, and whether a DPA is available.

Privacy first: masking, consent and transparency

Session recording tools record what happens on the page. Without precautions, that can include things people type: names, addresses, email addresses, even card details on a badly built page. Before you switch anything on:

  1. Mask by default. Make sure all input fields and any text that can contain personal data are masked, so the tool never receives them. Good tools mask input fields by default and let you mask more elements.
  2. Never record sensitive pages unmasked: checkout forms, account pages, order history.
  3. Consent. Recording and heatmap tools normally store or read data on the device and track behaviour, so in most EU countries they need prior consent in the analytics or marketing category. Check how your regulator sees it.
  4. Transparency. Name the tool in your privacy notice and cookie policy.
  5. Retention. Keep recordings only as long as you need them.
Microsoft's documentation page on masking content in Clarity
Microsoft Clarity's documentation explains masking modes. Check which content is masked before recording.
Background

Microsoft has announced that Clarity expects a consent signal for visitors from the European Economic Area, the UK and Switzerland, and adjusts what it collects when consent is missing. Check the current Clarity documentation and connect your consent tool before you rely on it. Other tools have similar requirements; read their docs.

How it works in your country

Rules on behaviour tracking differ per regulator. Check the guidance from yours, for example the Autoriteit Persoonsgegevens (Netherlands), UODO (Poland), the CNIL (France), the ICO (UK) or your German state's data protection authority. In general, assume that session recordings need consent and masking unless your regulator clearly says otherwise.

Watch out

A BIAB shop cannot load a heatmap or recording script: it has no free script field, only fixed IDs under Settings → SEO. For apps you build on my-app.engineer, you can ask the builder to add one, loading only after consent.

How many sessions do you need?

Heatmaps are aggregates, so they need volume: a few hundred page views per page and device type gives a usable picture; fewer gives random noise. Recordings are different: you watch individual sessions, and 20 to 30 recordings of one journey usually show the main patterns.

With consent rates of, say, 50 to 70%, you only see part of your visitors. That is fine for spotting problems, but do not treat heatmap percentages as precise numbers.

A structured way to watch recordings

Watching recordings without a plan wastes hours. Use filters and a note template:

  1. Pick one journey and one question. "Why do mobile visitors leave the product page without adding to cart?"
  2. Filter: device = mobile, visited a product page, did not add to cart, session longer than 20 seconds (to skip instant bounces).
  3. Watch 20 sessions at double speed.
  4. Note each problem in a table: what happened, timestamp, page, how often you saw it.
  5. Count after 20 sessions. Problems seen five times or more are patterns.
#ObservationSeen inPossible cause
1Visitors swipe through photos, then scroll up and down looking for size info9 of 20Size guide link is small, below the fold
2Visitors tap the delivery icon, nothing happens6 of 20Icon looks clickable but is not
3Visitors open reviews, scroll a lot, leave5 of 20Reviews load slowly or are not about size

These observations become hypotheses in module 4 ("Because we saw that 9 of 20 mobile visitors look for size info, we expect that a size selector with a visible guide next to the price will raise add-to-cart rate").

No tool? Do a manual walkthrough

If you cannot or do not want to use a recording tool, you can still learn a lot:

  • Go through your own key journey on a real phone, on mobile data, with a fresh browser.
  • Time each step. Note everything that is slow, small, hidden or confusing.
  • Ask two people who have never seen your shop to do it while thinking aloud (next lesson).

For shops on the platform, capture_page_screenshot can capture how a page looks, and the website-change review flow shows desktop and mobile previews of any change before it goes live. Use them to compare versions side by side.

Ask Claude
I watched 20 session recordings of [journey] on [device] and noted these observations: [paste table]. Group them into themes, rank the themes by how often they occurred and how close they are to the purchase or sign-up, and for the top three write a hypothesis in the format: "Because we saw [observation], we expect that [change] will [effect], measured by [metric]." Point out where I need more evidence before changing anything.
Your task

Pick your most important page (the step with the biggest absolute loss from your funnel). Either watch 20 masked recordings of it with the note template, or do a manual walkthrough on a phone and write down at least eight observations. Keep the table: you need it in the friction audit.

This course is general information, not personal legal, tax or financial advice. Rules, amounts and dates change: check the official source for your country before you act.