Skip to content

Feature/7675 social login analytics - #8028

Merged
aerych merged 5 commits into
developfrom
feature/7675-social-login-analytics
Oct 23, 2017
Merged

Feature/7675 social login analytics#8028
aerych merged 5 commits into
developfrom
feature/7675-social-login-analytics

Conversation

@aerych

@aerych aerych commented Oct 23, 2017

Copy link
Copy Markdown
Contributor

Refs #7675
Adds social login analytics. These are the same as Calypso except for the following:

  • "login_social_2fa_needed"
  • "login_social_accounts_need_connecting"
  • "login_social_error_unknown_user"

To test:
Test social login.
Ensure that each analytic is being bumped as intended.

Needs review: @nheagy

@aerych aerych added the Login label Oct 23, 2017
@aerych aerych added this to the 8.7 milestone Oct 23, 2017
@aerych
aerych requested a review from nheagy October 23, 2017 02:25

@nheagy nheagy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, depending on your answer to my question about tracking failures by dismissing Google.

:shipit: if that's as intended

if let err = error {
WPAppAnalytics.track(.loginSocialButtonFailure, error: err)
} else {
WPAppAnalytics.track(.loginSocialButtonFailure)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will track a failure by dismissing either the permission alert or Google login screens. Is that intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is. The documentation of the corresponding event on the web mentions that it tracks just dismissing the popup modal. I wired it this way for consistency.

@aerych

aerych commented Oct 23, 2017

Copy link
Copy Markdown
Contributor Author

Thanks Nate!

@aerych
aerych merged commit f327d41 into develop Oct 23, 2017
@aerych
aerych deleted the feature/7675-social-login-analytics branch October 23, 2017 13:56
@nheagy nheagy mentioned this pull request Oct 23, 2017
17 tasks
@wordpress-mobile wordpress-mobile deleted a comment from apsist025350 Oct 31, 2017
@wordpress-mobile wordpress-mobile deleted a comment from apsist025350 Oct 31, 2017
@wordpress-mobile wordpress-mobile deleted a comment from apsist025350 Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants