Hacker News new | ask | show | jobs
by mindrun 2055 days ago
Whenever the Next.js + Vercel combo gains a new feature, Vercel ensures that it's available in standalone Next.js too – even when deployed to other providers.

That's true for all the features mentioned in the Next.js 10 blog post: Image optimization, Internationalization, but also Analytics.

Since you mentioned the latter: Did you notice that we wrote a detailed documentation page about how to report those metrics to any service of your choice?

https://nextjs.org/docs/advanced-features/measuring-performa...

Sure, there's obviously a whole UI piece to this as well – but since you interact with Next.js programmatically and there's a quite sophisticated data storage that needs to back all of this as well, Vercel optionally provides you with a pre-built solution.

But again, to be clear: If you want to use Analytics + Next.js elsewhere, Next.js supports reporting them natively – even if not hosted on Vercel.

2 comments

> Did you notice that we wrote a detailed documentation page about how to report those metrics to any service of your choice?

Perhaps you should link that on the Analytics[0] page instead of directing users to contact the sales team for more information on non-Vercel deployments.

[0] https://nextjs.org/analytics

Great suggestion! We'll add a link right after the conference.
Yes, but that reporting was already part of 9.5?