From 6164c70b249c5228136f98bcce7119a9e50d47d7 Mon Sep 17 00:00:00 2001 From: David Newell Date: Thu, 21 Sep 2023 16:52:38 +0100 Subject: [PATCH] chore: add filter type to 'recording list filters changed' event (#17556) --- .../playlist/sessionRecordingsListLogic.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsListLogic.ts b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsListLogic.ts index 5d44e84618b36..a97acaf6d5520 100644 --- a/frontend/src/scenes/session-recordings/playlist/sessionRecordingsListLogic.ts +++ b/frontend/src/scenes/session-recordings/playlist/sessionRecordingsListLogic.ts @@ -419,7 +419,11 @@ export const sessionRecordingsListLogic = kea([ acc[`partial_filter_chosen_${key}`] = filters[key] return acc }, {}) - posthog.capture('recording list filters changed', { ...partialFilters }) + + posthog.capture('recording list filters changed', { + ...partialFilters, + showing_advanced_filters: values.showAdvancedFilters, + }) actions.loadEventsHaveSessionId() },