From 2be9489f77f70c876bdf48426d1aa66165aacdb4 Mon Sep 17 00:00:00 2001 From: Photogrammer <81505228+JuneParkCode@users.noreply.github.com> Date: Sat, 7 Oct 2023 00:56:10 +0900 Subject: [PATCH] =?UTF-8?q?[fix]:=20gtag=20=EC=A3=BC=EC=9E=85=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20(#252)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 42manito/env.sample | 4 ++-- 42manito/src/pages/_app.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/42manito/env.sample b/42manito/env.sample index 1c945ee6..cb03f089 100644 --- a/42manito/env.sample +++ b/42manito/env.sample @@ -1,2 +1,2 @@ -NEXT_PUBLIC_GA_ID="" -NEXT_PUBLIC_DEV_URL="https://api.dev.42manito.com" \ No newline at end of file +NEXT_PUBLIC_DEV_URL="https://api.dev.42manito.com" +NEXT_PUBLIC_GA_ID="G-LJC872ZRN3" \ No newline at end of file diff --git a/42manito/src/pages/_app.tsx b/42manito/src/pages/_app.tsx index b85f71b0..78afe7b1 100644 --- a/42manito/src/pages/_app.tsx +++ b/42manito/src/pages/_app.tsx @@ -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}'); `}