We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88a2aee commit 26c6298Copy full SHA for 26c6298
website/src/components/custom-search/CustomSearchBar.jsx
@@ -52,8 +52,7 @@ const CustomSearchBar = () => {
52
setSearchType(type);
53
54
if (ExecutionEnvironment.canUseDOM && typeof window.analytics !== 'undefined') {
55
- const eventName = type === 'ai' ? 'Ask AI Button Click' : 'Search Button Click';
56
-
+ const eventName = type === 'ai' ? 'Docs Ask AI Click' : 'Docs Search Button Click';
57
window.analytics.track(eventName, {
58
searchType: type,
59
page: window.location.pathname,
0 commit comments