Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GA note to primary readme #4481

Merged
merged 5 commits into from
Oct 31, 2017
Merged

Conversation

mmcc
Copy link
Member

@mmcc mmcc commented Jul 12, 2017

We already added a similar note to the getting started guide on the website, so it should probably be here too for the folks that don't make it off Github.

@mmcc mmcc force-pushed the mmcc/google-analytics-note branch from 8b937a4 to 0003588 Compare July 12, 2017 19:09
README.md Outdated
> For the latest version of video.js and URLs to use, check out the [Getting Started][getting-started] page on our website.

> 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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be extra explicit that this is the CDN version how about "Only the CDN version of Video.js includes this analytics pixel. If you'd like to use the CDN hosted version but would like to disable analytics, you can simply..."

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I've been in the African bush (literally) and just saw this 😬 I'll update the PR when I get to more reliable internets.

@mmcc
Copy link
Member Author

mmcc commented Aug 17, 2017

@mister-ben @OwenEdwards Made the update to be more explicit, let me know what you all think.

Copy link
Member

@OwenEdwards OwenEdwards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest explicitly including other ways to not include the Google Analytics tracking in a website in the primary README.

README.md Outdated
> ```html
> <script>window.HELP_IMPROVE_VIDEOJS = false;</script>
> ```

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest that we add something like "Alternatively, you can include Video.js in your website using npm or Bower - those distributions do not include the Google Analytics tracking." here, too.

@mister-ben
Copy link
Contributor

"CDN hosted" could be more specific to make it clear it's the version hosted on vjs.zencdn.net only, and not anything you'd find on unpkg, cdnjs etc.

@gkatsev
Copy link
Member

gkatsev commented Oct 25, 2017

@mmcc @mister-ben @OwenEdwards I made a PR against this branch with changes: mmcc#10

@gkatsev
Copy link
Member

gkatsev commented Oct 25, 2017

And it's been merged here.

@gkatsev gkatsev merged commit e2af322 into videojs:master Oct 31, 2017
@gkatsev
Copy link
Member

gkatsev commented Oct 31, 2017

Merged this. If we think there are other additions, please make a PR or post here and we can update it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants