MESSENGER-4795 add matomo event names

This commit is contained in:
JanNiklas Grabowski
2023-06-26 12:19:39 +02:00
parent 137d6f878f
commit ab75b9aba0
3 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -8225,7 +8225,7 @@ static CGSize kThreadListBarButtonItemImageSize;
[BWIAnalyticsHelper getRoomDeviceCountWithRoom:self.roomDataSource.room completion:^(NSInteger deviceCount) {
NSString *deviceCountString = [BWIAnalyticsHelper dimensionForDeviceCount: deviceCount];
NSNumber *durationInSeconds = [NSNumber numberWithInteger:(duration / 1000)];
[BWIAnalytics.sharedTracker trackEventWithDimensionWithCategory:@"Feature" action:@"SendVoiceMessage" dimension:deviceCountString value:durationInSeconds name:nil];
[BWIAnalytics.sharedTracker trackEventWithDimensionWithCategory:@"Feature" action:@"SendVoiceMessage" dimension:deviceCountString value:durationInSeconds name:@"send_voice_message_default"];
}];
}