PostHog / PostHog/posthog

Heatmap does not update analytics with scroll

Open
#30,409 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
7h 27m
Merged PRs (30d)
222

Description

Bug Description

I'm on the free tier testing on our web app, I know that the heatmap is default to ignore scroll value, but there seem to be a bug even when switched to Show scrolled the hotspots are positioned relative to the viewport still, i.e. the hotspots are static regardless of how much I scrolled, this doesn't feel right - the click heatmap should update as I scroll.

I'm searched everywhere, can't find an answer on this, is it a expected behaviour?

How to reproduce

Just lauch heatmap on any site you track with a scrollable page and side menu/panel.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the heatmap on a tracked site with a scrollable page and side menu or panel, using the Show scrolled option. Compare hotspot positions before and after scrolling; done means the click hotspots follow the scrolled page rather than remaining fixed to the viewport. The issue names no source files or tests, so the relevant heatmap entry point must first be located.

Written by the indexing model from the issue text.

Assessment

Domain
analytics, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.