首页个播埋点
This commit is contained in:
@@ -26,6 +26,12 @@ UIKIT_EXTERN NSString *const StatisticsServiceEventvipEntranceRoomClick;///贵
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventvipEntranceGiftClick;///贵族礼物面板入口点击
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventvipEntranceFaceClick;///贵族表情面板入口点击
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventvipEntranceMeClick;///贵族我的页面入口点击
|
||||
|
||||
#pragma mark - 首页个播tab
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventRecent_card_show;///最近在看卡片曝光
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventRecent_card_click;///最近在看卡片点击
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventGebo_tab_click;///个播页二级tab分类点击
|
||||
|
||||
///
|
||||
/// 埋点事件
|
||||
/// @param eventKey key
|
||||
|
@@ -23,6 +23,10 @@ NSString *const StatisticsServiceEventvipEntranceRoomClick = @"vip_entrance_room
|
||||
NSString *const StatisticsServiceEventvipEntranceGiftClick = @"vip_entrance_gift_click";///贵族礼物面板入口点击
|
||||
NSString *const StatisticsServiceEventvipEntranceFaceClick = @"vip_entrance_face_click";///贵族表情面板入口点击
|
||||
NSString *const StatisticsServiceEventvipEntranceMeClick = @"vip_entrance_me_click";///贵族我的页面入口点击
|
||||
#pragma mark - 首页直播模块
|
||||
NSString *const StatisticsServiceEventRecent_card_show = @"recent_card_show";///最近在看卡片曝光
|
||||
NSString *const StatisticsServiceEventRecent_card_click = @"recent_card_click";///最近在看卡片点击
|
||||
NSString *const StatisticsServiceEventGebo_tab_click = @"gebo_tab_click";///个播页二级tab分类点击
|
||||
|
||||
/// 埋点事件
|
||||
/// @param eventKey key
|
||||
|
@@ -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];
|
||||
}
|
||||
}
|
||||
|
@@ -17,6 +17,7 @@
|
||||
#import "XPMacro.h"
|
||||
#import "ThemeColor.h"
|
||||
#import "XPHtmlUrl.h"
|
||||
#import "StatisticsServiceHelper.h"
|
||||
///Model
|
||||
#import "HomeLiveTagModel.h"
|
||||
#import "HomeLiveLookRecordModel.h"
|
||||
@@ -175,7 +176,8 @@ UIKIT_EXTERN NSString * kHomeMoreScrollPageKey;
|
||||
}
|
||||
|
||||
- (void)categoryView:(JXCategoryBaseView *)categoryView didSelectedItemAtIndex:(NSInteger)index {
|
||||
// HomeLiveTagModel *tag = self.tagList[index];
|
||||
HomeLiveTagModel *tag = self.tagList[index];
|
||||
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventGebo_tab_click eventAttributes:@{@"geboTagName" : tag.sortName}];
|
||||
// [self.presenter getHomeMoreAnchorRoomListWithTabId:tag.tid];
|
||||
// if ([title isEqualToString:@"开黑畅聊"]) {
|
||||
// [self.presenter getPlayGameWithTeam:1];
|
||||
|
@@ -17,6 +17,7 @@
|
||||
#import "Api+Room.h"
|
||||
#import "AccountInfoStorage.h"
|
||||
#import "TTPopup.h"
|
||||
#import "StatisticsServiceHelper.h"
|
||||
///View
|
||||
#import "XPHomeNavView.h"
|
||||
#import "XPHomeRecommendViewController.h"
|
||||
@@ -107,9 +108,9 @@ UIKIT_EXTERN NSString *kHomeMoreScrollPageKey;
|
||||
}
|
||||
|
||||
- (void)categoryView:(JXCategoryBaseView *)categoryView didSelectedItemAtIndex:(NSInteger)index {
|
||||
// if (index == 2) {
|
||||
// self.anchorRoomListVC.isAnchor = YES;
|
||||
// }
|
||||
if (index == 2) {
|
||||
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventRecent_card_click];
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - XPHoneNavViewDelegate
|
||||
|
Reference in New Issue
Block a user