Installation guide

Astro

1.Site analytics

  1. Open the site in Studio and copy the Embed snippet.
  2. Open your base layout (often src/layouts/BaseLayout.astro or similar).
  3. Paste the snippet immediately before </body>.
  4. Build and deploy.
  5. Load a public page and confirm a visit in Site Analytics.

Layouts shared by every page keep a single install for the whole site.

2.Blog

  1. Open the site in Studio and go to Settings β†’ Domain.
  2. Connect blog.yourdomain.com, add the CNAME Studio shows, then verify.
  3. In the base layout header, link Blog to https://blog.yourdomain.com.
  4. Build and deploy.
  5. To render posts inside Astro instead, open Settings β†’ API and use the public list and post endpoints.