Inherits from NSObject
Declared in BVAnalytics.h
BVAnalytics.m

Overview

BVAnalytics is a singleton object which queues, batches, and handles analytics event requests.

Class Methods

instance

Static accessor method.

+ (BVAnalytics *)instance

Declared In

BVAnalytics.h

Instance Methods

queueAnalyticsEventForResponse:forRequest:

Add an analytics event for the event queue. The events are queued up so that they can be sent off in a batched request to save network traffic. Queue flushing is also delayed and set on a background thread to minimize any interferance with more important network traffic.

- (void)queueAnalyticsEventForResponse:(id)response forRequest:(id)sender

Parameters

response

JSON-deserialized response from the Bazaarvoice API.

sender

The BVSDK class that created the network request. Ex: BVGet, BVPost, etc.

Declared In

BVAnalytics.h