onSearchEvent

The onSearchEvent method collects data when an application user searches within the application.

This method accepts both the search term and the result.