添加埋点
This commit is contained in:
@@ -164,6 +164,11 @@
|
||||
#pragma mark - Actions
|
||||
- (void)onTapBuyAction {
|
||||
// if (self.onTapBuy) { self.onTapBuy(); }
|
||||
[[KBMaiPointReporter sharedReporter] reportClickWithEventName:@"click_home_buy_vip_btn"
|
||||
pageId:@"home_main"
|
||||
elementId:@"buy_vip_btn"
|
||||
extra:nil
|
||||
completion:nil];
|
||||
// 未登录时先跳到登录页;登录后才允许进入会员购买页
|
||||
if (![KBUserSessionManager shared].isLoggedIn) {
|
||||
[[KBUserSessionManager shared] goLoginVC];
|
||||
|
||||
@@ -48,15 +48,15 @@
|
||||
|
||||
KBWeakSelf
|
||||
self.keyPermissButton.clickDragViewBlock = ^(WMDragView *dragView){
|
||||
[[KBMaiPointReporter sharedReporter] reportClickWithEventName:@"click_home_permission_float_btn"
|
||||
pageId:@"home_main"
|
||||
elementId:@"permission_float_btn"
|
||||
extra:nil
|
||||
completion:nil];
|
||||
KBGuideVC *vc = [KBGuideVC new];
|
||||
[weakSelf.navigationController pushViewController:vc animated:true];
|
||||
};
|
||||
|
||||
|
||||
[[KBMaiPointReporter sharedReporter] reportGenericDataWithEventType:KBMaiPointGenericReportTypePage account:@"123" completion:^(BOOL success, NSError * _Nullable error) {
|
||||
NSLog(@"===");
|
||||
}];
|
||||
|
||||
|
||||
// 测试groups
|
||||
// NSUserDefaults *sharedDefaults = [[NSUserDefaults alloc] initWithSuiteName:AppGroup];
|
||||
// // 写入一个简单字符串
|
||||
|
||||
Reference in New Issue
Block a user