posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Bug report: Problem with filters for `Latest current URL` `does not contain` on trends insight

Open slshults opened this issue 5 months ago • 0 comments

Bug Description

Bug description

Trying to filter out Latest current URL is not behaving as expected on trends insights.

[example insight](t https://us.posthog.com/project/63176/insights/EM7fm4gw/edit):

Trying this: CleanShot 2024-08-27 at 13 26 03@2x

or trying this: CleanShot 2024-08-27 at 13 26 13@2x

..the results include strings specified for "doesn't include":

CleanShot 2024-08-27 at 13 26 47@2x

and

CleanShot 2024-08-27 at 13 26 32@2x

How to reproduce

  1. Create a new insight (or view this example)
  2. Set a series A (in the example, the value for series A is set to ga_purchase)
  3. Add filters for Latest Current URL doesn't contain utm, and for Latest Current URL doesn't contain checkout (Whether the filters are added on the series, or under "Filters" on the right side of the page, the results are the same)
  4. Notice under Detailed results that the results returned do show URLs that contain the strings specified in the filters.

Additional context

from: https://posthoghelp.zendesk.com/agent/tickets/17330

Debug info

Report event: http://go/ticketByUUID/af9bb059-c34d-4297-87a6-009aae657762
Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/01918f60-f079-7a72-b477-15e2c3a0d68e?t=416
Location: https://us.posthog.com/project/63176/insights/q0HwPTHA/edit
Admin: http://go/adminUS/[email protected] (organization ID 018ebff3-3436-0000-69d8-b914e567cad5: FLOLiO, project ID 63176: WellnessWag)
Sentry: http://go/sentryUS/63176

slshults avatar Aug 27 '24 20:08 slshults