Skip to content

Commit 26c6298

Browse files
committed
..
1 parent 88a2aee commit 26c6298

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

website/src/components/custom-search/CustomSearchBar.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ const CustomSearchBar = () => {
5252
setSearchType(type);
5353

5454
if (ExecutionEnvironment.canUseDOM && typeof window.analytics !== 'undefined') {
55-
const eventName = type === 'ai' ? 'Ask AI Button Click' : 'Search Button Click';
56-
55+
const eventName = type === 'ai' ? 'Docs Ask AI Click' : 'Docs Search Button Click';
5756
window.analytics.track(eventName, {
5857
searchType: type,
5958
page: window.location.pathname,

0 commit comments

Comments
 (0)