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

Implements scroll tracking for the covid pages #1942

Merged
merged 2 commits into from
Feb 18, 2021

Conversation

DilwoarH
Copy link
Contributor

What

Implement scroll tracking to coronavirus landing pages.

We will use the percentage format to track.

'/coronavirus': [
      ['Percent', 20],
      ['Percent', 40],
      ['Percent', 60],
      ['Percent', 80],
      ['Percent', 100]
    ],

All code changes sit here: https://github.com/alphagov/govuk_publishing_components/blob/master/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js

Why

We want to understand how far down the page users are going so we know that users are getting the relevant information.

https://trello.com/c/VRNHtbkc/162-scroll-tracking-on-landing-page

Why?
We want to understand how far down the page users are going so we know that users are getting the relevant information.

https://trello.com/c/VRNHtbkc/162-scroll-tracking-on-landing-page
@bevanloon bevanloon temporarily deployed to govuk-publis-add-scroll-noildh February 18, 2021 10:29 Inactive
@bevanloon bevanloon temporarily deployed to govuk-publis-add-scroll-noildh February 18, 2021 10:41 Inactive
@DilwoarH DilwoarH merged commit 0b501ac into master Feb 18, 2021
@DilwoarH DilwoarH deleted the add-scroll-tracking-for-covid branch February 18, 2021 11:31
DilwoarH pushed a commit that referenced this pull request Feb 18, 2021
Includes:
* Fix cookie banner preview in the component guide ([PR #1935](#1935))
* Implements scroll tracking for the covid pages ([PR #1942](#1942))
@DilwoarH DilwoarH mentioned this pull request Feb 18, 2021
DilwoarH pushed a commit that referenced this pull request Feb 18, 2021
Includes:
* Fix cookie banner preview in the component guide ([PR #1935](#1935))
* Implements scroll tracking for the covid pages ([PR #1942](#1942))
DilwoarH pushed a commit that referenced this pull request Feb 18, 2021
Includes:
* Fix cookie banner preview in the component guide ([PR #1935](#1935))
* Implements scroll tracking for the covid pages ([PR #1942](#1942))
* Add anchor navigation feature to accordions ([PR #1937](#1937))
This was referenced Mar 11, 2021
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.

3 participants