trackSearchSubmit

fun trackSearchSubmit(    searchTerm: String,     originalQuery: String,     resultGroup: ResultGroup?)

Tracks search submit events.

Example:

ConstructorIo.trackSearchSubmit("toothpicks", "tooth")

Parameters

searchTerm

the term selected, i.e. "Pumpkin"

originalQuery

the term in the search bar, i.e. "Pum"

resultGroup

the group to search within if a user elected to search in a group, i.e. "Pumpkin in Canned Goods"