trackBrowseResultClick

fun trackBrowseResultClick(    filterName: String,     filterValue: String,     customerId: String,     resultPositionOnPage: Int,     sectionName: String? = null,     resultID: String? = null,     analyticsTags: Map<String, String>? = null)

Tracks browse result click events.

Example:

ConstructorIo.trackBrowseResultClick("Category", "Snacks", "7654321-BA", "4", "Products", "179b8a0e-3799-4a31-be87-127b06871de2")

Parameters

filterName

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

filterValue

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

customerId

the item identifier of the clicked item i.e "PUMP-KAB-0002"

resultPositionOnPage

the position of the clicked item on the page i.e. 4

sectionName

the section that the results came from, i.e. "Products"

resultID

the result ID of the browse response that the selection came from

analyticsTags

Additional analytics tags to pass


fun trackBrowseResultClick(    filterName: String,     filterValue: String,     customerId: String,     variationId: String,     resultPositionOnPage: Int,     sectionName: String? = null,     resultID: String? = null,     analyticsTags: Map<String, String>? = null)

Tracks browse result click events.

Example:

ConstructorIo.trackBrowseResultClick("Category", "Snacks", "7654321-BA", "7654321-BA-RED", "4", "Products", "179b8a0e-3799-4a31-be87-127b06871de2")

Parameters

filterName

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

filterValue

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

customerId

the item identifier of the clicked item i.e "PUMP-KAB-0002"

variationId

the variation identifier of the clicked item variation i.e "PUMP-KAB-0002-RED"

resultPositionOnPage

the position of the clicked item on the page i.e. 4

sectionName

the section that the results came from, i.e. "Products"

resultID

the result ID of the browse response that the selection came from

analyticsTags

Additional analytics tags to pass