createRecommendationEvent

abstract fun createRecommendationEvent(storeId: String, action: String, itemIds: List<String>, callback: Callback? = null)

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

Parameters

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.

callback

The callback function containing information about the operation.