Skip to content

search: Add telemetry to search history in query input

Warren Gifford requested to merge fkling/40297-seach-history-telemetry into main

Created by: fkling

Closes #40297 (closed)

This was easier than I thought...

Test plan

  • Enable simple UI
  • Focus search input and select a search history entry
  • Browser network tools should show a call to graphql?LogEvent with a request content similar to this (I removed irrelevant data):
{
	"query": "[...]",
	"variables": {
		"events": [{
			"event": "SearchHistoryAutcompleteSuggestionClicked",
			"argument": "{\"index\":2}",
			[...]
		}]
	}
}

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading