Socket
Book a DemoInstallSign in
Socket

@mui/x-telemetry

Package Overview
Dependencies
Maintainers
16
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/x-telemetry

MUI X Telemetry.

latest
Source
npmnpm
Version
8.12.0
Version published
Weekly downloads
245K
-0.65%
Maintainers
16
Weekly downloads
 
Created
Source

@mui/x-telemetry

Package used by some of MUI X to collects anonymous telemetry data about general usage. Participation in this anonymous program is optional, and you may opt-out if you'd not like to share any information.

How to opt-in

Currently, it's disabled by default, and you could opt-in to it in 3 ways:

  • By setting it directly to package settings on the application start (for example, in the main file).
import { muiXTelemetrySettings } from '@mui/x-telemetry';
// or
import { muiXTelemetrySettings } from '@mui/x-license';

muiXTelemetrySettings.enableTelemetry(); // to enable telemetry collection and sending
// or
muiXTelemetrySettings.disableTelemetry(); // to disable telemetry collection and sending
  • By setting the environment variable.
MUI_X_TELEMETRY_DISABLED=false # Enable telemetry
# or
MUI_X_TELEMETRY_DISABLED=true # Enable telemetry

⚠️ Note that some frameworks requires to prefix the variable with REACT_APP_, NEXT_PUBLIC_, etc.

  • By setting the flag to global object on the application start (for example, in the main file).
globalThis.__MUI_X_TELEMETRY_DISABLED__ = false; // enabled
// or
globalThis.__MUI_X_TELEMETRY_DISABLED__ = true; // disabled

OR

if (typeof window !== 'undefined') {
  window.__MUI_X_TELEMETRY_DISABLED__ = false; // enabled
}
// or
if (typeof window !== 'undefined') {
  window.__MUI_X_TELEMETRY_DISABLED__ = true; // disabled
}

FAQs

Package last updated on 25 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts