Add Google Analytics

This commit is contained in:
Siroco 2019-02-03 01:07:46 +01:00
parent 3d5412d741
commit 276ebc948f

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<title i18n>Industria Paisaia . Irizar</title>
<title i18n>Industria Paisaia</title>
<base href="/">
<meta name="description" content="Industria Paisaia">
@ -10,8 +10,17 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
<!-- Global site tag (gtag.js) - Google Analytics -->
</head>
<body>
<app-root></app-root>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-17688134-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-17688134-4');
</script>
</body>
</html>