1
0
mirror of https://github.com/bitwarden/docs synced 2025-12-06 01:33:19 +00:00

add ga to swagger ui page

This commit is contained in:
Kyle Spearrin
2019-02-28 15:45:12 -05:00
parent 98479b9c33
commit 4ad41ace67
2 changed files with 12 additions and 1 deletions

View File

@@ -75,6 +75,17 @@
});
}
</script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-81915606-21', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

View File

@@ -4,7 +4,7 @@
"scripts": {
"build": "jekyll build",
"build:watch": "jekyll serve --watch --host=0.0.0.0",
"deploy": "gh-pages --dotfiles --dist _site"
"deploy": "npm run build && gh-pages --dotfiles --dist _site"
},
"devDependencies": {
"gh-pages": "^1.2.0"