贵族埋点
This commit is contained in:
@@ -20,6 +20,13 @@ UIKIT_EXTERN NSString *const StatisticsServiceEventLoginQQClick;///QQ登录
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventLoginWXClick;///wx登录
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventLoginRepariSuccess;///注册个人资料保存成功
|
||||
|
||||
#pragma mark - 贵族
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventVipOpenClick;///开通贵族点击
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventvipEntranceRoomClick;///贵族房间入口点击
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventvipEntranceGiftClick;///贵族礼物面板入口点击
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventvipEntranceFaceClick;///贵族表情面板入口点击
|
||||
UIKIT_EXTERN NSString *const StatisticsServiceEventvipEntranceMeClick;///贵族我的页面入口点击
|
||||
///
|
||||
/// 埋点事件
|
||||
/// @param eventKey key
|
||||
+ (void)trackEventWithKey:(NSString *)eventKey;
|
||||
|
@@ -17,6 +17,12 @@ NSString *const StatisticsServiceEventLoginPhoneClick = @"login_phone_click";
|
||||
NSString *const StatisticsServiceEventLoginQQClick = @"login_qq_click";///QQ登录
|
||||
NSString *const StatisticsServiceEventLoginWXClick = @"login_wx_click";///wx登录
|
||||
NSString *const StatisticsServiceEventLoginRepariSuccess = @"login_repari_success";///注册个人资料保存成功
|
||||
#pragma mark - 贵族
|
||||
NSString *const StatisticsServiceEventVipOpenClick = @"vip_open_click";///开通贵族点击
|
||||
NSString *const StatisticsServiceEventvipEntranceRoomClick = @"vip_entrance_room_click";///贵族房间入口点击
|
||||
NSString *const StatisticsServiceEventvipEntranceGiftClick = @"vip_entrance_gift_click";///贵族礼物面板入口点击
|
||||
NSString *const StatisticsServiceEventvipEntranceFaceClick = @"vip_entrance_face_click";///贵族表情面板入口点击
|
||||
NSString *const StatisticsServiceEventvipEntranceMeClick = @"vip_entrance_me_click";///贵族我的页面入口点击
|
||||
|
||||
/// 埋点事件
|
||||
/// @param eventKey key
|
||||
@@ -53,8 +59,12 @@ NSString *const StatisticsServiceEventLoginRepariSuccess = @"login_repari_succes
|
||||
StatisticsServiceEventLoginPhoneClick:@"手机登录",
|
||||
StatisticsServiceEventLoginQQClick:@"qq登录",
|
||||
StatisticsServiceEventLoginWXClick:@"微信登录",
|
||||
StatisticsServiceEventLoginRepariSuccess:@"注册时候的个人资料保存成功"
|
||||
|
||||
StatisticsServiceEventLoginRepariSuccess:@"注册时候的个人资料保存成功",
|
||||
StatisticsServiceEventVipOpenClick:@"开通贵族点击",
|
||||
StatisticsServiceEventvipEntranceRoomClick:@"贵族房间入口点击",
|
||||
StatisticsServiceEventvipEntranceGiftClick:@"贵族礼物面板入口点击",
|
||||
StatisticsServiceEventvipEntranceFaceClick:@"贵族表情面板入口点击",
|
||||
StatisticsServiceEventvipEntranceMeClick:@"贵族我的页面入口点击"
|
||||
};
|
||||
NSString * decription = [dic objectForKey:StatisticsServiceEventAppLaunch];
|
||||
return decription;
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#import "UIImage+Utils.h"
|
||||
#import "XPHtmlUrl.h"
|
||||
#import "TTPopup.h"
|
||||
#import "StatisticsServiceHelper.h"
|
||||
///View
|
||||
#import "XPNobleCenterListViewController.h"
|
||||
#import "XPNobleCenterNavView.h"
|
||||
@@ -331,6 +332,7 @@
|
||||
#pragma mark - events
|
||||
- (void)onOpenNobleButtonClick:(UIButton *)button {
|
||||
[self showLoading];
|
||||
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventVipOpenClick];
|
||||
RechargeListModel *rechargeModel = [self.rechargeModel.list lookin_safeObjectAtIndex:0];
|
||||
[self.presenter requestNobleIAPRechargeOrderWithChargeProdId:rechargeModel.chargeProdId];
|
||||
}
|
||||
|
@@ -13,6 +13,7 @@
|
||||
#import "XPMacro.h"
|
||||
#import "XPHtmlUrl.h"
|
||||
#import "UIButton+EnlargeTouchArea.h"
|
||||
#import "StatisticsServiceHelper.h"
|
||||
///Model
|
||||
#import "XPMineItemModel.h"
|
||||
#import "UserInfoModel.h"
|
||||
@@ -274,6 +275,7 @@
|
||||
}
|
||||
|
||||
- (void)xPMineHeadViewCliekNobleCenter {
|
||||
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventvipEntranceMeClick];
|
||||
[self pushViewControllerWithType:XPMineItemType_Noble_Center];
|
||||
}
|
||||
|
||||
|
@@ -15,6 +15,7 @@
|
||||
#import "TTPopup.h"
|
||||
#import "ThemeColor+SendGift.h"
|
||||
#import "XCHUDTool.h"
|
||||
#import "StatisticsServiceHelper.h"
|
||||
///Model
|
||||
#import "GiftInfoModel.h"
|
||||
#import "XPGiftCountModel.h"
|
||||
@@ -316,6 +317,7 @@
|
||||
|
||||
- (void)xPGiftInfoViewDidClickNobleEntrance:(XPGiftInfoView *)view {
|
||||
[TTPopup dismiss];
|
||||
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventvipEntranceGiftClick];
|
||||
XPNobleCenterViewController * nobleVC = [[XPNobleCenterViewController alloc] initWithRoomUid:self.delegate.getRoomInfo.uid];
|
||||
[self.delegate.getCurrentNav pushViewController:nobleVC animated:YES];
|
||||
}
|
||||
|
@@ -13,6 +13,7 @@
|
||||
#import "TTPopup.h"
|
||||
#import "RtcManager.h"
|
||||
#import "XCHudTool.h"
|
||||
#import "StatisticsServiceHelper.h"
|
||||
///Model
|
||||
#import "XPRoomMenuItem.h"
|
||||
#import "MicroQueueModel.h"
|
||||
@@ -145,6 +146,7 @@
|
||||
}
|
||||
break;
|
||||
case XPRoomMenuItemType_Noble: {
|
||||
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventvipEntranceRoomClick];
|
||||
XPNobleCenterViewController * nobleVC = [[XPNobleCenterViewController alloc] initWithRoomUid:self.delegate.getRoomInfo.uid];
|
||||
[self.delegate.getCurrentNav pushViewController:nobleVC animated:YES];
|
||||
}
|
||||
|
Reference in New Issue
Block a user