Skip to content
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

Merged
merged 3 commits into from
Jul 30, 2020
Merged

Add telemetry for URL logging #913

merged 3 commits into from
Jul 30, 2020

Conversation

utsavized
Copy link
Contributor

This PR will track URLs from visits to webhint.io and also any referrers, which is contained within query param "source".

@utsavized utsavized requested review from molant and sarvaje June 23, 2020 16:55
@utsavized utsavized self-assigned this Jun 23, 2020
Copy link
Contributor

@sarvaje sarvaje left a 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);
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

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?

Copy link
Contributor Author

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.

@sarvaje sarvaje force-pushed the learn-more-telemetry branch from 50b07f4 to 45c0ef9 Compare July 29, 2020 23:09
Jesus David Garcia Gomez added 2 commits July 29, 2020 20:43
@antross antross mentioned this pull request Jul 30, 2020
@antross antross changed the title DRAFT: Add telemetry for URL logging + update endpoint to match new API Add telemetry for URL logging Jul 30, 2020
@antross
Copy link
Member

antross commented Jul 30, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@utsavized utsavized assigned sarvaje and unassigned utsavized Jul 30, 2020
@antross antross merged commit 36e6586 into main Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants