UAAnalytics Class Reference
Inherits from | NSObject |
Declared in | UAAnalytics.h |
Tasks
-
conversionSendID
property -
conversionRichPushID
property -
sessionID
property -
oldestEventTime
property -
enabled
property -
– addEvent:
-
– associateDeviceIdentifiers:
-
– handleNotification:inApplicationState:
-
– lastSendTime
-
– trackScreen:
Properties
conversionRichPushID
The conversion rich push ID.
@property (nonatomic, copy, readonly, nullable) NSString *conversionRichPushID
Declared In
UAAnalytics.h
conversionSendID
The conversion send ID.
@property (nonatomic, copy, readonly, nullable) NSString *conversionSendID
Declared In
UAAnalytics.h
enabled
Analytics enable flag. Disabling analytics will delete any locally stored events and prevent any events from uploading. Features that depend on analytics being enabled may not work properly if it’s disabled (reports, region triggers, location segmentation, push to local time).
@property (nonatomic, assign, getter=isEnabled) BOOL enabled
Discussion
Note: This property will always return NO
if analytics is disabled in
UAConfig.
Declared In
UAAnalytics.h
Instance Methods
addEvent:
Triggers an analytics event.
- (void)addEvent:(UAEvent *)event
Parameters
- event
The event to be triggered
Declared In
UAAnalytics.h
associateDeviceIdentifiers:
Associates identifiers with the device. This call will add a special event that will be batched and sent up with our other analytics events. Previous associated identifiers will be replaced.
- (void)associateDeviceIdentifiers:(UAAssociatedIdentifiers *)associatedIdentifiers
Parameters
- associatedIdentifiers
The associated identifiers.
Declared In
UAAnalytics.h
handleNotification:inApplicationState:
Handle incoming push notifications.
- (void)handleNotification:(NSDictionary *)userInfo inApplicationState:(UIApplicationState)applicationState
Parameters
- userInfo
The notification as an NSDictionary.
- applicationState
The application state at the time the notification was received.
Declared In
UAAnalytics.h