fusion icon indicating copy to clipboard operation
fusion copied to clipboard

Add Privacy preserving app insights analytics to NeuroFusion Explorer

Open oreHGA opened this issue 1 year ago • 1 comments
trafficstars

As our focus is shifting more to research efforts. We need to understand how people are using the explorer client.

Application Insights is our tool of choice. We can add a wrapper that doesn't send ip addresses and only track events related to product usage & metrics just like we do in the mobile app.

What we want to measure:

  • [x] When a person initiates a recording (what activity type was it, was it successful)
  • [ ] When a person uses the analysis suite
  • [ ] When a person adds an integration (was it successful , did they do a recording afterwards)

oreHGA avatar Jan 19 '24 19:01 oreHGA

Azure Application insights package would help here: https://www.npmjs.com/package/@microsoft/applicationinsights-react-js

The work would be:

  • [x] getting app insights installed in the repo
  • [x] calling appInsights.trackEvent() for the specific event like, experiment_start, experiment_end .... here's an example of how we do it in the mobile app ( https://github.com/search?q=repo%3ANEUROFUSIONInc%2Ffusion%20appInsights.trackEvent&type=code)

oreHGA avatar Jul 02 '24 18:07 oreHGA