node/doc
Phillip Johnsen 4b83a83c06
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>
2017-03-08 17:29:51 -08:00
..
api doc: fix typo in http.md 2017-03-08 17:29:39 -08:00
api_assets tools,doc: add Google Analytics tracking. 2017-03-08 17:29:51 -08:00
guides doc: improve testing guide 2017-03-08 17:29:33 -08:00
topics doc: minor fixes event-loop-timers-and-nexttick.md 2016-12-20 14:31:45 -05:00
full-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-21 13:07:01 -07:00
node.1 doc: make node(1) more consistent with tradition 2016-11-22 14:27:44 +08:00
onboarding-extras.md doc: add who to CC list for dgram 2017-03-08 17:29:39 -08:00
onboarding.md doc: add personal pronouns option 2017-03-08 17:29:36 -08:00
osx_installer_logo.png build: update Node.js logo on OSX installer 2016-03-21 13:07:07 -07:00
releases.md doc: add commit formats for release blog posts 2016-10-26 14:09:11 -04:00
STYLE_GUIDE.md doc: change STYLE-GUIDE to STYLE_GUIDE 2017-03-08 17:29:26 -08:00
template.html tools,doc: add Google Analytics tracking. 2017-03-08 17:29:51 -08:00
thin-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-21 13:07:01 -07:00