Skip to content

Commit

Permalink
chore: gtm script 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
dmswl98 committed Apr 3, 2024
1 parent 1806ca9 commit 9ebeadc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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 @@ -18,6 +18,7 @@ const App = ({ Component, pageProps }: AppProps) => {
<Toast />
<Modal />
<GoogleAnalytics gaId="G-FE8WVNGY6S" />
<GoogleTagManager gtmId="GTM-PM2S7Q2N" />
</TanstackQueryProvider>
</>
);
Expand Down

0 comments on commit 9ebeadc

Please sign in to comment.