Add ordering to Astro
Delitero is launching soon. Join the waitlist and we will email you when it opens.
In Astro, paste the snippet into any .astro page. Mark the script is:inline so Astro serves it as written instead of bundling it:
--- --- <div data-delitero-restaurant="rst_9f2a64d1-7c3e-4b8a-9d21-8e5f0a6c4b7e" style="height: 640px; max-width: 480px"> <a href="https://order.delitero.com/r/rst_9f2a64d1-7c3e-4b8a-9d21-8e5f0a6c4b7e">Order online</a> </div> <script is:inline src="https://order.delitero.com/embed.js" defer></script>
That is the whole integration for a static Astro site. If the container is rendered by a client framework island that appears after load, mount it manually with window.Delitero.mount(element); mounting is idempotent.
Search engines and AI assistants
For a menu search engines and AI assistants can read without running scripts, paste the snippet with menu text instead of the short one (see Add ordering to your site).
To keep a text copy always current, fetch https://order.delitero.com/r/your-restaurant-id/embed.html at build or request time and render it in place of the snippet.
Works everywhere, or the link does
Whatever your website can or cannot embed, the hosted ordering page always works as a plain link. Sizing, isolation guarantees, and single-page-app notes are on the Add ordering to your site overview.
Did not find what you needed? Search the guides, or see common problems and what to do.

