From 56bb753a6038b0e012ff4f9a9785a733187f1fb9 Mon Sep 17 00:00:00 2001 From: aldemirLucas Date: Thu, 21 Nov 2024 12:46:22 -0300 Subject: [PATCH] fix: add trigger serach in menu --- next/components/molecules/Menu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/next/components/molecules/Menu.js b/next/components/molecules/Menu.js index 68785164..edcba69c 100644 --- a/next/components/molecules/Menu.js +++ b/next/components/molecules/Menu.js @@ -586,6 +586,7 @@ function SearchInputUser ({ user }) { function openSearchLink() { if(search.trim() === "") return + triggerGAEvent("search", search.trim()) triggerGAEvent("search_menu", search.trim()) router.push(`/search?q=${search.trim()}`); }