
- Removed YuMi/Library/ (138 MB, not tracked) - Removed YuMi/Resources/ (23 MB, not tracked) - Removed old version assets (566 files, not tracked) - Excluded Pods/, xcuserdata/ and other build artifacts - Clean repository optimized for company server deployment
57 lines
1.1 KiB
Objective-C
57 lines
1.1 KiB
Objective-C
//
|
|
// StatisticsService.m
|
|
// YUMI
|
|
//
|
|
// Created by YUMI on 2021/9/27.
|
|
//
|
|
|
|
#import "StatisticsService.h"
|
|
|
|
@implementation StatisticsService
|
|
|
|
|
|
/// 埋点数据 不带参数的
|
|
/// @param event key
|
|
/// @param describe 描述
|
|
+ (void)trackEvent:(NSString *)event eventDescribe:(NSString *)describe {
|
|
if (event == nil || event.length == 0) {
|
|
return;
|
|
}
|
|
|
|
[self trackEvent:event eventDescribe:describe eventAttributes:nil];
|
|
}
|
|
|
|
|
|
/// 埋点的 代参数的
|
|
/// @param event key
|
|
/// @param describe 描述
|
|
/// @param attributes 参数
|
|
+ (void)trackEvent:(NSString *)event eventDescribe:(NSString *)describe eventAttributes:(nullable NSDictionary *)attributes {
|
|
if (event == nil || event.length == 0) {
|
|
return;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
/// 统计时长的 开始
|
|
/// @param event key
|
|
/// @param describe 描述
|
|
+ (void)trackEvent:(NSString *)event eventStart:(NSString *)describe {
|
|
if (event == nil || event.length == 0) {
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
/// 统计时长 结束
|
|
/// @param event key
|
|
/// @param describe 描述
|
|
+ (void)trackEvent:(NSString *)event eventEnd:(NSString *)describe {
|
|
if (event == nil || event.length == 0){
|
|
return;
|
|
}
|
|
}
|
|
|
|
@end
|