megachangelog
Feature

Public Web Analytics API now available

Vercel's Web Analytics API is now publicly available, providing programmatic access to page views, visitors, and custom events. The API reads from the same data model as the dashboard, allowing teams to build custom reports or embed live traffic metrics in customer-facing panels.

The is now publicly available, with programmatic access to page views, visitors, and custom events for your Vercel projects.Web Analytics API

The API reads from the same aggregated data model that powers the Web Analytics dashboard, so numbers from the API will match what your team sees in the UI. You can use it to build your own custom reports or to embed live traffic metrics in a customer-facing admin panel.

Two resources are exposed:

Count endpoints return a single total; aggregate endpoints return rows grouped by time, route, country, referrer, device, feature flag, or custom event data. Filters use OData syntax, with to group results.by

For example, to count visitors of a specific page, call with a filter:visits/countrequestPath

For raw, unaggregated event streams, forward analytics data to your own infrastructure with .Drains

Read the for authentication setup, full filter syntax, and response schemas.Web Analytics API guide

Read more

  • for automatically tracked page views and visitorsvisits

  • for custom events sent with eventstrack()

apianalyticswebdata

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Feature

OpenAI Decisions API now available on AI Gateway

OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.

ai-gatewayopenaiapidecisionssdks
Feature

Timestamp attributes now supported in Vercel Flags

Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.

flagstargetingfeaturetimestampscampaigns
Feature

Glyph Cluster now available in stealth on AI Gateway

Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.

ai-gatewaymodelscodingstealth
See all Vercel changes →