JSPM

  • Created
  • Published
  • Downloads 157624
  • Score
    100M100P100Q193260F
  • License Apache-2.0

Gathers usage statistics for components used during application development

Package Exports

  • @vaadin/vaadin-usage-statistics
  • @vaadin/vaadin-usage-statistics/vaadin-usage-statistics.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vaadin/vaadin-usage-statistics) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Gathers usage statistics for components used during application development

To be able to understand and focus development more efficiently, Vaadin gathers product usage statistics during development time and ties this to users who are logged in to their Vaadin account. No statistics or other data is collected from the users of the applications based on any Vaadin technologies.

Statistics are only gathered when the application is in development mode. Statistics are automatically disabled and the statistics gathering code is automatically excluded from production builds.

Collected data

  • Vaadin products used in the application, including version numbers
  • Frameworks used in the application, including version numbers
  • Flow features used in the application, including version numers
  • The first and last time a product was used
  • The first time statistics were gathered
  • Your Vaadin user account
  • Whether you are a Vaadin Pro user or not (true/false)
  • Browser user-agent string
  • The IP address the statistics is sent from

Opting out

npm and Vaadin 14+ (using npm)

Using npm, you can disable it for the machine by running

npm explore @vaadin/vaadin-usage-statistics -- npm run disable

or you can disable it for the project by adding

   "vaadin": { "disableUsageStatistics": true }

to your project package.json and running npm install again (remove node_modules if needed).

You can verify this by checking that vaadin-usage-statistics.js contains an empty function.

Vaadin 10 - 14 (using Bower)

Add to your pom.xml:

<dependency>
  <groupId>org.webjars.bowergithub.vaadin</groupId>
  <artifactId>vaadin-usage-statistics</artifactId>
  <version>1.0.0-optout</version>
</dependency>

Bower

To opt-out from statistics, install the no-op version of the vaadin-usage-statistics package using

bower install --save vaadin/vaadin-usage-statistics#optout

You can verify this by checking that vaadin-usage-statistics.html is empty.

If you have any questions on the use of the statistics, please contact statistics@vaadin.com.