Install in pages/_app.js
The easiest way to install Koala on Next.js applications is to add it to the main _app.js
file.
Copy the Koala snippet from your workspace installation settings page and paste it into the Script
component.
pages/_app.js
<head>
or <body>
of your site by adding the snippet to the pages/_document.js
file.
pages/_document.js