track Autocomplete Select
fun trackAutocompleteSelect( searchTerm: String, originalQuery: String, sectionName: String, resultGroup: ResultGroup? = null, resultID: String? = null)
Content copied to clipboard
Tracks autocomplete select events.
Example:
ConstructorIo.trackAutocompleteSelect("toothpicks", "tooth", "Search Suggestions")
Content copied to clipboard
Parameters
search Term
the term selected, i.e. "Pumpkin"
original Query
the term in the search bar, i.e. "Pum"
section Name
the section the selection came from, i.e. "Search Suggestions"
result Group
the group to search within if a user selected to search in a group, i.e. "Pumpkin in Canned Goods"
result ID
the result ID of the autocomplete response that the selection came from