Filter on Distinct ID is not working
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 222
Description
Bug Description
I am trying to filter for cookieless users based on their Distinct ID that contains $posthog_cookieless.
Even though I am seeing the value in multiple events, the filter is producing no events.
How to reproduce
- Go to Activity
- Filter for Pageview and Distinct ID under Event Metadata
For context, we just started to roll out our cookieless setting when this start to happened. We are also seeing a significant drop in traffic counts.
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
Start in the Activity view and reproduce the Pageview filter combined with Distinct ID matching the reported cookieless value. Trace how the Distinct ID filter is applied to events, then verify that matching events appear and that the result is consistent with the cookieless setting.
Written by the indexing model from the issue text.
Assessment
- Domain
- analytics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100