PyzeCommerceDiscovery

@interface PyzeCommerceDiscovery : PyzeCustomEvent

PyzeCommerceDiscovery

Subclass of PyzeCustomEvent used to post the details of events related to Discovery of a item in particular category.

Since

v3.0.5
  • Post the search details, latency value with details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postSearched:(nonnull NSString *)searchString
             withLatency:(nonnull NSNumber *)latency
          withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postSearched(_ searchString: String, withLatency latency: NSNumber, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    searchString

    Search string used

    latency

    Latency to complete the operation.

    attributes

    Additional custom attributes app would like to share with server.

  • Post browsed category details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postBrowsedCategory:(nonnull NSString *)category
                 withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postBrowsedCategory(_ category: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    category

    Category name

    attributes

    Additional custom attributes app would like to share with server.

  • Post browsed deal details

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postBrowsedDeals:(nonnull NSString *)uniqueDealID
              withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postBrowsedDeals(_ uniqueDealID: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    uniqueDealID

    Unique deal identification string/number.

    attributes

    Additional custom attributes app would like to share with server.

  • Post browsed recommendation details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postBrowsedRecommendations:(nonnull NSString *)uniqueRecommendationID
                        withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postBrowsedRecommendations(_ uniqueRecommendationID: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    uniqueRecommendationID

    uniqueRecommendationID containing a string/number.

    attributes

    Additional custom attributes app would like to share with server.

  • Post browsed previous order details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postBrowsedPrevOrders:(nonnull NSString *)rangeStart
                          withEnd:(nonnull NSString *)rangeEnd
                   withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postBrowsedPrevOrders(_ rangeStart: String, withEnd rangeEnd: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    rangeStart

    Starting range of the order browsed.

    rangeEnd

    Ending range of the order browsed.

    attributes

    Additional custom attributes app would like to share with server.