Conforms to NSObject
Declared in PRXReporting.h

Overview

The PRXReportingManager protocol is adopted by the shared reporting manager.

Instance Methods

reportTriggerEvent:triggerID:

Reports a trigger event for a given trigger based on the provided event type.

- (void)reportTriggerEvent:(PRXTriggerEventType)eventType triggerID:(NSString *)triggerID

Parameters

eventType

The type of event to report on.

triggerID

The unique ID of the PRXTrigger that the event is related to.

Discussion

An event could potentially fail to be reported on, this could be down to the application not currently being authenticated with TapPoint. This would be output in the log. If this is the case, you should authenticate with TapPoint using the shared authentication manager found in the PRXAuthentication class.

Declared In

PRXReporting.h

reportTriggerEvent:triggerID:externalEventReference:

Reports a trigger event for a given trigger based on the provided event type.

- (void)reportTriggerEvent:(PRXTriggerEventType)eventType triggerID:(NSString *)triggerID externalEventReference:(NSString *)extEventRef

Parameters

eventType

The type of event to report on.

triggerID

The unique ID of the PRXTrigger that the event is related to.

extEventRef

A user defined external event reference to be attached to the event.

Discussion

An event could potentially fail to be reported on, this could be down to the application not currently being authenticated with TapPoint. This would be output in the log. If this is the case, you should authenticate with TapPoint using the shared authentication manager found in the PRXAuthentication class.

Declared In

PRXReporting.h

reportUserEvent:customProperties:

Reports a user event with the provided name and properies.

- (void)reportUserEvent:(NSString *)eventName customProperties:(NSDictionary *)customProperties

Parameters

eventName

The name of the event to report.

customProperties

A user defined set of properties to be attached to the event.

Discussion

An event could potentially fail to be reported on, this could be down to the application not currently being authenticated with TapPoint. This would be output in the log. If this is the case, you should authenticate with TapPoint using the shared authentication manager found in the PRXAuthentication class.

Declared In

PRXReporting.h

setExternalUserReference:

Ensures all subsequent reporting events will be associated with a unique user reference.

- (void)setExternalUserReference:(NSString *)extUserRef

Parameters

extUserRef

The external user reference to associate with all reporting events. By providing nil or empty, you are indicating that any existing user reference will be cleared and all subsequent reporting events will not be associated with a user.

Declared In

PRXReporting.h