Closed Bug 1008247 Opened 10 years ago Closed 10 years ago

Track current sign-in success and failure rates

Categories

(Webmaker Graveyard :: Login, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jon, Assigned: jon)

References

Details

(Whiteboard: [login3][2014Q2])

Attachments

(2 files)

Before we implement a new sign-in system, we should get stats from our current sign-in system.

Adam has proposed a series of GA events and page views to allow us to track this:

- Add an event when a user cancels the Persona prompt (failure)
- Add an event when a user is successfully signed in (success)
- Add a page view when the "create new user" modal is shown
- Add an event when a user closes the "create new user" modal (failure)
- Add an event when a user successfully creates their account (success)

There's some code in webmaker.org that already does this (in https://github.com/mozilla/webmaker.org/blob/c6b591e438d1e023da8ad293030f614b6c06c8f0/public/js/base/login.js#L48-L65 ), so we should extract it from their, and push it into webmaker-auth-client ( https://github.com/mozilla/webmaker-auth-client ) so every site gets the sign-in analytics.
Assignee: nobody → jon
Status: NEW → ASSIGNED
Whiteboard: [login3] → [login3][2014Q2]
Attachment #8422082 - Flags: review?
I think some more work could be done here, but it's a good start
Attachment #8422121 - Flags: review?
Comment on attachment 8422121 [details]
https://github.com/mozilla/webmaker-auth-client/pull/21

Hey Adam, would you mind looking at this patch and letting me know if it does the trick for naming events?

I haven't added the track page view when the create new user dialog pops up yet.
Attachment #8422121 - Flags: feedback?(adam)
Comment on attachment 8422121 [details]
https://github.com/mozilla/webmaker-auth-client/pull/21

The naming convention there makes perfect sense to me. Thanks.
Attachment #8422121 - Flags: feedback?(adam) → feedback+
Depends on: 1010729
I've added Bug 1010729 as a blocker for tracking the virtual pageview.
Attachment #8422121 - Flags: review? → review+
Attachment #8422082 - Flags: review? → review+
We have events on staging!

http://dl.dropbox.com/u/4403845/Screenshots/fc.png
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: