createRecommendationEvent static method

Future createRecommendationEvent(
  1. String storeId,
  2. String action,
  3. List<String> itemIds
)

Registers a recommendation event for the given store ID, action and item IDs.

  • storeId: The ID of the content store.
  • action: The action performed. Actions can be view, click, recommendation_view, entrypage, shoppingcart, order.
  • itemIds: A list of item IDs involved in the action. Returns a Future<dynamic> that completes when the operation is done.

Implementation

static Future<dynamic> createRecommendationEvent(
  String storeId,
  String action,
  List<String> itemIds,
) {
  return BlueConicPlatform.instance.createRecommendationEvent(
    storeId,
    action,
    itemIds,
  );
}