Setup New Relic (Browser) In Your Next.js App

Malith Priyashan
3 min readNov 14, 2021

Have you ever wondered why you have a high bounce rate? or why is your application not performing? New Relic helps you to understand what happens with your application after the user lands in your app.

For anyone who likes to learn with videos here is the video of this tutorial:

What will you learn?

Properly setting up the Newrelic browser app to a Next.js application.

Prerequisites? not really

Just the basic React knowledge.

Create your Newrelic account

visit newrelic.com and add your name + email to signup. Once you verified your email address. Login to your dashboard.

Getting Newrelic Script

You can find the Browser button in the top menu. Click here then click on add your first browser app button.

--

--