-
Notifications
You must be signed in to change notification settings - Fork 3k
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
feat(tracking): add additional home page telemetry #6018
feat(tracking): add additional home page telemetry #6018
Conversation
|
||
export const HomePage = () => { | ||
analytics.event({ type: EventType.PageViewEvent, originPath: window.location.pathname }); |
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.
let's make a homepage-specific EventType
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.
Added a HomePageViewEvent!
const url = isGlossaryEntityCard ? PageRoutes.GLOSSARY : `${PageRoutes.BROWSE}/${entityPathName}`; | ||
const onBrowseEntityCardClick = () => { | ||
analytics.event({ | ||
type: EventType.BrowseResultClickEvent, |
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.
lets make this homepage-browse specific
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.
Added a HomePageBrowseResultClickEvent!
Checklist