Disable Next.js Telemetry
Next.js collects anonymous telemetry data about general usage. Participation in the program is optional.
To opt-out of the telemetry data collection, you must:
Identify your JSS Next.js
.env
file, based on the development environment setup you chose.- For full-stack, use
src/rendering/.env
. - For front-end, use the
.env
in the root directory of your project.
- For full-stack, use
In the JSS Next.js Application directory (application folder or
src/rendering
for full-stack development) set the following variable in your.env
file.
NEXT_TELEMETRY_DISABLED=1