diff --git a/src/template.html b/src/template.html index 3006079..18bafa9 100644 --- a/src/template.html +++ b/src/template.html @@ -11,6 +11,14 @@ <link rel='icon' type='image/png' href='favicon.png'> %sapper.styles% %sapper.head% + <!-- Global site tag (gtag.js) - Google Analytics --> + <script async src="https://www.googletagmanager.com/gtag/js?id=UA-175013738-1"></script> + <script>window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'UA-175013738-1'); + </script> </head> <body> <div id='hydrate'>%sapper.html%</div>