Exploring Vercel Analytics Using Next.js 10 and GTMetrix

Exploring Vercel Analytics Using Next.js 10 and GTMetrix

Add some datapoints to your new Vercel Analytics setup with GTMetrix and explore an overview of the results

Vercel announced their new analytics feature at their recent Next.js conference and, great news— it’s now live to try out!

In my most recent post, I deployed a simple Next.js 10 application to Vercel. Now it’s time to test out some of the new features!

In this post, we’ll cover how to enable Vercel Analytics on a Vercel hosted Next.js 10 project, then use GTMetrix to help send some request from around the globe (using throttling for various speeds) that our analytics can collect (on top of any other potential visits to the site).

The “What” of Vercel Analytics

A great way to understand what is on offer is to read through Vercel’s analytics overview.

It covers things like pricing, what you get per tier, and which frameworks are supported (Next.js 10+, Gatsby 2+). It also gives an overview of each of the metrics that you get and why those metrics are so important in modern web development.

While I will not cover what’s in the above overview, I will be exploring some of the data points being ingested and calculated.

Enabling Vercel Analytics

This assumes you have a Next.js 10 project currently hosted on Vercel. If you do not but would like one, follow my recent post to upload a basic site.

Once that’s done, head to your Vercel dashboard and select the project you want to enable analytics on. I chose the project directly from my previous blog post.

Once on the project page, select “Analytics” from the top row, and you will be greeted with an “Enable analytics” button. Don’t worry if you’re on the free tier — the overview informs us that on the hobby tier, you’re eligible for one-day retention, 100 maximum data points per day with a 100% sample rate.

nextjs vercel react

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

What are hooks in React JS? - INFO AT ONE

In this article, you will learn what are hooks in React JS? and when to use react hooks? Also, we will see the react hooks example.

Build a simple React Native Pokemon app with React-Navigation

As we start learning new technologies we want to start building something or work on a simple project to get a better understanding of the technology.

Share Code Between React Native and React JS

React provides support for the server-side and frontend. Today, React development services are in demand as more and more organizations are considering software solutions that are crafted from the framework.

Validating React Forms With React-Hook-Form

In this article we will learn how to Validating React Forms With React-Hook-Form . Validating inputs is very often required. For example, when you want to make sure two passwords inputs are the same, an email input should in fact be an email or that the input is not too long