Opens an external site in a new window
Mental Health Awareness Month
“Community”
RODNEY LAB
  • Home
  • Plus +
  • Newsletter
  • Links
  • Profile
RODNEY LAB
  • Home
  • Plus +
  • Newsletter
  • Links

Astro JS Disable Telemetry: stop Astro Data Collection # Astro JS Disable Telemetry: stop Astro Data Collection #

blurry low resolution placeholder image Astro JS Disable Telemetry
  1. Home Rodney Lab Home
  2. Blog Posts Rodney Lab Blog Posts
  3. Astro Astro Blog Posts
<PREVIOUS POST
NEXT POST >
LATEST POST >>

Astro JS Disable Telemetry: stop Astro Data Collection #

Published: 4 years ago
3 minute read
Gunning Fog Index: 6.5
Content by Rodney
blurry low resolution placeholder image Author Image: Rodney from Rodney Lab
SHARE:

⛔️ How to Stop Astro Data Collection #

In this Astro JS disable telemetry post, we see how you can stop Astro’s CLI tool collecting data. By default, Astro will collect data when it runs. You might have surveillance capitalism concerns, and so consider taking steps to address those concerns. We will see it takes nothing more than adding an extra line as you spin up your new project to disable telemetry.

At any rate, here’s the video with all the details. You can drop a comment below or reach out for a chat on Element  as well as Twitter @mention  if you have suggestions for improvements or questions.

📹 Video #

Please enable JavaScript to watch the video 📼

Astro JS Disable Telemetry

🗳 Poll #

Do you run DNS or ad blockers on your machine?
Voting reveals latest results.

🖥 Code #

Disable Astro telemetry from the CLI #

    
pnpm astro telemetry disable

You may also want to block the telemetry.astro.build domain in your /etc/hosts file or on any DNS, ad-blocking or proxy tools you have running.

🔗 Links #

  • Getting started with the Astro more generally,
  • Surveillance Capitalism video from BBC ,
  • Astro Telemetry GitHub repo (so you can check what data Astro collects) ,
  • how to modify /etc/hosts in Mac OS X ,
  • Astro Privacy Policy ,
  • Element chat: #Rodney matrix chat ,
  • Twitter handle: @askRodney .

🏁 Astro JS Disable Telemetry: Summary #

Does Astro JS collect data? #

Yes, by default, the Astro JS tool sends telemetry back to Astro. However, the tool states that the data are anonymous. At the time of writing, it collects project Astro configuration data as well as details on your system.

Can you disable Astro telemetry? #

To disable data collection (enabled by default), run the `pnpm astro telemetry disable` command within your project folder. The tool will then confirm that it has disabled telemetry.

What else can you do to disable Astro data collection? #

As an extra step (in addition to disabling telemetry in the CLI), you could consider blocking the telemetry.astro.build domain on your system. However, you should only attempt this if you have some knowledge of DNS. You might do this by updating your `/etc/hosts` file or within tools like dnscrypt-proxy, Privoxy and unbound. If your system is not able to resolve that domain into an IP address, it will not be able to connect to it. This additional block can add extra protection, for example, if a bug in the tool allows data collection even once you have disabled it.

🙏🏽 Feedback #

If you have found this video useful, see links below for further related content on this site. I do hope you learned one new thing from the video. Let me know if there are any ways I can improve on it. I hope you will use the code or starter in your own projects. Be sure to share your work on Twitter, giving me a mention, so I can see what you did. Finally, be sure to let me know ideas for other short videos you would like to see. Read on to find ways to get in touch, further below. If you have found this post useful, even though you can only afford even a tiny contribution, please consider supporting me through Buy me a Coffee.

blurry low resolution placeholder image ask Rodney X (formerly Twitter) avatar

Rodney

@askRodney

👀 Just dropped a new post on how you can disable data collection in Astro.

The 🚀 Astro CLI will collect data by default. Although the telemetry is anonymised, you might still want to block it.

Hope you find it useful!

#JAMStack #AstroJS #askRodneyhttps://t.co/EGklwCvnIg

— Rodney (@askRodney) May 9, 2022

Finally, feel free to share the post on your social media accounts for all your followers who will find it useful. As well as leaving a comment below, you can get in touch via @askRodney on Twitter and also askRodney on Telegram . Also, see further ways to get in touch with Rodney Lab. I post regularly on SvelteKit as well as Search Engine Optimization among other topics. Also, subscribe to the newsletter to keep up-to-date with our latest projects.

Thanks for reading this post. I hope you found it valuable. Please get in touch with your feedback and suggestions for posts you would like to see. Read more about me …

blurry low resolution placeholder image Rodney from Rodney Lab
TAGS:
ASTROONLINE-PRIVACY

Reposts:

Reposts

  • Sébastien Morel 🇺🇦💙 profile avatar

Likes:

Likes

  • Sarah Rainsberger profile avatar
  • Sébastien Morel 🇺🇦💙 profile avatar
  • aFuzzyBear 🇺🇦 profile avatar
Reposts & likes provided by Mastodon & X via Webmentions.

Related Posts

blurry low resolution placeholder image Astro Server-Side Rendering: Edge Search Site

Astro Server-Side Rendering: Edge Search Site

plus
astro
<PREVIOUS POST
NEXT POST >
LATEST POST >>

Leave a comment …

Your information will be handled in line with our Privacy Policy .

Ask for more

1 Nov 2022 — Astro Server-Side Rendering: Edge Search Site
3 Oct 2022 — Svelte eCommerce Site: SvelteKit Snipcart Storefront
1 Sept 2022 — Get Started with SvelteKit Headless WordPress

Copyright © 2020 – 2025 Rodney Johnson. All Rights Reserved. Please read important copyright and intellectual property information.

  • Home
  • Profile
  • Plus +
  • Newsletter
  • Contact
  • Links
  • Terms of Use
  • Privacy Policy
We use cookies  to enhance visitors’ experience. Please click the “Options” button to make your choice.  Learn more here.