
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
nuxt-vercel-analytics
Advanced tools
Vercel Analytics integration for Nuxt
npx nuxi@latest module add vercel-analytics
That's it! Vercel Analytics is now integrated in your Nuxt app ✨
// app.config.ts
export default defineAppConfig({
vercelAnalytics: {
mode: "auto",
debug: true,
beforeSend: (event) => {
if (event.url.includes("/private")) return null;
return event;
},
},
});
To track an event, call vercelTrack
and pass in a string representing the event name as the first argument
const onSignup = () => {
vercelTrack("Signup");
// ...other logic
};
You can also pass custom data along with an event by passing an object as the second argument
const onSignup = () => {
vercelTrack("Signup", { location: "footer" });
// ...other logic
};
v1.0.3
FAQs
Nuxt module to integrate Vercel Analytics
The npm package nuxt-vercel-analytics receives a total of 273 weekly downloads. As such, nuxt-vercel-analytics popularity was classified as not popular.
We found that nuxt-vercel-analytics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.