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:
Doug
2022-05-06 13:08:54 +01:00
committed by GitHub
parent 3bce3c5bc0
commit 769ab02818
21 changed files with 232 additions and 54 deletions
@@ -39,6 +39,11 @@ import AnalyticsEvents
case inCall
case spaceMenu
case spaceSettings
case roomPreview
case permalink
case linkShare
case exploreRooms
case spaceMembers
var trigger: AnalyticsEvent.ViewRoom.Trigger? {
switch self {
@@ -84,6 +89,16 @@ import AnalyticsEvents
return .MobileSpaceMenu
case .spaceSettings:
return .MobileSpaceSettings
case .roomPreview:
return .MobileRoomPreview
case .permalink:
return .MobilePermalink
case .linkShare:
return .MobileLinkShare
case .exploreRooms:
return .MobileExploreRooms
case .spaceMembers:
return .MobileSpaceMembers
}
}
}