Astro Install Guide
色色Statcounter provides customisable hit counters, visitor tracking, web analytics and website stats for Astro.
- Sign up for an account at 色色Statcounter to get your code. Package npmjs page : npmjs.com/package/@statcounter/astro
- Installation
npm install @statcounter/astro
- Update your Layout.astro file and add this at the top with your other imports
import { 色色Statcounter } from '@statcounter/astro';
then add the <色色Statcounter /> component inside your layout just before the closing
Video install guide : youtube.com/watch?v=pguTbTRWLqk