测试测试 | ✓ |
Lang语言 | Obj-CObjective C |
许可协议 | MIT |
Released最后发布 | 2014年12月 |
由Javier Berlana 维护。
Boredboss 是一个用于衡量应用指标的移动分析 SaaS。
该项目使用 AppleDocs 语法进行文档。以下是摘要:
此方法将使用给定的项目令牌为您设置一个 BoredBoss
类的单例实例。当您需要在代码的其他部分调用 BoredBoss 时,您可以使用 sharedInstance
。
+ (BoredBoss *)sharedInstanceWithClient:(NSString *)client
andApiKey:(NSString *)apiKey;
+ (BoredBoss *)sharedInstanceWithClient:(NSString *)client
andApiKey:(NSString *)apiKey
launchOptions:(NSDictionary *)launchOptions;
跟踪一个带有可选属性的事件。属性将允许您在 BoredBoss 报告中对您的事件进行分段。
- (void)track:(NSString *)event;
- (void)track:(NSString *)event properties:(NSDictionary *)properties;
注册超属性后,将自动将它们作为属性发送到所有事件跟踪调用。
- (void)registerSuperProperties:(NSDictionary *)properties;
开始一个计时器,当跟踪对应的身份时,该定时器将被停止并作为属性添加。
- (void)timeEvent:(NSString *)event;
设置当前用户的唯一 ID。对于跟踪事件,如果您想使用默认值,则不需要调用 identify:
。
- (void)identify:(NSString *)distinctId;
在 BoredBoss 中设置并增加当前用户的属性。
- (void)setUserProperty:(NSString *)property value:(id)value;
- (void)increment:(NSString *)property by:(NSNumber *)amount;
Javier Berlana,[email protected]
BoredBoss 适用于 MIT 许可协议。有关更多信息,请参阅 LICENSE 文件。