Skip to content

Commit

Permalink
Merge branch 'react-ga4' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramin Farhadi authored and Ramin Farhadi committed Jul 24, 2024
2 parents bb924df + 3e0a7ce commit 5cf5587
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/SearchResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@ export default function SearchResults(props: SearchResultsProps) {
}, [searchQuery, 500])

useEffect(() => {
ReactGA.set({});
ReactGA.event({
category: "map_search",
action: "search",
label: `${debouncedSearchQuery}`,
});
},[debouncedSearchQuery])


return (
<div className='search-control-wrapper rounded'>
<div className='input-group'>
Expand Down

0 comments on commit 5cf5587

Please sign in to comment.