Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Refactor USER_PAGE_FILTERS to include additional filters from BASE_FILTERS and new parameters for pathname, entry_page, and exit_page, enhancing user data analysis capabilities.

Bill Yang8e1eb02cc56a
diff --git a/client/src/lib/filterGroups.ts b/client/src/lib/filterGroups.ts
index b482887b2..509426609 100644
--- a/client/src/lib/filterGroups.ts
+++ b/client/src/lib/filterGroups.ts
@@ -42,18 +42,10 @@ export const GOALS_PAGE_FILTERS: FilterParameter[] = [...BASE_FILTERS];
export const FUNNEL_PAGE_FILTERS: FilterParameter[] = [...BASE_FILTERS];
export const USER_PAGE_FILTERS: FilterParameter[] = [
- "hostname",
- "browser",
- "browser_version",
- "operating_system",
- "operating_system_version",
- "language",
- "country",
- "region",
- "city",
- "device_type",
- "referrer",
- "user_id",
+ ...BASE_FILTERS,
+ "pathname",
+ "entry_page",
+ "exit_page",
];
export const JOURNEY_PAGE_FILTERS: FilterParameter[] = [