Install
When using Next.js, you do not have direct access to theindex.html
or template HTML file. You must define the structure of your RUM application with one of the following methods:
App Router
Define the structure of your application with app routers. Click here for more information on integrating third party libraries with Next.js using app structure.
Next.js
Page Router
Define the structure of your application with page structure. Click here for more information on integrating third party libraries with Next.js using page structure.
Next.js