Skip to main content
Solved

How to Create and Save Custom Filters in Event Property

  • July 31, 2021
  • 1 reply
  • 826 views

Forum|alt.badge.img

I have an Event called ‘Page View’ with properties such as ‘Page Slug’, ‘Page Route’. Is it possible to save a custom filter on Page Slug?

Eg:

I would like to create a custom filter WHERE ‘Page Slug’ = {‘apple’, ‘orange’, ‘banana’, ‘mango’, ‘watermelon’}

We use this filter in many places, and there are over 50 values in the filter. The alternative is to send it as a property of its own, but we’d ideally like to see it for historical data as well.

Best answer by Saish Redkar

Hey @jj41 
From what I understand, the easiest way would be to create a custom event involving just the singular Page View event with the WHERE clause on the ‘Page Slug’ event property for all the values you want to filter on. There isn’t a direct way of saving a custom where filter afaik.

So Page View event WHERE ‘Page Slug’ = {‘apple’, ‘orange’, ‘banana’, ‘mango’, ‘watermelon’,etc} and naming this custom event something like “Page View - Filtered on <specific> Page Slug “. You can then use this custom event in your charts.

Another way would be trying to incorporate a saved user segment which contains your filter definition on the Page View event depending on how well it suits your analysis.

Let me know if I have interpreted your use case correctly. Hope this helps.

 

 

View original
Did this topic help you find an answer to your question?

1 reply

Saish Redkar
Expert
Forum|alt.badge.img+10
  • Expert
  • 1380 replies
  • Answer
  • July 31, 2021

Hey @jj41 
From what I understand, the easiest way would be to create a custom event involving just the singular Page View event with the WHERE clause on the ‘Page Slug’ event property for all the values you want to filter on. There isn’t a direct way of saving a custom where filter afaik.

So Page View event WHERE ‘Page Slug’ = {‘apple’, ‘orange’, ‘banana’, ‘mango’, ‘watermelon’,etc} and naming this custom event something like “Page View - Filtered on <specific> Page Slug “. You can then use this custom event in your charts.

Another way would be trying to incorporate a saved user segment which contains your filter definition on the Page View event depending on how well it suits your analysis.

Let me know if I have interpreted your use case correctly. Hope this helps.

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings