-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add telemetry for URL logging #913
Conversation
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.
LGTM
const configureFallbacks = (app) => { | ||
app.use(trackUrlTelemetry); |
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.
IIRC, this will only send telemetry for static assets. Is this what you want?
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.
@molant Yes, that should be okay. We are mainly interested in tracking the documentation urls.
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.
We already have google analytics and can get this information (and more) from there. Is the plan to remove GA?
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.
@molant Not sure about GA, we can remove if it is redundant. This is to mainly to track referrals (like when "learn more" is clicked from DevTools panel). Having it in AI lets us pull it for internal reporting as well.
50b07f4
to
45c0ef9
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
This PR will track URLs from visits to webhint.io and also any referrers, which is contained within query param "source".