Documentation Index
Fetch the complete documentation index at: https://mintlify.com/amanvarshney01/create-better-t-stack/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Better-T-Stack collects anonymous usage analytics to help improve the CLI. This page explains exactly what’s collected, why, and how to opt out.Privacy first: No personal information, project names, file contents, or secrets are ever collected.
What is Collected
On successful project creation, the CLI sends a single event (project_created) containing:
Stack Configuration
frontend- Selected frontend framework(s)backend- Selected backend frameworkruntime- Selected runtime (Bun, Node, Workers)database- Selected databaseorm- Selected ORMapi- Selected API layer (tRPC, oRPC, or none)auth- Selected auth providerpayments- Selected payment provideraddons- Selected addonsexamples- Selected examplesdbSetup- Database setup methodwebDeploy- Web deployment configurationserverDeploy- Server deployment configurationpackageManager- Package manager usedgit- Whether Git was initializedinstall- Whether dependencies were installed
Environment Data
cli_version- Version of Better-T-Stack CLI usednode_version- Node.js versionplatform- Operating system (linux, darwin, win32)
What is NOT Collected
- Project names or paths
- File contents or code
- Environment variables or secrets
- Personal information (name, email, IP address)
- Git commit messages or repository details
- Directory structures beyond what’s implied by stack choices
Why We Collect Analytics
Usage data helps us:- Understand popular stack combinations - Focus development on widely-used features
- Identify compatibility issues - Detect problematic stack combinations
- Improve documentation - See which features need better docs
- Plan new features - Understand what the community needs
- Track adoption - Measure CLI growth and impact
How to Disable Telemetry
Telemetry is enabled by default but easy to disable.For a Single Run
Set the environment variable when running the CLI:Permanently Disable
Add the environment variable to your shell profile:Using CLI Flag
You can also use the--disable-analytics flag:
Viewing Analytics Data
All analytics are publicly accessible for full transparency:Analytics Dashboard
View aggregated charts and statistics
Umami Dashboard
Website analytics (self-hosted on Hostinger VPS)
Raw JSON Data
Download raw aggregated analytics
CSV Export
Download analytics as CSV
Notes on Public Data
- Aggregates are periodically regenerated from incoming events
- Raw individual events are not publicly exposed
- Only summary statistics are available on the analytics page
- No personally identifiable information is included
Technical Implementation
For complete transparency, here’s how analytics work:Data Flow
CLI sends event
After successful project creation, the CLI sends a single HTTP POST request with stack configuration and environment data.
Aggregation
Events are periodically aggregated into summary statistics (counts, percentages, trends).
Source Code
You can review the exact implementation:CLI Event Sender
apps/cli/src/utils/analytics.tsTelemetry Toggle
apps/cli/src/utils/telemetry.tsIngest Endpoint
packages/backend/convex/http.tsAnalytics Backend
packages/backend/convex/analytics.tsFrequently Asked Questions
Is telemetry required to use the CLI?
Is telemetry required to use the CLI?
No. All CLI features work with telemetry disabled. Set
BTS_TELEMETRY_DISABLED=1 to opt out.How often are events sent?
How often are events sent?
Only once per project creation. The
add command and other operations do not send telemetry events.Can I see what's being sent before it's sent?
Can I see what's being sent before it's sent?
Yes. Use the This shows the full event payload as JSON.
--verbose flag to see the exact data that would be sent:Is there a way to send telemetry manually?
Is there a way to send telemetry manually?
No. Telemetry is only sent automatically on successful project creation. You cannot manually trigger it.
What happens if telemetry fails?
What happens if telemetry fails?
Nothing. If the analytics endpoint is unreachable or returns an error, the CLI continues normally. Failed telemetry never blocks project creation.
Do you collect data from the generated projects?
Do you collect data from the generated projects?
No. Once your project is created, Better-T-Stack collects nothing. Your project runs independently.
Privacy Commitment
Better-T-Stack is committed to privacy and transparency:
- No tracking scripts in generated projects
- No personal data collection
- Easy opt-out via environment variable
- Public analytics for full transparency
- Open source implementation you can audit