mirror of
https://github.com/bitwarden/docs
synced 2026-01-03 16:53:12 +00:00
migrate api docs to main website path
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
<body>
|
||||
{{content}}
|
||||
|
||||
{% if jekyll.environment == "production" %}
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
|
||||
@@ -27,7 +28,7 @@
|
||||
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('create', 'UA-81915606-4', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
function gaEvent(action) {
|
||||
@@ -38,6 +39,13 @@
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{% else %}
|
||||
<script>
|
||||
function gaEvent(action) {
|
||||
// do nothing
|
||||
}
|
||||
</script>
|
||||
{% endif %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user