PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
19.43k stars 1.14k forks source link

Support "Path cleaning rules" in trends & heatmaps #7288

Open joesaunderson opened 2 years ago

joesaunderson commented 2 years ago

Is your feature request related to a problem?

You have recently added the concept of "Path cleaning rules" to support multi-tenanted systems in the User Paths insight. It would be great if this concept could be expanded to other use-cases in the PostHog application.

Describe the solution you'd like

Trends

We would like an easy way to find the popular pages on our site, if we breakdown by Current URL, it does not work as it treats /merchant/123/dashboard separate from /merchant/321/dashboard. Using the Path cleaning rules, we would see a total number for /merchant/*/dashboard.

Heatmaps

We would like to see the heatmaps of pages on our site. Currently it does not work as it as it treats /merchant/123/dashboard separate from /merchant/321/dashboard meaning we get a heatmap for each page. Using the Path cleaning rules, we would see one heatmap for /merchant/*/dashboard.

Describe alternatives you've considered

Manually run this analysis somehow.

Additional context

Thank you for your feature request – we love each and every one!

snordale commented 1 year ago

Yo, seems like this doesn't work with query params -- is that correct and by design?

Trying to configure a User Paths insight and utm params are preventing the paths from grouping.

neilkakkar commented 1 year ago

Shouldn't be the case, as long as you have a wildcard in the right place 🤔 - mind opening a separate issue about the exact problem you're facing?