trackViewSearch

This event is triggered when a user views a search results screen.

🚧

Important

If you are not running a search abandonment series with Wunderkind - ViewSearch should be replaced with ViewCategory.

Please pass the corresponding search's URL for optimal performance. If not available, the default home webpage URL can be passed instead.

Implementation

productCategory = new ProductCategory(url: URL, title: string, itemids: List[String])
Wunderkind.getInstance().trackViewSearch(productCategory)
let productCategory = ProductCategory(url: URL, title: string, itemids: [string])
Wunderkind.shared.trackViewSearch(productCategory)
var productCategory = ProductCategory(url: URL, title: string, itemids: [string])
Wunderkind().trackViewSearch(productCategory)
let productCategory = new ProductCategory(url: URL, title: string, itemids: List[String])
Wunderkind.trackViewSearch(productCategory)