Skip to content

Commit c13b07a

Browse files
committed
add google analytics script
1 parent f8189d8 commit c13b07a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

web/views/layout.pug

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ html
1313
script(src!=lunette, type="text/javascript")
1414
script(type="text/javascript").
1515
alter(document, {style:'#{filter}'});
16+
script(type="text/javascript").
17+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
18+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
19+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
20+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
21+
ga('create', 'UA-17123283-1', 'auto');
22+
ga('send', 'pageview');
23+
1624

1725
#hon-provisu-sidebox
1826
ul

0 commit comments

Comments
 (0)