-
Notifications
You must be signed in to change notification settings - Fork 102
Add event tracking use GA #6940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Yang Wang <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Signed-off-by: Yang Wang <[email protected]>
Signed-off-by: Yang Wang <[email protected]>
Signed-off-by: Yang Wang <[email protected]>
Signed-off-by: Yang Wang <[email protected]>
Added some example use cases for this in pr @clee2000 |
@@ -103,6 +103,10 @@ function WorkflowJobSummary({ | |||
<JobButton | |||
variant="outlined" | |||
href={`/utilization/${m.workflow_id}/${m.job_id}/${m.run_attempt}`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how to us the data-ga atrributes
- TorchCI front-end development environment is set up and running locally | ||
- Chrome browser installed | ||
- Install chrome extension [Google Analytics Debugger](https://chrome.google.com/webstore/detail/jnkmfdileelhofjcijamephohjechhna) | ||
- Make sure you have permission to the GCP project `pytorch-hud` as admin. If not, reach out to `oss support` or `pytorch dev infra team` to add you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably add that oss support is internal
pytorch dev infra team can use @pytorch/pytorch-dev-infra and I think GH will be link our team automatically
Co-authored-by: clee2000 <[email protected]>
Signed-off-by: Yang Wang <[email protected]>
Signed-off-by: Yang Wang <[email protected]>
Desription
Add google analytics utils to track UI usage.
By default, each page will have a sessionId to track the user interaction flow for targeting UI components (such as click button, scroll etc). If user navigate to another page in a new tab, Or close the page and reopen, it will create a new session id,
This pr provides two ways to target ui components:
Please see the pr for more details.