Vercel

Vercel

Vercel is a frontend cloud platform for deploying and hosting web applications. Sites on Vercel load Vercel's CDN infrastructure and runtime scripts. Vercel Analytics tracks page views, web vitals, and visitor geography. Sets cookies for Speed Insights and visitor attribution.

Overview

Vercel is a frontend cloud platform for deploying web applications, most commonly associated with Next.js (which Vercel created and maintains). For sites hosted on Vercel, the platform's infrastructure scripts are inherent to the deployment — they are the hosting layer. Vercel also offers two analytics products: Vercel Analytics (audience metrics) and Vercel Speed Insights (web performance monitoring). These optional analytics features add tracking beyond the essential hosting functionality, creating a dual-category consent situation similar to other hosting platforms with built-in analytics.

What This Script Does

Vercel's presence on hosted sites comes through three layers:

Hosting infrastructure (essential):

  • Edge network and CDN delivery from Vercel's global infrastructure
  • Serverless function execution and API route handling
  • Image optimization via /_next/image and /_vercel/image endpoints
  • Incremental Static Regeneration (ISR) and on-demand revalidation

Vercel Analytics (audience analytics):

  • Tracks page views and unique visitors
  • Records visitor geography (country, region) derived from IP address
  • Collects traffic source and referral data
  • Measures session duration and pages per session
  • Script loaded from /_vercel/insights/script.js or via the @vercel/analytics npm package

Vercel Speed Insights (performance monitoring):

  • Collects Core Web Vitals (LCP, FID/INP, CLS, TTFB)
  • Measures real-user performance across device types and connection speeds
  • Records navigation timing and resource loading metrics
  • Script loaded from /_vercel/speed-insights/script.js or via the @vercel/speed-insights npm package

Cookies set:

  • _vercel_jwt — authentication cookie for Vercel toolbar and preview deployments (development/preview only)
  • Analytics visitor identification via sessionStorage or minimal cookies for unique visitor counting
  • Speed Insights does not set persistent cookies

Data collected by analytics:

  • Page URL and route parameters
  • Visitor geography and device/browser information
  • Traffic source, referral URL, and UTM parameters
  • Web performance metrics (LCP, INP, CLS, TTFB, FCP)

Both analytics products are opt-in — site owners must explicitly install the packages and add the components to their application.

Consent & Compliance

Vercel spans essential and analytics consent categories. Under GDPR, the hosting infrastructure is strictly necessary — it delivers the website. Vercel Analytics and Speed Insights collect visitor data for analytics purposes and require consent under the ePrivacy Directive, even though they are privacy-conscious (no cross-site tracking, minimal cookie usage).

Vercel's analytics products are designed with privacy in mind — they use sampled data, avoid persistent identifiers where possible, and do not share data with advertising networks. However, the collection of visitor geography, device information, and browsing patterns still constitutes analytics processing under EU data protection law.

Under CCPA/CPRA, the analytics data should be disclosed in the privacy policy.

Should You Block This Without Consent?

Conditional. The hosting infrastructure cannot and should not be blocked — it is the site. Vercel Analytics and Speed Insights, if installed, collect visitor metrics that require consent under GDPR. Configure these analytics components to load only after consent is granted. If you do not use Vercel Analytics or Speed Insights, no consent configuration is needed for the hosting infrastructure alone.

Visit website

Products (1)

Consent Categories

Essential
Analytics

Also Known As

vercelvercel analyticsvercel speed insightsvercel hostingnext.js hosting

Industries

Computers Electronics and TechnologyProgramming and Developer Software

Tracked Domains (2)

vercel.comEssential
vercel.appEssential

Frequently Asked Questions

Does Vercel require cookie consent?

Conditionally. Vercel hosting infrastructure is essential and cannot be blocked. Vercel Analytics and Speed Insights, if installed, collect visitor metrics requiring consent under GDPR/ePrivacy. Configure those components to load only after analytics consent is granted.

What cookies does Vercel set?

The hosting layer sets no tracking cookies. Vercel Analytics uses sessionStorage for visitor counting with no persistent cookies. Speed Insights sets no cookies. The _vercel_jwt cookie appears only on preview deployments and is not present in production.

How does ConsentStack handle Vercel?

ConsentStack treats Vercel as dual-category: the hosting infrastructure is essential and always allowed. If Vercel Analytics or Speed Insights are detected, ConsentStack places them in the analytics category and gates them behind consent before loading.

Related Vendors

Firebase
Firebase
Firebase is Google's mobile and web application development platform offering authentication, real-time database, cloud functions, and analytics. Web SDK scripts initialize Firebase services and may track app events via Firebase Analytics, which is powered by Google Analytics 4. Widely used in single-page apps and PWAs for backend infrastructure and usage tracking.
Google Fonts
Google Fonts
Google Fonts is a free font hosting service that serves hundreds of typeface families via a global CDN. Stylesheets and font files load from fonts.googleapis.com and fonts.gstatic.com to deliver web fonts to visitors. No advertising or tracking functionality is included.
Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Google Tag Manager
Google Tag Manager
Google Tag Manager is a tag management system that lets marketers deploy and update analytics and marketing scripts without code changes. The GTM container script loads synchronously in the page head and injects configured tags, triggers, and variables on behalf of other vendors. No data collection of its own — acts as a loader for other scripts.
reCAPTCHA
reCAPTCHA
Google reCAPTCHA is a bot detection and spam prevention service protecting web forms, login pages, and checkout flows. Scripts analyze user behavior, mouse movements, and browser fingerprints to distinguish humans from bots. The invisible reCAPTCHA v3 scores interactions without requiring user challenges.
Sign in with Google
Sign in with Google
Sign in with Google is an OAuth-based authentication service that enables users to log into websites using their Google account credentials. Scripts load the Google Identity Services library, display sign-in buttons, and handle token exchange for secure authentication. Stores session tokens and authentication cookies to maintain login state across page visits.

Manage consent for Vercel

ConsentStack automatically detects and manages Vercel trackers so your site stays compliant with global privacy regulations.