X\choro 11 meses atrás
pai
commit
b47a1d629c
1 arquivos alterados com 10 adições e 0 exclusões
  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>