hypertrace / hypertrace-ui

UI for Hypertrace
Other
25 stars 12 forks source link

Support for adding web analytics tracker eg: Google analytics #937

Open subintp opened 3 years ago

subintp commented 3 years ago

Use Case

We would like to track the following metrics for Hypertrace to improve the evangelism

  1. Weekly active users
  2. Weekly activity on services

Tracking the above metrics will help us to understand which team is adopting the platform and plan the evangelism activities accordingly

Proposal

We would like to connect Hypertrace with analytics tracking tools like google analytics, heap, or amplitude. Tracking for these tools can be enabled by a generic way of injecting javascript on every page load. All the activities on the page will be tracked by javascript. Suggesting two ways to inject the javascript

  1. Via Admin UI - Expose an admin to UI with CRUD operations to add javascript code and this code will be stored in the config store. On every page load, the UI loads this javascript code graphql api
  2. Hardcoding via config values - Configure the javascript code as a config and inject into UI on every page load.
kotharironak commented 3 years ago

@anandtiwary @itssharmasandeep

kotharironak commented 2 years ago

@anandtiwary Can we close this one too?

anandtiwary commented 2 years ago

Yes. This is done. I will add a detailed step for enabling/configuring telemetry provider for Hypertrace.

cc @subintp @jyothishjose6190 @jaywalker21