소스 검색

no message

X\choro 11 달 전
부모
커밋
b47a1d629c
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      Views/Shared/_Layout.cshtml

+ 10 - 0
Views/Shared/_Layout.cshtml

@@ -22,6 +22,16 @@
     <link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
 
     @await RenderSectionAsync("Styles", required: false)
+
+    <!-- Google tag (gtag.js) -->
+    <script async src="https://www.googletagmanager.com/gtag/js?id=G-BC9G6W4RSN"></script>
+    <script>
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+
+        gtag('config', 'G-BC9G6W4RSN');
+    </script>
 </head>
 <body>