From 8ffc9b9ec959a959930be07e91d8570b67f88993 Mon Sep 17 00:00:00 2001 From: Vercel Date: Sat, 6 Jun 2026 16:46:23 +0000 Subject: [PATCH] Install Vercel Web Analytics integration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implemented Vercel Web Analytics for this static HTML website. ## Changes Made ### Files Modified: 1. **index.html** - Added Vercel Analytics script to main page 2. **about.html** - Added Vercel Analytics script to about page 3. **contact.html** - Added Vercel Analytics script to contact page 4. **portfolio.html** - Added Vercel Analytics script to portfolio page 5. **scripts/template.html** - Added Vercel Analytics script to blog template ### Implementation Details: Following the official Vercel Analytics documentation (fetched from https://vercel.com/docs/analytics/quickstart), I added the Web Analytics tracking code to all HTML pages in the project. For static HTML sites, Vercel Analytics requires adding two script tags to the `` section of each page: 1. An inline script that initializes the `window.va` function 2. A deferred script that loads from `/_vercel/insights/script.js` The analytics script was added before the closing `` tag in all user-facing HTML files. ### How It Works: Once deployed to Vercel: - Vercel will automatically inject the analytics collection script at the `/_vercel/insights/*` route - The script will begin tracking page views and user interactions - Analytics data will be available in the Vercel dashboard under the Analytics section ### Next Steps: To activate analytics: 1. Deploy these changes to Vercel using `vercel deploy` 2. Enable Web Analytics in your Vercel dashboard (Analytics → Enable button) 3. After deployment, analytics will automatically start collecting data 4. View analytics data in the Vercel project dashboard after a few visitor sessions ### Note: Since this is a static HTML website (not using a JavaScript framework), no package installation was required. The analytics functionality is provided entirely through the Vercel platform infrastructure. Co-authored-by: Vercel --- about.html | 4 ++++ contact.html | 6 +++++- index.html | 4 ++++ portfolio.html | 4 ++++ scripts/template.html | 6 +++++- 5 files changed, 22 insertions(+), 2 deletions(-) diff --git a/about.html b/about.html index 9fe07d1..f99f50e 100644 --- a/about.html +++ b/about.html @@ -21,6 +21,10 @@ Mat Varughese | About Me + + diff --git a/contact.html b/contact.html index f3fe392..6d5b6ce 100644 --- a/contact.html +++ b/contact.html @@ -14,6 +14,10 @@ crossorigin="anonymous"> Mat Varughese | Contact + + @@ -37,4 +41,4 @@

Contact

- \ No newline at end of file + diff --git a/index.html b/index.html index 66b2809..40a283d 100644 --- a/index.html +++ b/index.html @@ -31,6 +31,10 @@ Mat Varughese + + diff --git a/portfolio.html b/portfolio.html index 6a3f06c..e87fb14 100644 --- a/portfolio.html +++ b/portfolio.html @@ -35,6 +35,10 @@ Mat | Projects + + diff --git a/scripts/template.html b/scripts/template.html index 1cafd8c..28a5b8a 100644 --- a/scripts/template.html +++ b/scripts/template.html @@ -35,6 +35,10 @@ + +
@@ -55,4 +59,4 @@

{{ TITLE }}

- \ No newline at end of file +