提交了一部分统计的内容

This commit is contained in:
fengshuo
2021-09-27 20:16:27 +08:00
parent 2b6b0e29ce
commit 54fee4527a
5 changed files with 37 additions and 2 deletions

View File

@@ -11,6 +11,12 @@
@implementation StatisticsServiceHelper
NSString *const StatisticsServiceEventAppLaunch = @"app_launch";
#pragma mark -
NSString *const StatisticsServiceEventOneClickLoginSuccess = @"one_click_login_succeed";
NSString *const StatisticsServiceEventLoginPhoneClick = @"login_phone_click";
NSString *const StatisticsServiceEventLoginQQClick = @"login_qq_click";///QQ
NSString *const StatisticsServiceEventLoginWXClick = @"login_wx_click";///wx
NSString *const StatisticsServiceEventLoginRepariSuccess = @"login_repari_success";///
///
/// @param eventKey key
@@ -43,6 +49,12 @@ NSString *const StatisticsServiceEventAppLaunch = @"app_launch";
+ (NSString *)getTrackEventDescripWithKey:(NSString *)key {
NSDictionary * dic = @{
StatisticsServiceEventAppLaunch:@"应用启动",
StatisticsServiceEventOneClickLoginSuccess:@"一键登录成功",
StatisticsServiceEventLoginPhoneClick:@"手机登录",
StatisticsServiceEventLoginQQClick:@"qq登录",
StatisticsServiceEventLoginWXClick:@"微信登录",
StatisticsServiceEventLoginRepariSuccess:@"注册时候的个人资料保存成功"
};
NSString * decription = [dic objectForKey:StatisticsServiceEventAppLaunch];
return decription;