From e50c0c7562db68c5bc98030effa04048d4246e63 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Tue, 7 May 2024 13:52:45 +0200 Subject: [PATCH] change(ui): added utm filters --- frontend/app/types/filter/newFilter.js | 27 ++++++++++++++++++++++++++ frontend/frontend.iml | 9 +++++++++ 2 files changed, 36 insertions(+) create mode 100644 frontend/frontend.iml diff --git a/frontend/app/types/filter/newFilter.js b/frontend/app/types/filter/newFilter.js index f2c91f80a..9b73b9392 100644 --- a/frontend/app/types/filter/newFilter.js +++ b/frontend/app/types/filter/newFilter.js @@ -234,6 +234,33 @@ export const filters = [ operatorOptions: filterOptions.tagElementOperators, options: [], }, + { + key: FilterKey.UTM_SOURCE, + type: FilterType.MULTIPLE, + category: FilterCategory.RECORDING_ATTRIBUTES, + label: 'UTM Source', + operator: 'is', + operatorOptions: filterOptions.stringOperators, + icon: 'filters/country', + }, + { + key: FilterKey.UTM_MEDIUM, + type: FilterType.MULTIPLE, + category: FilterCategory.RECORDING_ATTRIBUTES, + label: 'UTM Medium', + operator: 'is', + operatorOptions: filterOptions.stringOperators, + icon: 'filters/country', + }, + { + key: FilterKey.UTM_CAMPAIGN, + type: FilterType.MULTIPLE, + category: FilterCategory.RECORDING_ATTRIBUTES, + label: 'UTM Campaign', + operator: 'is', + operatorOptions: filterOptions.stringOperators, + icon: 'filters/country', + }, { key: FilterKey.USER_COUNTRY, type: FilterType.MULTIPLE_DROPDOWN, diff --git a/frontend/frontend.iml b/frontend/frontend.iml new file mode 100644 index 000000000..51f25e09f --- /dev/null +++ b/frontend/frontend.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file