添加埋点

This commit is contained in:
2026-01-06 19:25:34 +08:00
parent 1096f24c57
commit c3909d63da
30 changed files with 784 additions and 39 deletions

View File

@@ -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];