trackAutocompleteSelect

fun trackAutocompleteSelect(    searchTerm: String,     originalQuery: String,     sectionName: String,     resultGroup: ResultGroup? = null,     resultID: String? = null)

Tracks autocomplete select events.

Example:

ConstructorIo.trackAutocompleteSelect("toothpicks", "tooth", "Search Suggestions")

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