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 cross domain tracking to service sign in form #1102

Merged
merged 2 commits into from
Sep 28, 2018

Conversation

steventux
Copy link
Contributor

@steventux steventux commented Sep 26, 2018

https://trello.com/c/CbTYssq1/478-enable-cross-domain-tracking-for-cysp-govuk-sign-in-pages

Depends on alphagov/govuk_publishing_components#539 and alphagov/govuk-content-schemas#817

We need to track radio button selection events across domains
so that other departments can monitor the efficacy of changes
and options on the service sign in pages. This commit modifies
the track radio group module to include cross domain tracking
via a tracking code and name. Support is being added for radio
buttons to pass the relevant url so that the hostname can be
identified as part of the tracking.


Visual regression results:
https://government-frontend-pr-1102.surge.sh/gallery.html

Component guide for this PR:
https://government-frontend-pr-1102.herokuapp.com/component-guide

@benthorner benthorner temporarily deployed to government-frontend-pr-1102 September 26, 2018 13:32 Inactive
@steventux steventux force-pushed the add-cross-domain-tracking-to-service-sign-in-format branch from 76229e4 to 3138ef7 Compare September 26, 2018 13:34
@benthorner benthorner temporarily deployed to government-frontend-pr-1102 September 26, 2018 13:34 Inactive
@steventux steventux force-pushed the add-cross-domain-tracking-to-service-sign-in-format branch from 3138ef7 to 92d932a Compare September 26, 2018 13:52
@benthorner benthorner temporarily deployed to government-frontend-pr-1102 September 26, 2018 13:52 Inactive
@benthorner benthorner temporarily deployed to government-frontend-pr-1102 September 28, 2018 11:04 Inactive
We need to track radio button selection events across domains
so that other departments can monitor the efficacy of changes
and options on the service sign in pages. This commit modifies
the track radio group module to include cross domain tracking
via a tracking code and name. Support is being added for radio
buttons to pass the relevant url so that the hostname can be
identified as part of the tracking.
This provides support for the tracking url to enable cross domain
tracking in the track radio group module.
@steventux steventux force-pushed the add-cross-domain-tracking-to-service-sign-in-format branch from 878960f to cc046ed Compare September 28, 2018 15:52
@steventux steventux merged commit 0437aa6 into master Sep 28, 2018
@steventux steventux deleted the add-cross-domain-tracking-to-service-sign-in-format branch September 28, 2018 16:29
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