Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions WordPressAuthenticator/NUX/NUXLinkAuthViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class NUXLinkAuthViewController: LoginViewController {
if let linkSource = loginFields.meta.emailMagicLinkSource {
switch linkSource {
case .signup:
// This stat is part of a funnel that provides critical information. Before
// making ANY modification to this stat please refer to: p4qSXL-35X-p2
WordPressAuthenticator.track(.createdAccount, properties: ["source": "email"])
WordPressAuthenticator.track(.signupMagicLinkSucceeded)
case .login:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ class LoginPrologueViewController: LoginViewController {
}

private func signupTapped() {
// This stat is part of a funnel that provides critical information. Before
// making ANY modification to this stat please refer to: p4qSXL-35X-p2
WordPressAuthenticator.track(.signupButtonTapped)
performSegue(withIdentifier: NUXViewController.SegueIdentifier.showSignupMethod.rawValue, sender: self)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ private extension SignupGoogleViewController {
/// Social Signup Successful: Analytics + Pushing the Signup Epilogue.
///
func socialSignupWasSuccessful(with credentials: AuthenticatorCredentials) {
// This stat is part of a funnel that provides critical information. Before
// making ANY modification to this stat please refer to: p4qSXL-35X-p2
WordPressAuthenticator.track(.createdAccount, properties: ["source": "google"])
WordPressAuthenticator.track(.signupSocialSuccess)

Expand Down