Skip to content

Commit

Permalink
[Chore/BAR-284] Google Tag Manager 설정 (#103)
Browse files Browse the repository at this point in the history
* chore: gtm script 설정

* chore: ga id 변경
  • Loading branch information
dmswl98 authored Apr 5, 2024
1 parent 1806ca9 commit ead3e0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Modal from '@components/Modal';
import TanstackQueryProvider from '@components/Providers/TanstackQueryProvider';
import SEO from '@components/SEO';
import Toast from '@components/Toast';
import { GoogleAnalytics } from '@next/third-parties/google';
import { GoogleAnalytics, GoogleTagManager } from '@next/third-parties/google';

const App = ({ Component, pageProps }: AppProps) => {
return (
Expand All @@ -17,7 +17,8 @@ const App = ({ Component, pageProps }: AppProps) => {
<Component {...pageProps} />
<Toast />
<Modal />
<GoogleAnalytics gaId="G-FE8WVNGY6S" />
<GoogleAnalytics gaId="G-ZERTH34CXV" />
<GoogleTagManager gtmId="GTM-PM2S7Q2N" />
</TanstackQueryProvider>
</>
);
Expand Down

0 comments on commit ead3e0c

Please sign in to comment.