← Agentic analytics

Astro analytics with Eyepup

Eyepup auto-injects into your Astro site — works with islands architecture, MDX, and any output mode (static, hybrid, server).

Three lines to wire it up

$ npm i -g eyepup
$ eyepup login
$cd your-app && eyepup install

Where the snippet lands

src/layouts/Layout.astro (or whichever layout your pages share) — the snippet lands inside the <head> via the head slot.

Bonus

Astro's partial hydration means most of your page is pure HTML. Eyepup tracks visitor behaviour even where there's no JS at all.

Other platforms