trackBrowseResultsLoaded

fun trackBrowseResultsLoaded(    filterName: String,     filterValue: String,     itemIds: Array<String>,     resultCount: Int,     sectionName: String? = null,     url: String = "Not Available",     analyticsTags: Map<String, String>? = null)

Tracks browse result loaded (a.k.a. browse results viewed) events.

Example:

ConstructorIo.trackBrowseResultsLoaded("Category", "Snacks", arrayOf("123", "234"), 674)

Parameters

filterName

the name of the primary filter, i.e. "Aisle"

filterValue

the value of the primary filter, i.e. "Produce"

itemIds

the item ids of the displayed items

resultCount

the number of results for that filter name/value pair

analyticsTags

Additional analytics tags to pass


fun trackBrowseResultsLoaded(    filterName: String,     filterValue: String,     resultCount: Int,     sectionName: String? = null,     url: String = "Not Available",     analyticsTags: Map<String, String>? = null)

Tracks browse result loaded (a.k.a. browse results viewed) events.

Example:

ConstructorIo.trackBrowseResultsLoaded("Category", "Snacks", 674)

Parameters

filterName

the name of the primary filter, i.e. "Aisle"

filterValue

the value of the primary filter, i.e. "Produce"

resultCount

the number of results for that filter name/value pair

analyticsTags

Additional analytics tags to pass