Explorar o código

Restore Google Analytics tracking code

Andrea Franceschini %!s(int64=3) %!d(string=hai) anos
pai
achega
a566a151f8
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      pages/_footer.php

+ 10 - 0
pages/_footer.php

@@ -27,6 +27,16 @@
 			</div>
 			</div>
 		</div>
 		</div>
 	</footer>
 	</footer>
+
+	<!-- Global site tag (gtag.js) - Google Analytics -->
+	<script async src="https://www.googletagmanager.com/gtag/js?id=UA-1176762-5"></script>
+	<script>
+	window.dataLayer = window.dataLayer || [];
+	function gtag(){dataLayer.push(arguments);}
+	gtag('js', new Date());
+
+	gtag('config', 'UA-1176762-5');
+	</script>
 </body>
 </body>
 
 
 </html>
 </html>