switch tracking

This commit is contained in:
Luke Berndt
2023-02-14 22:13:03 -05:00
parent 143490d93e
commit 49ddc64a30
2 changed files with 3 additions and 3 deletions

View File

@@ -4,12 +4,12 @@ import { useLocation } from "react-router-dom";
export const usePageTracking = () => {
const location = useLocation();
/*
useEffect(() => {
window.gtag("event", "page_view", {
page_path: location.pathname + location.search + location.hash,
page_search: location.search,
page_hash: location.hash,
});
}, [location]);
}, [location]);*/
};