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 download and external link tracking #631

Merged
merged 1 commit into from Aug 6, 2015
Merged

Add download and external link tracking #631

merged 1 commit into from Aug 6, 2015

Conversation

@fofr
Copy link
Contributor

@fofr fofr commented Aug 5, 2015

Following on from alphagov/govuk_frontend_toolkit#208
https://trello.com/c/ihxFfLWH/70-create-simplest-external-link-and-download-tracker-medium

This is a minimum viable tracker. It will work as expected in Chrome and Firefox – browsers that support navigator.sendBeacon, about 30% of all users. On older browsers we will still send analytics events, and we'll receive some data, but not all events will make it to GA and the dataset will be incomplete. We will however be able to estimate what proportion of events we're missing based on the complete Chrome and Firefox datasets – those estimates can be used to prioritise and influence a more complex solutions.

A fully-formed tracker would include, in older browsers, a means of preventing the page from loading until an event has been successfully tracked. This degrades the user experience and the complexities introduce a greater risk of links not working. The data collected from this tracker will provide much needed context and visibility.

edds added a commit that referenced this pull request Aug 6, 2015
Add download and external link tracking
@edds edds merged commit 77c23f5 into master Aug 6, 2015
1 check passed
1 check passed
default "Build #553 succeeded on Jenkins"
Details
@edds edds deleted the link-tracking branch Aug 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.