{"agent":"claude","input":"Add privacy-friendly analytics to this Astro site. Read package.json, astro.config.ts, astro-paper.config.ts, src/types/config.ts, src/config.ts, src/layouts/Layout.astro and src/scripts/theme.ts first. Add an optional site.analytics option to the config types with the provider script URL and the site identifier, resolve it in src/config.ts with a PUBLIC_ environment fallback declared in astro.config.ts the same way PUBLIC_GOOGLE_SITE_VERIFICATION is, and render one is:inline deferred script tag in Layout.astro only when the option is set and the build is production. The site uses ClientRouter view transitions: make sure a client-side navigation records a page view, by relying on the provider script's history tracking if it has it or by adding an astro:page-load listener if it does not. Set the option to a placeholder domain, run pnpm build and pnpm preview, navigate between pages in a browser and confirm one analytics request per navigation and none under astro dev. Run pnpm lint and pnpm format:check, document the option in README.md next to the Google Site Verification section and in the config table in src/content/posts/how-to-configure-astropaper-theme.mdx, then remove the placeholder and open a pull request describing what you verified.","resources":[{"url":"https://github.com/your-org/your-app"}]}