Analytics Setup - Umami + Clarity (5 minutes)
Step 1: Umami Analytics (3 min)
Option A: Umami Cloud (Easiest - Free up to 10k events/month)
- Go to: https://cloud.umami.is
- Sign up free
- Add website:
- Name: “dfielding14.github.io”
- Domain: “dfielding14.github.io”
- Copy your Website ID (looks like: “a1b2c3d4-e5f6-7890-abcd-ef1234567890”)
- Replace “UMAMI_WEBSITE_ID” in _layouts/default.html (line 22)
Option B: Deploy Your Own (Completely Free)
- Click here: https://vercel.com/new/clone?repository-url=https://github.com/umami-software/umami
- Sign in with GitHub
- Click “Deploy” (takes 2 min)
- Visit your-app.vercel.app
- Login: admin/umami
- Add your website
- Get tracking code and replace line 22 in _layouts/default.html
Step 2: Microsoft Clarity (2 min)
- Go to: https://clarity.microsoft.com
- Sign in with Microsoft/GitHub
- New Project:
- Name: “dfielding14”
- URL: “https://dfielding14.github.io”
- Get your Project ID (like “pq8xzfh5k7”)
- Replace “CLARITY_ID” in _layouts/default.html (line 30)
Step 3: Deploy
git add -A
git commit -m "Add Umami and Clarity analytics"
git push origin master
View Your Analytics
Umami Dashboard
- Visit: https://cloud.umami.is (or your-app.vercel.app)
- See:
- Real-time visitors
- Page views
- Countries/cities
- Browsers/devices
- Referrer sources
- Custom events
Clarity Dashboard
- Visit: https://clarity.microsoft.com
- See:
- Heatmaps (where people click)
- Session recordings
- Rage clicks
- JavaScript errors
Data appears within minutes of deployment!