From fe34cf442ca0a97cb9f915157fc72fa97ab97c7f Mon Sep 17 00:00:00 2001 From: Przemek Wiech Date: Sun, 24 Mar 2019 23:49:52 +0100 Subject: [PATCH] Send analytics events for search usage --- src/top_bar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/top_bar.tsx b/src/top_bar.tsx index 3a0e3bd..63a558d 100644 --- a/src/top_bar.tsx +++ b/src/top_bar.tsx @@ -163,6 +163,7 @@ export class TopBar extends React.Component< /** On search result selected. */ handleResultSelect(id: string) { + analyticsEvent('search_result_selected'); this.props.onSelection({id, generation: 0}); this.searchRef!.setValue(''); }