trackAutocompleteSelect
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
searchTerm
the term selected, i.e. "Pumpkin"
originalQuery
the term in the search bar, i.e. "Pum"
sectionName
the section the selection came from, i.e. "Search Suggestions"
resultGroup
the group to search within if a user selected to search in a group, i.e. "Pumpkin in Canned Goods"
resultID
the result ID of the autocomplete response that the selection came from