添加埋点

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

@@ -173,6 +173,16 @@
- (void)kb_handleShopTapAtIndexPath:(NSIndexPath *)indexPath {
KBShopThemeModel *selTheme = (indexPath.item < self.dataSource.count) ? self.dataSource[indexPath.item] : nil;
NSMutableDictionary *extra = [NSMutableDictionary dictionary];
if ([selTheme.themeId isKindOfClass:NSString.class] && selTheme.themeId.length > 0) {
extra[@"theme_id"] = selTheme.themeId;
}
extra[@"index"] = @(indexPath.item);
[[KBMaiPointReporter sharedReporter] reportClickWithEventName:@"click_shop_theme_card"
pageId:@"shop_item_list"
elementId:@"theme_card"
extra:extra.copy
completion:nil];
KBSkinDetailVC *vc = [[KBSkinDetailVC alloc] init];
vc.themeId = selTheme.themeId;
[self.navigationController pushViewController:vc animated:true];