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

HUB-167: Recognise and report Verify users on GOV.UK #944

Merged
merged 1 commit into from
Aug 15, 2018

Conversation

rachelthecodesmith
Copy link
Contributor

@rachelthecodesmith rachelthecodesmith commented Jun 19, 2018

https://govukverify.atlassian.net/browse/HUB-167 : Test - verify user behaviour on interstitial page GOV.UK

We'd like to see what choices existing Verify users make on the
service sign-in page. Therefore we're loading a JS snippet from Verify to make
an ajax call and based on the user cookie to decide whether it's a
Verify user and report accordingly. This is a baseline test to learn about the users' behaviour.

The js that is referenced is in verify-frontend -> https://github.com/alphagov/verify-frontend/blob/master/public/get_hint.js

It receives a boolean answer to if the user has the journey hint cookie present and triggers a Google Analytics event with the presence or absence of the hint together with the option the user selected.

The cookie that determines if a user has visited verify before is issued from the verify domain and is covered under the verify cookie policy.

Co-Authored-by: Jakub Miarka [email protected]


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

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

@tijmenb tijmenb temporarily deployed to government-frontend-pr-944 June 19, 2018 11:19 Inactive
@andysellick andysellick requested a review from tijmenb June 19, 2018 11:28
@rachelthecodesmith rachelthecodesmith force-pushed the hub-167-check-selection-of-verify-users branch from 0bf215a to 488f617 Compare June 20, 2018 15:13
@sihugh
Copy link
Contributor

sihugh commented Jul 16, 2018

Do we need to have this cookie listed on https://www.gov.uk/help/cookies?

@rachelthecodesmith rachelthecodesmith force-pushed the hub-167-check-selection-of-verify-users branch from f97b340 to c055c6b Compare July 20, 2018 08:53
@jakubmiarka jakubmiarka changed the title HUB-167: Recognize and report Verify users on GOV.UK [WIP] HUB-167: Recognize and report Verify users on GOV.UK Jul 20, 2018
@rachelthecodesmith rachelthecodesmith removed the request for review from tijmenb July 20, 2018 11:19
@rachelthecodesmith rachelthecodesmith force-pushed the hub-167-check-selection-of-verify-users branch 4 times, most recently from e2fe729 to d9bf666 Compare July 26, 2018 17:20
We'd like to see what choices exisiting Verify users make on the
service sign-in page. Therefore we're calling a Verify endpoint using
an ajax call and based on the user cookie to decide whether it's a
Verify user and report accordingly. This is a baseline test to learn about the users' behaviour.

Co-Authored-by: Jakub Miarka <[email protected]>
@jakubmiarka jakubmiarka force-pushed the hub-167-check-selection-of-verify-users branch from d9bf666 to 9ee5f80 Compare July 27, 2018 09:47
@rachelthecodesmith rachelthecodesmith changed the title [WIP] HUB-167: Recognize and report Verify users on GOV.UK HUB-167: Recognise and report Verify users on GOV.UK Jul 30, 2018
@rachelthecodesmith
Copy link
Contributor Author

Changes made as per email exchange. I can add any documentation you feel is needed if you let me know where best to put it.

@rachelthecodesmith rachelthecodesmith merged commit 1b65405 into master Aug 15, 2018
@rachelthecodesmith rachelthecodesmith deleted the hub-167-check-selection-of-verify-users branch August 15, 2018 10:42
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.

5 participants