trackSearchResultsLoaded

fun trackSearchResultsLoaded(    term: String,     resultCount: Int,     customerIds: Array<String>? = null,     analyticsTags: Map<String, String>? = null)

Parameters

term

the term that results are displayed for, i.e. "Pumpkin"

resultCount

the number of results for that term

customerIds

the customerIds of shown items

analyticsTags

Additional analytics tags to pass


fun trackSearchResultsLoaded(    term: String,     resultCount: Int,     items: Array<TrackingItem>,     analyticsTags: Map<String, String>? = null)

Tracks search results loaded (a.k.a. search results viewed) events.

Example:

ConstructorIo.trackSearchResultsLoaded("tooth", 789, arrayOf(TrackingItem("1234", "2345", "camp1234", "owner-A"))

Parameters

term

the term that results are displayed for, i.e. "Pumpkin"

resultCount

the number of results for that term

items

the list of items shown

analyticsTags

Additional analytics tags to pass