aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2018-03-20 15:58:48 +0100
committerMaximilian Hils <git@maximilianhils.com>2018-03-20 15:58:48 +0100
commit885d3d5da4b7bd115bc06d9fc73a5199c0b827fc (patch)
tree442c3ae9cbfaed6052edf20027d2b7eef8103e61
parent7c66c4eb16d74aca179e022b9e3136eea2b5bd4a (diff)
downloadmitmproxy-885d3d5da4b7bd115bc06d9fc73a5199c0b827fc.tar.gz
mitmproxy-885d3d5da4b7bd115bc06d9fc73a5199c0b827fc.tar.bz2
mitmproxy-885d3d5da4b7bd115bc06d9fc73a5199c0b827fc.zip
add google analytics
-rw-r--r--docs/src/config.toml1
-rw-r--r--docs/src/themes/mitmproxydocs/layouts/partials/footer.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/src/config.toml b/docs/src/config.toml
index c9cecd8b..ee2b9224 100644
--- a/docs/src/config.toml
+++ b/docs/src/config.toml
@@ -4,6 +4,7 @@ title = "mitmproxy.org docs"
theme = "mitmproxydocs"
publishDir = "../public"
RelativeURLs = true
+googleAnalytics = "UA-4150636"
[indexes]
tag = "tags"
diff --git a/docs/src/themes/mitmproxydocs/layouts/partials/footer.html b/docs/src/themes/mitmproxydocs/layouts/partials/footer.html
index 308b1d01..dc9ddc85 100644
--- a/docs/src/themes/mitmproxydocs/layouts/partials/footer.html
+++ b/docs/src/themes/mitmproxydocs/layouts/partials/footer.html
@@ -1,2 +1,3 @@
+{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>