Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add interaction tracking around Element Web VoIP #116

Merged
merged 3 commits into from
Oct 31, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,21 @@ data class Interaction(
* onboarding page in Element Web/Desktop.
*/
WebUserOnboardingTaskSetupProfile("WebUserOnboardingTaskSetupProfile"),

/**
* The user chose the Element Call option.
*/
WebVoipOptionElementCall("WebVoipOptionElementCall"),

/**
* The user chose the Jitsi call option.
*/
WebVoipOptionJitsi("WebVoipOptionJitsi"),

/**
* The user chose the legacy call option.
*/
WebVoipOptionLegacy("WebVoipOptionLegacy"),
}

enum class InteractionType(val rawValue: String) {
Expand Down
3 changes: 3 additions & 0 deletions schemas/Interaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
{"const": "WebUserOnboardingTaskEnableNotifications", "description": "User clicked on the action of the enable notifications task on the new user onboarding page in Element Web/Desktop." },
{"const": "WebRoomListUserOnboardingButton", "description": "User clicked on the button to return to the user onboarding list in the room list in Element Web/Desktop." },
{"const": "WebRoomListUserOnboardingIgnoreButton", "description": "User clicked on the button to close the user onboarding button in the room list in Element Web/Desktop." },
{"const": "WebVoipOptionLegacy", "description": "The user chose the legacy call option."},
{"const": "WebVoipOptionJitsi", "description": "The user chose the Jitsi call option."},
{"const": "WebVoipOptionElementCall", "description": "The user chose the Element Call option."},

{"const": "PinnedMessageBannerClick", "description": "User clicked on the pinned message banner on Mobile and Element Web/Desktop." },
{"const": "PinnedMessageBannerViewAllButton", "description": "User clicked on the View all button in the pinned message banner on Mobile and Element Web/Desktop." },
Expand Down
6 changes: 6 additions & 0 deletions types/swift/Interaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ extension AnalyticsEvent {
case WebUserOnboardingTaskSendDm = "WebUserOnboardingTaskSendDm"
/// User clicked on the action of the your profile task on the new user onboarding page in Element Web/Desktop.
case WebUserOnboardingTaskSetupProfile = "WebUserOnboardingTaskSetupProfile"
/// The user chose the Element Call option.
case WebVoipOptionElementCall = "WebVoipOptionElementCall"
/// The user chose the Jitsi call option.
case WebVoipOptionJitsi = "WebVoipOptionJitsi"
/// The user chose the legacy call option.
case WebVoipOptionLegacy = "WebVoipOptionLegacy"
}

public enum InteractionType: String {
Expand Down
Loading