mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Send the Signup analytics event (#6118)
* Implement the Signup event from AuthenticationViewController. Use AuthenticationFlow instead of MXKAuthenticationType. Create new AuthenticationType that aligns with AnalyticsEvent naming. Add additional cases from AnalyticsEvents.
This commit is contained in:
@@ -226,6 +226,13 @@ extension Analytics {
|
||||
client.updateUserProperties(userProperties)
|
||||
}
|
||||
|
||||
/// Track the registration of a new user.
|
||||
/// - Parameter authenticationType: The type of authentication that was used.
|
||||
func trackSignup(authenticationType: AnalyticsEvent.Signup.AuthenticationType) {
|
||||
let event = AnalyticsEvent.Signup(authenticationType: authenticationType)
|
||||
capture(event: event)
|
||||
}
|
||||
|
||||
/// Track the presentation of a screen
|
||||
/// - Parameters:
|
||||
/// - screen: The screen that was shown.
|
||||
|
||||
Reference in New Issue
Block a user