From e2af3223131957e48871b09307c856f717d9d7b5 Mon Sep 17 00:00:00 2001 From: Matthew McClure Date: Tue, 31 Oct 2017 11:12:14 -0700 Subject: [PATCH] chore: add GA note to primary readme (#4481) --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e080c3000a..4e3270597c 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,24 @@ Thanks to the awesome folks over at [Fastly][fastly], there's a free, CDN hosted ``` - > For the latest version of video.js and URLs to use, check out the [Getting Started][getting-started] page on our website. +> In the `vjs.zencdn.net` CDN-hosted versions of Video.js we include a [stripped down Google Analytics pixel](https://github.com/videojs/cdn/blob/master/src/analytics.js) that tracks a random sampling (currently 1%) of players loaded from the CDN. This allows us to see (roughly) what browsers are in use in the wild, along with other useful metrics such as OS and device. If you'd like to disable analytics, you can simply include the following global before including Video.js via the free CDN: +> +> ```html +> +> ``` +> Alternatively, you can include Video.js by getting it from [npm](http://videojs.com/getting-started/#download-npm), downloading from [GitHub releases](https://github.com/videojs/video.js/releases) or by including it via [unpkg](https://unpkg.com) or another JavaScript CDN like CDNjs. These releases *do not* include Google Analytics tracking at all. +> ```html +> +> +>