Implement analytics for threads

This commit is contained in:
ismailgulek
2022-02-28 17:46:57 +03:00
parent 53588b7910
commit 3f1f75f7ce
2 changed files with 10 additions and 0 deletions
+4
View File
@@ -4321,6 +4321,8 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
- (void)roomDataSource:(RoomDataSource *)roomDataSource didTapThread:(id<MXThreadProtocol>)thread
{
[self openThreadWithId:thread.id];
[Analytics.shared trackInteraction:AnalyticsUIElementRoomThreadSummaryItem];
}
#pragma mark - Segues
@@ -4646,6 +4648,8 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
threadId:nil];
self.threadsBridgePresenter.delegate = self;
[self.threadsBridgePresenter pushFrom:self.navigationController animated:YES];
[Analytics.shared trackInteraction:AnalyticsUIElementRoomThreadListButton];
}
- (IBAction)onIntegrationsPressed:(id)sender