prime-reportstream icon indicating copy to clipboard operation
prime-reportstream copied to clipboard

Track interactions with the new Search and Filter features on the Daily Data page

Open chris-kuryak opened this issue 1 year ago • 2 comments

Problem statement

We have no way of measuring how often users interact with the new Search or Filter features on Daily Data.

What you need to know

  • ...

Acceptance criteria

  • [x] Azure App Insights is tracking when the "Search" button on the Daily Data page is clicked
  • [x] Azure App Insights is tracking when the "Apply" button on the Daily Data page is clicked
  • [x] Azure App Insights is tracking when any "Reset" button on the Daily Data page is clicked
  • [x] Test to ensure it is working properly
  • [ ] Showcase to Product manager (Chris)

chris-kuryak avatar Apr 16 '24 20:04 chris-kuryak

@chris-kuryak for Search and Apply, do you want to track any other information i.e. what was being searched or filtered on?

penny-lischer avatar May 22 '24 23:05 penny-lischer

No, for now we are only interested in if the tool is being used. We can start tracking those other details in the future if necessary.

chris-kuryak avatar May 23 '24 15:05 chris-kuryak

let usg_events = dynamic(["Daily Data | Apply", "Daily Data | Reset", "Daily Data | Search"]); let grain = iff(true, 3m, 1h); let mainTable = union pageViews, customEvents, requests | where timestamp > ago(30m) | where isempty(operation_SyntheticSource) | extend name =replace("\n", "", name) | extend name =replace("\r", "", name) | where '*' in (usg_events) or name in (usg_events); let resultTable = mainTable; resultTable | summarize Events = count() by name

penny-lischer avatar May 24 '24 19:05 penny-lischer