Skip to content

Commit

Permalink
[fix]: gtag 주입 오류 (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuneParkCode authored Oct 6, 2023
1 parent ae49aa7 commit 2be9489
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 42manito/env.sample
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NEXT_PUBLIC_GA_ID=""
NEXT_PUBLIC_DEV_URL="https://api.dev.42manito.com"
NEXT_PUBLIC_DEV_URL="https://api.dev.42manito.com"
NEXT_PUBLIC_GA_ID="G-LJC872ZRN3"
2 changes: 1 addition & 1 deletion 42manito/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function App({ Component, pageProps }: AppProps) {
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '${process.env.NEXT_PUBLIC_GA_ID}}');
gtag('config', '${process.env.NEXT_PUBLIC_GA_ID}');
`}
</Script>
<Head>
Expand Down

0 comments on commit 2be9489

Please sign in to comment.