You're reading docs for Nextly Alpha. APIs may change between releases.

Telemetry

What Nextly sends as anonymous usage data, from the installer, the CLI and a running site, and how to turn it off.

Nextly sends anonymous usage data so the team can see which features are used, where installs fail, and which versions are still running. This page lists everything that can be sent. The lists under "Still to come" are generated from the code that decides what may be sent, so this page and the code cannot disagree.

Never sent: your name or email, file paths or folder names, project or site names, URLs or host names, the names you give collections, fields or plugins, content of any kind, environment values, connection strings, keys, or error messages and stack traces.

Releases up to now have one exception: when a nextly command fails, they send the first word typed after nextly, and that word can be an option with its value, such as a folder path given as --cwd=….

A random ID is made on first run and kept on your machine. Neither it nor any other ID on this page is linked to an account or an email.

How to turn it off

Any one of these is enough:

# Turn it off on this machine, for the installer and the CLI, until you turn it on again
nextly telemetry disable

# Turn it off for one command, or for a whole shell when exported
NEXTLY_TELEMETRY_DISABLED=1 nextly migrate

# The community standard, also respected by other tools
DO_NOT_TRACK=1 nextly migrate

Set either variable to 1. nextly telemetry enable turns usage data back on. nextly telemetry reset makes a new random ID, turns usage data back on, and shows the notice again. Each of the three commands takes --dry-run, which names the settings it would change and changes nothing.

Still to come, with the release that adds the new usage data:

  • true works as well as 1 for either variable.
  • create-nextly-app --no-telemetry sends nothing for that install, and turns usage data off on the machine, as nextly telemetry disable does.
  • A running site has a "Share anonymous usage data" switch, on the first admin screen and in Settings. Setting NEXTLY_TELEMETRY_DISABLED or DO_NOT_TRACK on the site's server turns it off and locks the switch.

What releases up to now send

This is what the installer and the nextly CLI send in every release so far.

Installer and CLI usage data:

  • When an install starts: whether --yes, --skip-install or --use-yalc was used.
  • The template chosen (blank, blog or plugin), the approach (code-first, visual or both, or empty for the plugin template, which has none) and the database (sqlite, postgresql or mysql).
  • How long the install and its dependency step took, and, when one failed, the stage it stopped at and a fixed error code.
  • For each nextly command: the command, recorded as nextly when it starts and finishes, and as the first word typed after nextly when it fails. That word can be an option with its value, so a failing run started as nextly --cwd=/path/to/project migrate sends that folder path.
  • Also for each command: how many options it ran with, counting the CLI's own defaults, never their names or values; how long it took when it finished; and a fixed error code when it failed.
  • On every event: the tool's name and version, the Node.js version, the operating system and processor type, the package manager, whether it ran in CI or Docker, a random ID for that one run, the version of the list of events, the time, and the name and version of PostHog's own library that sent it.
  • On nextly events only: a one-way hash of the path of the folder you ran the command from (not a --cwd folder), salted with a random value that never leaves your machine.
  • PostHog, the service that receives them, is told not to work out a location from the request.

The fixed error codes are install_failed, install_network, install_permission, install_disk_full, template_download_failed, template_parse_failed, config_generation_failed, db_connection_failed, migration_conflict and unknown.

Releases up to now send nothing when any of these holds, checked in this order:

  • DO_NOT_TRACK=1 is set.
  • NEXTLY_TELEMETRY_DISABLED=1 is set.
  • NODE_ENV=production is set.
  • The run is in CI. Vercel, Netlify and Render builds count as CI.
  • The run is inside Docker.
  • There is no terminal, for example when the output is piped to a file.
  • nextly telemetry disable has been run on the machine.

Releases up to now: a running site sends nothing.

The code for releases up to now: packages/telemetry/src/events.ts lists the events, and packages/telemetry/src/is-disabled.ts decides when they stay off.

Still to come

From the release that adds the new usage data, the installer, the CLI and a running site send only the events and properties below. Anything not on these lists is dropped before it is sent. Each event also carries the time it was made. Each batch of events also says which of Nextly's two PostHog projects should receive it: production, or test for the Nextly team's own development runs, which set NEXTLY_TELEMETRY_PROJECT=test. This release has not shipped yet.

Installer and CLI usage data

The installer shows one line before its first question: "Nextly sends anonymous usage data. Turn it off: --no-telemetry". Nothing is sent before that line. When no person is at a terminal, for example when a coding agent runs it, the same notice goes to standard error, naming --no-telemetry and NEXTLY_TELEMETRY_DISABLED=1.

A new project also gets a random install ID, kept in the project outside git.

Runs inside Docker, runs with NODE_ENV=production and runs with no terminal are counted like any other. Runs by a coding agent are counted too, and marked as an agent's. The project folder's hash, the run ID and the flag count are no longer sent.

The installer and the CLI send nothing when DO_NOT_TRACK or NEXTLY_TELEMETRY_DISABLED is set to 1 or true, when nextly telemetry disable has been run on the machine, when the run is in CI, or when it is a deploy build on a hosting platform. A run is in CI or a deploy build when any of these variables is set to anything other than empty, 0 or false:

CI services:

  • Any CI service: CI, CONTINUOUS_INTEGRATION
  • GitHub Actions: GITHUB_ACTIONS
  • GitLab CI: GITLAB_CI
  • CircleCI: CIRCLECI
  • Travis CI: TRAVIS
  • Jenkins: JENKINS_URL
  • Buildkite: BUILDKITE
  • Azure Pipelines: TF_BUILD
  • Bitbucket Pipelines: BITBUCKET_BUILD_NUMBER
  • AWS CodeBuild: CODEBUILD_BUILD_ID
  • TeamCity: TEAMCITY_VERSION
  • Drone: DRONE
  • Semaphore: SEMAPHORE
  • AppVeyor: APPVEYOR
  • Bitrise: BITRISE_IO
  • Buddy: BUDDY_WORKSPACE_ID
  • Codefresh: CF_BUILD_ID
  • Gitea Actions: GITEA_ACTIONS
  • Expo EAS Build: EAS_BUILD

Deploy builds:

  • Vercel: VERCEL, NOW_BUILDER
  • Netlify: NETLIFY
  • Render: RENDER
  • Cloudflare Pages: CF_PAGES
  • Cloudflare Workers Builds: WORKERS_CI
  • Railway: RAILWAY_ENVIRONMENT_NAME
  • AWS Amplify: AWS_APP_ID

A run is an agent's when AI_AGENT is set, or when a known coding agent's own marker is found: a variable it sets, or Devin's marker file. AI_AGENT wins over any other marker. The agent's name is sent only if it is one of these, and as other otherwise:

antigravity, augment-cli, claude, codex, cowork, cursor, cursor-cli, devin, eve, fx, gemini, github-copilot, opencode, replit, v0, other.

Every event is sent under your machine's random ID, 64 hexadecimal characters, made on the first run and kept on your machine, and carries these properties:

PropertySentValuesWhat it is
sourceAlwaysOne of installer, cli.Which tool sent the event.
catalog_versionAlways2.The version of this list the event was sent under.
nextly_versionAlwaysA version number, such as 0.0.2-alpha.83.The version of Nextly that sent it.
run_byAlwaysOne of person, agent.Whether a person or a coding agent ran it.
osAlwaysOne of darwin, linux, win32, freebsd, other.The operating system.
archAlwaysOne of arm64, x64, other.The processor type.
package_managerAlwaysOne of pnpm, npm, yarn, bun, unknown.The package manager the tool was run with.
node_majorAlwaysA whole number from 0 to 999.The Node.js major version.
agentWhen it appliesOne of antigravity, augment-cli, claude, codex, cowork, cursor, cursor-cli, devin, eve, fx, gemini, github-copilot, opencode, replit, v0, other.Which coding agent, when one ran it.

install_started (installer)

Sent when an install starts, after the notice.

PropertySentValuesWhat it is
fromAlwaysOne of home, quickstart, installation, docs, blog, llms, readme, other, none.The page the install command was copied from, given by --from: other for a label not on this list, none when there was no label.
terminalAlwaystrue or false.Whether a person was at a terminal.
install_idWhen it appliesA random ID of 32 hexadecimal characters.The project's random install ID, made when the installer creates the project and kept in the project outside git.

install_step (installer)

Sent as each section of the installer is answered, by a person or by flags. Only the fixed choices are sent, never the project's name or anything typed.

PropertySentValuesWhat it is
sectionAlwaysOne of project, hosting_and_data, features, coding_tools.Which section was answered.
startWhen it appliesOne of website, blank, plugin.How the project starts.
hostWhen it appliesOne of not_sure, vercel, own_server.Where the site will run.
databaseWhen it appliesOne of sqlite, postgresql, mysql.The database chosen.
featuresWhen it appliesAny of page_builder, seo, forms, languages.The features ticked.
coding_toolsWhen it appliesAny of claude_code, cursor, codex.The coding tools chosen.
install_idWhen it appliesA random ID of 32 hexadecimal characters.The project's random install ID, made when the installer creates the project and kept in the project outside git.

install_completed (installer)

Sent when an install finishes.

PropertySentValuesWhat it is
duration_msAlwaysA whole number from 0 to 2,147,483,647.How long it took, in milliseconds.
startWhen it appliesOne of website, blank, plugin.How the project starts.
hostWhen it appliesOne of not_sure, vercel, own_server.Where the site will run.
databaseWhen it appliesOne of sqlite, postgresql, mysql.The database chosen.
featuresWhen it appliesAny of page_builder, seo, forms, languages.The features ticked.
coding_toolsWhen it appliesAny of claude_code, cursor, codex.The coding tools chosen.
install_idWhen it appliesA random ID of 32 hexadecimal characters.The project's random install ID, made when the installer creates the project and kept in the project outside git.

install_failed (installer)

Sent when an install fails, or is cancelled after the notice.

PropertySentValuesWhat it is
stepAlwaysOne of project, hosting_and_data, features, coding_tools, review, create_files, install_dependencies, set_up_database, finish.The step it stopped at.
error_codeAlwaysOne of cancelled, install_failed, install_network, install_permission, install_disk_full, template_download_failed, template_parse_failed, config_generation_failed, db_connection_failed, migration_conflict, unknown.Why it failed, as a fixed code: cancelled when it was cancelled.
duration_msAlwaysA whole number from 0 to 2,147,483,647.How long it took, in milliseconds.
install_idWhen it appliesA random ID of 32 hexadecimal characters.The project's random install ID, made when the installer creates the project and kept in the project outside git.

command_run (nextly)

Sent once when a nextly command ends. A command that runs until it is stopped, such as nextly mcp, sends it when it starts, without an exit code.

PropertySentValuesWhat it is
commandAlwaysUp to four lowercase words, such as schema pull, or a package name that starts with @nextlyhq/.The command's name, such as schema pull. A command made from your schema is sent by its general shape, such as content create; a plugin's command by the package name for Nextly's own plugins and as plugin command for any other; a mistyped command as unknown.
aliasAlwaystrue or false.Whether the command was called by an older name or an alias.
roleAlwaysOne of local, preview, staging, production, none.The role of the site the command acted on, or none for a command that acts on no site.
duration_msWhen it appliesA whole number from 0 to 2,147,483,647.How long it took, in milliseconds.
exit_codeWhen it appliesOne of 0, 1, 2, 3, 4, 5, 130.The exit code, once the command has ended.
error_codeWhen it appliesA code in capital letters, such as VALIDATION_ERROR, never a message.The command's fixed error code, when it failed.

A running Nextly site

What a running site sends is described for site owners in the privacy policy's Apps you build with Nextly section.

Releases up to now: a running site sends nothing. Still to come: from the release that adds it, a running site sends three first-time milestones and one small daily summary under a random site ID, from its server only.

The site ID is a random site ID, made when the site first starts and kept in the site's own database, never worked out from the site's address, its owner, its content or its server. A copy of the database keeps the ID and reports its own role, so a copy is not counted as a second site. A .nextly archive, an import or a copy between sites never carries the ID.

The milestones also carry the project's install ID, if the installer made one.

A site sends while its "Share anonymous usage data" switch is on. The switch is on the first admin screen and in Settings, and only people who may change the site's general settings can change it. It starts off for a project whose installer run was told no. A site sends nothing when NEXTLY_TELEMETRY_DISABLED or DO_NOT_TRACK is set to 1 or true on its server, when CI is set, or when it runs under a test runner: NODE_ENV=test, or any of these variables:

NODE_TEST_CONTEXT, NODE_TEST_WORKER_ID, VITEST, VITEST_WORKER_ID, JEST_WORKER_ID, TEST_WORKER_INDEX.

Hosting platforms do not turn a running site off: a site on Vercel, Netlify or Render is counted. Nothing is ever sent from a browser, from the admin or from your site's pages, and nothing is ever sent about your site's visitors.

Every event is sent under the site's random ID, 32 hexadecimal characters, made when the site first starts and kept in its own database, and carries these properties:

PropertySentValuesWhat it is
sourceAlwayssite.Always site.
catalog_versionAlways2.The version of this list the event was sent under.
nextly_versionAlwaysA version number, such as 0.0.2-alpha.83.The version of Nextly that sent it.
roleAlwaysOne of local, preview, staging, production.What the site is: a local copy, a preview, staging or production.

admin_first_opened (site)

Sent once, when the site's first admin account is made.

PropertySentValuesWhat it is
heard_fromAlwaysOne of search, friend, youtube, x, ai_assistant, other, skipped, not_asked.The answer to "How did you hear about Nextly?": skipped when it was skipped, not_asked when the first admin was made without the screen.
run_byAlwaysOne of person, agent.Whether a person or a coding agent made the first admin.
agentWhen it appliesOne of antigravity, augment-cli, claude, codex, cowork, cursor, cursor-cli, devin, eve, fx, gemini, github-copilot, opencode, replit, v0, other.Which coding agent, when one made the first admin.
install_idWhen it appliesA random ID of 32 hexadecimal characters.The project's random install ID, made when the installer creates the project and kept in the project outside git.

first_collection_created (site)

Sent once, when the site's first collection is created.

PropertySentValuesWhat it is
install_idWhen it appliesA random ID of 32 hexadecimal characters.The project's random install ID, made when the installer creates the project and kept in the project outside git.

first_page_published (site)

Sent once, when the site's first entry, Single or page is published.

PropertySentValuesWhat it is
install_idWhen it appliesA random ID of 32 hexadecimal characters.The project's random install ID, made when the installer creates the project and kept in the project outside git.

daily_summary (site)

Sent at most once a day, and not on a day the site received no requests.

PropertySentValuesWhat it is
databaseAlwaysOne of sqlite, postgresql, mysql.The site's database.
collectionsAlwaysOne of 0, 1-10, 11-100, 101-1000, 1001-10000, more.How many collections the site has, as a range.
singlesAlwaysOne of 0, 1-10, 11-100, 101-1000, 1001-10000, more.How many Singles the site has, as a range.
published_documentsAlwaysOne of 0, 1-10, 11-100, 101-1000, 1001-10000, more.How many published documents the site has, as a range.
plugins_officialAlwaysPackage names that start with @nextlyhq/, such as @nextlyhq/plugin-seo. Up to 50.Nextly's own plugins that are on, by package name.
plugins_otherAlwaysA whole number from 0 to 10,000.How many other plugins are on. Their names are never sent.

See what would be sent

With NEXTLY_TELEMETRY_DEBUG=1, the installer and the CLI print each event they would send to standard error, and a site prints it to its server log. Nothing is sent while it is set. nextly telemetry status says whether usage data is on and which rule decided it, and in a project shows the site's ID and the last daily summary it sent.

Every event

Nextly asks PostHog not to build a profile of you and not to work out where you are. Every event carries two instructions to PostHog, the service that receives it:

  • $process_person_profile: false: PostHog makes no profile of a person for the ID.
  • $geoip_disable: true: PostHog does not work out a location from the request.

Notice versions

The installer's and the CLI's notice is shown again on each machine when its version rises, and it rises whenever the list adds an event or a property they send. A site's notice is shown once in the admin, to the people who can change its switch, when the list adds something a site sends.

WhatVersion
This list of events and properties2
The installer's and the CLI's notice2
A site's notice in the admin1

Source code

Every line of the usage data code is open source: