BVConversionEvent Class Reference

Inherits from BVBasePIIEvent : NSObject
Conforms to BVAnalyticEvent
Declared in BVConversionEvent.h

Overview

Known as a non-eCommerce conversion, this analytic event should be performed when an action such as the following takes place:

• Registering a user • Signing up for a subscription (paid or free) • Downloading trial software, a whitepaper, or something else. This presumably will predispose people to progress in the sales funnel • Requesting more information • Using a feature of an application • Anything else that can be unambiguously counted by a computer and that you want users to do

– initWithType:value:label:otherParams:

Required - The type of conversion that is taking place.

- (nonnull id)initWithType:(nonnull NSString *)type value:(nonnull NSString *)value label:(nullable NSString *)label otherParams:(nullable NSDictionary *)params

Parameters

type

Required - The type of conversion that is taking place.

value

Required - The total amount of the order.

label

Optional - A descriptive label to apply to the conversion.

params

Optional - Used to define any other conversion parameters such as user email.

Return Value

the event object that can be used to submit to Bazaarvoice via the BVPixel API.

Declared In

BVConversionEvent.h

– __unavailable

- (nonnull instancetype)__unavailable

– toRawNonPII

Creates a raw dictionary event that removes any possibly personally identifiable information. These events are fine to send with IDFA.

- (nonnull NSDictionary *)toRawNonPII

Return Value

The fully created event that can be sent to Bazaarvoice Analytics.

Declared In

BVConversionEvent.h

  type

The type of conversion that is taking place.

@property (nonnull, nonatomic, strong, readonly) NSString *type

Declared In

BVConversionEvent.h

  value

The total amount of the order.

@property (nonnull, nonatomic, strong, readonly) NSString *value

Declared In

BVConversionEvent.h

  label

A descriptive label to apply to the conversion.

@property (nonnull, nonatomic, strong, readonly) NSString *label

Declared In

BVConversionEvent.h