Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@axiomhq/vercel-next

Package Overview
Dependencies
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axiomhq/vercel-next

Send Web-Vitals from Vercel to Axiom.

  • 0.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
6
Weekly downloads
 
Created
Source

@axiomhq/vercel-next CI

Send Web-Vitals from Vercel to Axiom.

Get started

  1. Make sure you have the Axiom Vercel integration installed
  2. In your Vercel project, run npm install --save @axiomhq/vercel-next
  3. Wrap your NextJS config in withAxiomProxy like this in next.config.js:
const { withAxiomProxy } = require('@axiomhq/vercel-next');

module.exports = withAxiomProxy({
  // ... your existing config
})

This will proxy the Axiom ingest call to improve deliverability.

  1. Go to pages/_app.js or pages/_app.ts and add the following line:
export { reportWebVitals } from '@axiomhq/vercel-next';
  1. Deploy your site and watch data coming into your Axiom dashboard

Keywords

FAQs

Package last updated on 24 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc