Skip to content
This repository has been archived by the owner. It is now read-only.

fix(metrics): Stop double counting the *_complete screen views. #4306

Merged

Conversation

@shane-tomlinson
Copy link
Member

@shane-tomlinson shane-tomlinson commented Oct 20, 2016

(signin|signup|reset_password)_complete screens were shown in both the
initiating tab and the verification tab of these flows, which meant
that the *_complete events were often counted twice. This makes
properly measuring things almost impossible.

New nomenclature:

  • In the initiating tab, when the action completes, transition from
    confirm_* to *_confirmed.
  • In the verification tab, when the action completes, transition from
    verify_email|(complete_reset_password|complete_signin) to (signin|signup|reset_password)_verified`

I would also like to make the following changes in a future PR:

  • verify_email => verify_signup
  • complete_signin => verify_signin
  • complete_reset_password => verify_reset_password

These changes would make the nomenclature consistent.

fixes #4242

@shane-tomlinson
Copy link
Member Author

@shane-tomlinson shane-tomlinson commented Oct 20, 2016

ref #4307

`(signin|signup|reset_password)_complete` screens were shown in both the
initiating tab and the verification tab of these flows, which meant
that the `*_complete` events were often counted twice. This makes
properly measuring things almost impossible.

New nomenclature:

* In the initiating tab, when the action completes, transition from
`confirm_*` to `*_confirmed`.
* In the verification tab, when the action completes, transition from
`verify_email|(complete_reset_password|complete_signin) to
`(signin|signup|reset_password)_verified`

I would also like to make the following changes in a future PR:
* `verify_email` => `verify_signup`
* `complete_signin` => `verify_signin`
* `complete_reset_password` => `verify_reset_password`

These changes would make the nomenclature consistent.

fixes #4242
@shane-tomlinson shane-tomlinson force-pushed the shane-tomlinson/issue-4242-stop-double-count-complete branch from 152f07a to 1be8ce9 Oct 20, 2016
@philbooth philbooth self-assigned this Oct 27, 2016
@philbooth
Copy link
Contributor

@philbooth philbooth commented Oct 28, 2016

LGTM! 👍

@philbooth philbooth merged commit c4ab494 into master Oct 28, 2016
4 checks passed
4 checks passed
ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 98.772%
Details
@philbooth philbooth deleted the shane-tomlinson/issue-4242-stop-double-count-complete branch Oct 28, 2016
@rfk rfk added this to the FxA-0: quality milestone Nov 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

3 participants