Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Johnsen <johphi@gmail.com>2017-01-25 23:54:34 +0300
committerPhillip Johnsen <johphi@gmail.com>2017-01-25 23:54:34 +0300
commit01b90ee1db9276d6c1af0e6e0352fd4759ebb68d (patch)
tree4cc05f5854b0b9f1ff4c4b4c84ccddf8eb5e1b66 /doc/template.html
parent124d155f5ec22568c740d4a465f4496cda44deb6 (diff)
tools,doc: add Google Analytics tracking.
Adds Google Analytics tracking script to all doc pages when `DOCS_ANALYTICS` is set when running `make`: ```bash $ DOCS_ANALYTICS=<GOOGLE ANALYTICS ID> make ``` By default (when `DOCS_ANALYTICS` is not set), no tracking scripts are included. It respects "Do Not Track" settings end users might have in their browser. Also changes make target `doc-upload` from depending on the `$(TARBALL)` target, to only depend on `doc` directly. PR-URL: https://github.com/nodejs/node/pull/6601 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'doc/template.html')
-rw-r--r--doc/template.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/template.html b/doc/template.html
index af680645d15..572197beff4 100644
--- a/doc/template.html
+++ b/doc/template.html
@@ -45,5 +45,6 @@
<script src="assets/sh_main.js"></script>
<script src="assets/sh_javascript.min.js"></script>
<script>highlight(undefined, undefined, 'pre');</script>
+ <!-- __TRACKING__ -->
</body>
</html>