首页个播埋点
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#import "XPMacro.h"
|
||||
///View
|
||||
#import "XPHomeLiveRecordCell.h"
|
||||
#import "StatisticsServiceHelper.h"
|
||||
|
||||
@interface XPHomeLiveHeadView()<UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout>
|
||||
|
||||
@@ -93,6 +94,7 @@
|
||||
if (self.roomList.count > 0) {
|
||||
HomeRecommendRoomModel * liveModel = [self.roomList objectAtIndex:indexPath.item];
|
||||
if (self.delegate && [self.delegate respondsToSelector:@selector(xPHomeLiveHeadViewDidClickItem:)]) {
|
||||
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventRecent_card_click eventAttributes:@{@"roomUid" : liveModel.uid}];
|
||||
[self.delegate xPHomeLiveHeadViewDidClickItem:liveModel];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user