track Search Result Click
fun trackSearchResultClick( itemName: String, customerId: String, searchTerm: String = Constants.QueryConstants.TERM_UNKNOWN, sectionName: String? = null, resultID: String? = null)
Content copied to clipboard
Tracks search result click events.
Example:
ConstructorIo.trackSearchResultClick("Fashionable Toothpicks", "1234567-AB", "tooth", "Products", "179b8a0e-3799-4a31-be87-127b06871de2")
Content copied to clipboard
Parameters
item Name
the name of the clicked item i.e. "Kabocha Pumpkin"
customer Id
the identifier of the clicked item i.e "PUMP-KAB-0002"
search Term
the term that results are displayed for, i.e. "Pumpkin"
section Name
the section that the results came from, i.e. "Products"
result ID
the result ID of the search response that the click came from
fun trackSearchResultClick( itemName: String, customerId: String, variationId: String?, searchTerm: String = Constants.QueryConstants.TERM_UNKNOWN, sectionName: String? = null, resultID: String? = null)
Content copied to clipboard
Tracks search result click events.
Example:
ConstructorIo.trackSearchResultClick("Fashionable Toothpicks", "1234567-AB", "1234567-AB-RED", "tooth", "Products", "179b8a0e-3799-4a31-be87-127b06871de2")
Content copied to clipboard
Parameters
item Name
the name of the clicked item i.e. "Kabocha Pumpkin"
customer Id
the identifier of the clicked item i.e "PUMP-KAB-0002"
variation Id
the variation identifier of the clicked item variation i.e "PUMP-KAB-0002-RED"
search Term
the term that results are displayed for, i.e. "Pumpkin"
section Name
the section that the results came from, i.e. "Products"
result ID
the result ID of the search response that the click came from