1

analytics?

This commit is contained in:
Evan Pratten 2019-06-17 19:53:20 -04:00
parent 55b4e4aed9
commit 56dcc11298
2 changed files with 17 additions and 1 deletions

View File

@ -13,6 +13,9 @@ zip_code:
country:
phone:
# Google analytics
analytic_track: UA-74118570-2
# homepage tiles
tiles-source: posts # accepts "posts" or "pages"
tiles-count: 6

View File

@ -43,4 +43,17 @@
<script src="{{ " assets/js/skel.min.js " | absolute_url }}"></script>
<script src="{{ " assets/js/util.js " | absolute_url }}"></script>
<!--[if lte IE 8]><script src="{{ "assets/js/ie/respond.min.js" | absolute_url }}"></script><![endif]-->
<script src="{{ " assets/js/main.js " | absolute_url }}"></script>
<script src="{{ " assets/js/main.js " | absolute_url }}"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytic_track }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '{{ site.analytic_track }}');
</script>