Install Simple Analytics in an Astro js project



This content originally appeared on DEV Community and was authored by Pere Sola

  • There is an official package for that from the folks at Simple Analytics.
  • Just follow the instructions and you should be good to go. It worked flawlessly for me.
  • There is a bunch of props you can pass to it if you need configuration, you can find the docs about them here.
  • Add the domain to your Simple Analytics dashboard. The technology detected for me was HTML. After the code was deployed, it automatically detected that the script was there and it started working. Pretty cool!


This content originally appeared on DEV Community and was authored by Pere Sola