Commit 85fb9ab6 authored by wangjun's avatar wangjun

Phobs给PV事件方法修改参数

parent 0f46e5bc
......@@ -277,7 +277,7 @@ static NSString *sdkVersion = @"110";
//目前来说,变成了空方法,其主要功能是给当前VC的属性赋值,下个版本优化,挪到UIViewController+Phobos里去
}
- (void)onPageEnd:(NSString *)pageName businessId:(NSString *)businessId referer:(NSString *)refererPageName inTime:(NSString *)time{
- (void)onPageEnd:(NSString *)pageName businessId:(NSString *)businessId referer:(NSString *)refererPageName inTime:(NSString *)time referrerId: (NSString *)referrerId {
if (![self isNonEmpty:pageName]) {
return;
}
......@@ -290,6 +290,7 @@ static NSString *sdkVersion = @"110";
[dict setObject:businessId?:@"" forKey:@"business_id"];
[dict setObject:refererPageName?:@"" forKey:@"referer"];
[dict setObject:@(0) forKey:@"fake"];
[dict setObject:referrerId ? : @"" forKey:@"referrer_id"];
[Phobos track:@"page_view" attributes:dict];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment