Skip to content

Commit e080703

Browse files
committed
updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent fbce3da commit e080703

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

website/layouts/partials/footer.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,5 @@
3838
};
3939
</script> -->
4040
<script async defer id="github-bjs" src="//buttons.github.io/buttons.js"></script>
41-
{{ template "_internal/google_analytics_async.html" . }}
4241
<script src="https://cdn.labstack.com/scripts/prism.js"></script>
4342
<script src="https://cdn.labstack.com/scripts/doc.js"></script>

website/layouts/partials/head.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,12 @@
2525
<link rel="stylesheet" href="https://cdn.labstack.com/styles/base.css">
2626
<link rel="stylesheet" href="https://cdn.labstack.com/styles/doc.css">
2727
<link rel="stylesheet" href="{{ .Site.BaseURL }}/styles/main.css">
28+
<script>
29+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
30+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
31+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
32+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
33+
ga('create', 'UA-85059636-2', 'auto');
34+
ga('send', 'pageview');
35+
</script>
2836
</head>

0 commit comments

Comments
 (0)