Web analytics conversion sometimes don't show in the overview query
A pull request for this has already been merged.
- #26441 by @robbie-c — merged
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 222
Description
Bug Description
Bug description
The overview query can sometimes show 0 unique and total conversions, but the graph below shows conversions. These 2 queries should match
This was reported here https://posthoghelp.zendesk.com/agent/tickets/21134 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/23870)
How to reproduce
This doesn't seem to affect the posthog org, but it has affected some customers with these steps to reproduce:
- Open web analytics
- Add a conversion goals
- Observe that total and unique conversions are zero
Additional context
Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests; start by tracing the web analytics overview query and the graph query from the reproduction steps. Compare their conversion results and verify that total and unique conversions match after adding a conversion goal.
Written by the indexing model from the issue text.
Assessment
- Domain
- analytics, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100