Commit graph

20 commits

Author SHA1 Message Date
6cd13476dc i18n refactor 2026-09-29 16:50:21 -03:00
5f114e21e7 sitemap and rss 2026-09-29 12:12:07 -03:00
2db8a6925e umami analytics 2026-09-28 19:38:19 -03:00
4019956977 plugin4shell post og image regeneration 2026-09-28 15:11:54 -03:00
0cedf709b4 new plugin4shell post 2026-09-28 15:09:29 -03:00
b112df6454 regenerated 2 failed og cards 2026-09-28 14:43:38 -03:00
5e77706b87 og card regenerated 2026-09-28 14:39:34 -03:00
61d791c94e vercel deploy fix 2026-09-28 14:34:26 -03:00
523127092f og images generated 2026-09-28 14:25:21 -03:00
28d64159ab social cards 2026-09-28 14:06:43 -03:00
db0964e792 og images with cloudflare 2026-09-28 14:03:25 -03:00
1d8b7d58a4 new hello-world post 2026-09-22 18:04:06 -03:00
21cb00d377 theme toggle error fixed 2026-09-20 00:29:38 -03:00
ce5912caaf partial font swap 2026-09-19 11:13:42 -03:00
31b2346c62
Merge pull request #1 from gabeefranco/vercel/install-vercel-web-analytics-bx96ye
Install Vercel Web Analytics
2026-09-02 21:29:47 -03:00
Vercel
86869a5b42 Install Vercel Web Analytics
Implemented Vercel Web Analytics for Astro Project
===================================================

Successfully installed and configured Vercel Web Analytics according to the latest official documentation from https://vercel.com/docs/analytics/quickstart.

Changes Made:
-------------

1. **Installed @astrojs/vercel package** (v11.0.9)
   - Added to dependencies in package.json
   - Updated package-lock.json with new dependencies

2. **Modified astro.config.mjs**
   - Imported the Vercel adapter: `import vercel from '@astrojs/vercel'`
   - Added adapter configuration with Web Analytics enabled:
     ```javascript
     adapter: vercel({
       webAnalytics: { enabled: true },
     })
     ```

Implementation Details:
----------------------

For Astro projects, Vercel Web Analytics is enabled through the Vercel adapter configuration rather than installing a separate analytics package. This is the framework-specific approach documented in the official Vercel quickstart guide.

The configuration enables Web Analytics by:
- Setting up the Vercel adapter as the deployment target
- Enabling the webAnalytics option in the adapter configuration
- This automatically injects the necessary analytics tracking when the site is deployed to Vercel

Verification:
-------------

✓ Build completed successfully (npm run build)
✓ All static routes generated without errors
✓ Vercel adapter correctly configured and working
✓ No linting errors (no linter configured in this project)
✓ No test failures (no tests configured in this project)

Files Modified:
--------------
- astro.config.mjs - Added Vercel adapter with Web Analytics enabled
- package.json - Added @astrojs/vercel dependency
- package-lock.json - Updated with new dependency tree

Next Steps:
-----------
Once deployed to Vercel, Web Analytics will automatically start tracking:
- Page views
- User sessions
- Performance metrics

The analytics data will be visible in the Vercel dashboard under the Analytics section after deployment and user visits.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-09-03 00:28:34 +00:00
9621a08c6d spotify-complaining post 2026-09-02 21:10:55 -03:00
591c38d381 added hello world post 2026-09-02 20:17:50 -03:00
5205a22a56 removed example posts written by claude 2026-09-02 20:12:29 -03:00
e4ef0abe41 initial commit 2026-09-02 20:08:41 -03:00