添加埋点
This commit is contained in:
@@ -120,6 +120,13 @@ static NSString * const kResultCellId = @"KBSkinCardCell";
|
||||
KBSearchThemeModel *model = self.resultItems[indexPath.item];
|
||||
NSString *themeId = [model.themeId stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
|
||||
if (themeId.length == 0) { return; }
|
||||
NSDictionary *extra = @{@"theme_id": themeId,
|
||||
@"index": @(indexPath.item)};
|
||||
[[KBMaiPointReporter sharedReporter] reportClickWithEventName:@"click_search_result_theme"
|
||||
pageId:@"search_result"
|
||||
elementId:@"result_theme_card"
|
||||
extra:extra
|
||||
completion:nil];
|
||||
KBSkinDetailVC *vc = [[KBSkinDetailVC alloc] init];
|
||||
vc.themeId = themeId;
|
||||
[self.navigationController pushViewController:vc animated:YES];
|
||||
|
||||
Reference in New Issue
Block a user