analytics?
This commit is contained in:
parent
55b4e4aed9
commit
56dcc11298
@ -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
|
||||
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user