Filters
The Filters section allows users to refine the data displayed on the Dashboard.
By applying filters, users can view performance metrics for a specific Day, Week, Month, or by selecting a particular Website.
Time Filters
At the top-left of the dashboard, three buttons are available to choose the time range:
- Day
- Week
- Month (selected by default)
Day Filter
When Day is selected:
- A Day Picker appears on the right side of the buttons.
- Users can choose a specific date for which they want to see the data.
- Based on the selected date, multiple backend APIs are triggered to fetch relevant information.
SQL Queries (Day)
-- Query 1 (Day)
--
-- Query 2 (Day)
--
-- Query 3 (Day)
--
-- Query 4 (Day)
--
-- Query 5 (Day)
--
Week Filter
When Week is selected:
- A Range Picker appears to allow users to select a start and end date.
- Data is then displayed for the chosen weekly range.
SQL Queries (Week)
-- Query 1 (Week)
--
-- Query 2 (Week)
--
-- Query 3 (Week)
--
-- Query 4 (Week)
--
-- Query 5 (Week)
--
Month Filter
When Month is selected:
- A Month Picker appears.
- Users can select a specific month to view the corresponding data.
SQL Queries (Month)
-- Query 1 (Month)
--
-- Query 2 (Month)
--
-- Query 3 (Month)
--
-- Query 4 (Month)
--
-- Query 5 (Month)
--
Website Filters
On the right-most side, a Website Selector dropdown is available:
- It displays the list of websites linked to the user account.
- The user can choose one website at a time to filter and view dashboard data accordingly.
SQL Queries (Website)
-- Query 1 (Website)
--
-- Query 2 (Website)
--
-- Query 3 (Website)
--
-- Query 4 (Website)
--
-- Query 5 (Website)
--
Summary
On the right-most side, a Website Selector dropdown is available:
- Day, Week, Month filters provide flexibility in analyzing performance data across different timeframes.
- Website Selector allows focusing on data for a specific website.
- Behind each filter, multiple SQL queries and APIs are executed to fetch the required information.