packages/create-cloudflare/telemetry.md
Cloudflare gathers non-user identifying telemetry data about usage of create-cloudflare, the command-line interface for scaffolding Workers and Pages applications
You can opt out of sharing telemetry data at any time.
Create-Cloudflare Telemetry allows us to better identify roadblocks and bugs and gain visibility on usage of features across all users. It also helps us to add new features to create a better overall experience. We monitor this data to ensure Create-Cloudflare’s consistent growth, stability, usability and developer experience.
npm create cloudflare@latest, npm create cloudflare –-template myrepo)Cloudflare will receive the IP address associated with your machine and such information is handled in accordance with Cloudflare’s Privacy Policy.
Note: This list is regularly audited to ensure its accuracy.
Cloudflare takes your privacy seriously and does not collect any sensitive information including: any usernames, raw error logs and stack traces, file names/paths and content of files, and environment variables. Data is never shared with third parties.
To view what data is being collected while using Create-Cloudflare, provide the environment variable CREATE_CLOUDFLARE_TELEMETRY_DEBUG=1 during invocation:
CREATE_CLOUDFLARE_TELEMETRY_DEBUG=1 npm create cloudflare
All events can be viewed at ./src/event.ts. It is run in the background and will not delay project execution. As a result, when necessary (e.g. no internet connection), it will fail quickly and quietly.
An example of an event sent to Cloudflare might look like:
{
"event": "c3 session started",
"deviceId": "9fd5d422-99a1-4c7d-9666-ca3637927fa6",
"timestamp": 1726760778899,
"properties": {
"amplitude_session_id": 1726760778800,
"amplitude_event_id": 0,
"platform": "Mac OS",
"c3Version": "2.34.5",
"isFirstUsage": false,
"packageManager": "npm",
"args": {
"_": [],
"auto-update": false,
"autoUpdate": false,
"experimental": false,
"open": true,
"$0": "create-cloudflare",
"additionalArgs": []
}
}
}
If you would like to disable telemetry, you can run:
npm create cloudflare telemetry disable
Alternatively, you can set an environment variable:
export CREATE_CLOUDFLARE_TELEMETRY_DISABLED=1
If you would like to re-enable telemetry, you can run:
npm create cloudflare telemetry enable
If you would like to check the status of Create-Cloudflare telemetry, you can run:
npm create cloudflare telemetry status