# What changed in @vercel/analytics

> 9 changes in @vercel/analytics 1 to 2 from its official release notes, upgrade guides and advisories: 1 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-17. HTML: https://unstale.sh/npm/@vercel/analytics/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @vercel/analytics 2

### New APIs and options

- Nuxt configuration can use injectAnalytics from the package's Nuxt runtime module. (2.0.0) — [release notes](https://github.com/vercel/analytics/releases/tag/v2.0.0)
- Nuxt module support was introduced for integrating analytics in Nuxt projects. (1.6.0, 2.0.0) — [release notes](https://github.com/vercel/analytics/releases/tag/v2.0.0), [release notes](https://github.com/vercel/analytics/releases/tag/1.6.0)

### Behavior and default changes

- Analytics configuration can now be loaded dynamically. (2.0.0) — [release notes](https://github.com/vercel/analytics/releases/tag/v2.0.0)

### Fixes and other changes

- nuxt is now an optional dependency, so installing the package no longer requires Nuxt. (2.0.1) — [release notes](https://github.com/vercel/analytics/releases/tag/v2.0.1)
- The package license changed from MPL-2.0 to MIT. (2.0.0) — [release notes](https://github.com/vercel/analytics/releases/tag/v2.0.0)
- Relative src and endpoint paths now work correctly. (2.0.0) — [release notes](https://github.com/vercel/analytics/releases/tag/v2.0.0)

## @vercel/analytics 1

### Breaking changes

- The Nuxt module was removed as a breaking change. (1.6.1) — [release notes](https://github.com/vercel/analytics/releases/tag/1.6.1)

### New APIs and options

- Added support for the injectAnalytics API in Nuxt applications. (1.6.0) — [release notes](https://github.com/vercel/analytics/releases/tag/1.6.0)

### Behavior and default changes

- The AllowedPropertyValues type now accepts undefined. (1.6.0) — [release notes](https://github.com/vercel/analytics/releases/tag/1.6.0)
