forked from orta/ARAnalytics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ARAnalyticalProvider.m
40 lines (30 loc) · 1.17 KB
/
ARAnalyticalProvider.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// ARAnalyticalProvider.h
// Art.sy
//
// Created by orta therox on 18/12/2012.
// Copyright (c) 2012 Art.sy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ARAnalyticalProvider.h"
@implementation ARAnalyticalProvider
- (id)initWithIdentifier:(NSString *)identifier {
self = [super init];
return self;
}
/// Set a per user property
- (void)identifyUserwithID:(NSString *)id andEmailAddress:(NSString *)email {}
- (void)setUserProperty:(NSString *)property toValue:(NSString *)value {}
/// Submit user events
- (void)event:(NSString *)event withProperties:(NSDictionary *)properties {}
- (void)incrementUserProperty:(NSString *)counterName byInt:(NSNumber *)amount {}
/// Monitor Navigation changes as page view
- (void)monitorNavigationViewController:(UINavigationController *)controller {}
- (void)logTimingEvent:(NSString *)event withInterval:(NSNumber *)interval {
[self event:event withProperties:@{ @"length": interval }];
}
- (void)didShowNewViewController:(UIViewController *)controller {
[self event:@"Screen view" withProperties:@{ @"screen": controller.title }];
}
- (void)remoteLog:(NSString *)parsedString {}
@end