Skip to content

Commit

Permalink
Remove: GA
Browse files Browse the repository at this point in the history
  • Loading branch information
hookor authored and cuconveniencestore committed Jun 3, 2024
1 parent ab27472 commit eb8b679
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 36 deletions.
17 changes: 4 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
href="https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.woff2" />
<link
rel="preload"
href="/png/coffee_mainimg.png" />
as="image"
href="/png/coffee_mainimg.png"
srcset="/png/coffee_mainimg.png 120w"
sizes="(min-width: 360px) 120px, (max-width: 500px) 120px" />
<link
rel="preconnect"
href="https://ddocker.kro.kr" />
Expand Down Expand Up @@ -181,18 +184,6 @@
rel="apple-touch-startup-image"
href="./public/assets/apple-splash-1136-640.jpg"
media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" />

<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-HXVP19S89G"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-HXVP19S89G');
</script>
</head>
<body>
<script>
Expand Down
19 changes: 0 additions & 19 deletions src/hooks/google/useTrackRoute.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/pages/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,16 @@ import {
StartPageHeight,
RegisterPageHeight
} from '@/styles/styles';
import useTrackRoute from '@/hooks/google/useTrackRoute';
import { useFetchSSE } from '@/hooks/notification/useFetchSSE';

const Header = lazy(() => import('../components/common/Header'));
const Footer = lazy(() => import('../components/common/Footer'));

let PagesHeight;

const { PROD } = import.meta.env;

const Layout = () => {
useFetchSSE();

PROD && useTrackRoute();
const { pathname } = useLocation();
const footerState = useRecoilValue(footerShowState);
const searchPredi = pathname.startsWith('/search');
Expand Down

0 comments on commit eb8b679

Please sign in to comment.