Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (26 loc) · 1.06 KB

disabling-telemetry.md

File metadata and controls

33 lines (26 loc) · 1.06 KB

Disabling Telemetry

The code that enables Mozilla-Research Telemetry collection is in the VR template that comes with the package. Ensure you've already added the package from the store to your Unity project and look for the following snippet inside the index.html file of the template:

MozillaResearch.telemetry.start({
  analytics: true,
  errorLogging: true,
  performance: true
});

By default, each, number of visits, error logs and some performance measurements are enabled by setting the proper option (analytics, errorLogging and performance respectively) to true.

To prevent the template from sending such information, set the appropiate options to false:

MozillaResearch.telemetry.start({
  analytics: false,
  errorLogging: true,
  performance: false
});

Or by commenting out these lines, or removing the code completely from the index.html file:

/*MozillaResearch.telemetry.start({
  analytics: true,
  errorLogging: true,
  performance: true
});*/