Skip to content

Commit 80de78b

Browse files
authored
chore: add analytics to docs
1 parent cf6016d commit 80de78b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.utility/generate_html.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ function New-TableOfContents($path)
3434
Write-Output "<li><a href=`"$htmlPath`">$relPath</a><br /></li>"
3535
}
3636
Write-Output " </ul>
37+
<script>
38+
(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){
39+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
40+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
41+
})(window,document,"script","//www.google-analytics.com/analytics.js","ga");
42+
ga("create", "UA-59827755-34", "auto");
43+
ga("send", "pageview");
44+
</script>
3745
</div>
3846
</body>
3947
</html>"

0 commit comments

Comments
 (0)