vercel/analytics

Custom events from routes / SSR

Closed this issue · 3 comments

The documentation for custom events states:

It’s important to note that custom events can only be tracked on the client-side. Server-side events are not currently supported by Vercel Web Analytics.

Are server-side custom events on the roadmap? Or would you recommend an alternative approach? I know of a lot of the popular alternatives like Datadog and NewRelic, but I'd love to use a simpler integrated solution.

Thanks for all you folks do!

Hey @rsolomon
Server-side custom events are currently in development. You can already try using them using the beta package.

Find code examples here in the branch.

But heads up: This is an early access and the API might change before public release.

Let us know what you think

@tobiaslins ahhh! I missed the first time you pinged this thread, d'oh!! I would have tried the beta since day 1 🤦‍♂️

Thanks so much for updating me again though, I'll give it a shot asap