参数没理解是什么意思?
1、anonymizeIp :
2、sampleRate :不关是英文还是中文翻译都没明白 它说的是什么意思方法:
1、 - (BOOL)dispatchSynchronous:(NSTimeInterval)timeout 
 这个方法有什么作用?
2、- (BOOL)trackEvent:(NSString *)category
            action:(NSString *)action
             label:(NSString *)label
             value:(NSInteger)value
         withError:(NSError **)error;
 这个要怎么设置要追踪事件的 “分类”和“动作”?(两个都是NSString怎么设置追踪的是哪个事件)
3、- (BOOL)trackPageview:(NSString *)pageURL
            withError:(NSError **)error;
这个不明白要怎么在app中决定某个viewController作用一页,是要在想追踪的viewController类中使用并将pageURL设为相应的类名吗?网上的资料太少,没办法,麻烦知道给说说啊就剩39分了

解决方案 »

  1.   

    怎么没人呢?急死了
    1、anonymizeIp :这个参数还没理解是怎么回事。官方注释是这样的:
    // If the anonymizeIp flag is set, the SDK will anonymize information sent to
    // Google Analytics by setting the last octet of the IP address to zero prior
    // to its storage and/or submission.
    // By default, the anonymizeIp flag is disabled.
      

  2.   

    anonymizeIp  是跟踪统计的时候不跟踪具体ip地址. 方法是将目标ip地址的最后一位改写为0.