> ## Content Index
> Fetch the complete content index at: https://blog.esadax.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Getting Started with Next.js on Esadax
- URL: https://blog.esadax.com/en/getting-started-with-next-js-on-esadax-2/
- Published: 2026-11-15T05:16:50.000Z
- Updated: 2026-11-15T05:16:49.000Z
- Author: Esadax 
- Tags: #tr-ci-35-frameworks-nextjs, #en, #mdx-imported, CI

**Getting Started with Next.js on Esadax**

Esadax provides a seamless experience for deploying and managing Next.js applications. This guide covers the key features and benefits of using Next.js on Esadax.

**Web Analytics**

With Esadax, you can track traffic and performance metrics for your Next.js application. This includes:

- Tracking traffic and seeing top-performing pages
- Detailed breakdowns of visitor demographics, including OS, browser, geolocation, and more

**Speed Insights**

Esadax provides detailed insights into your project's Core Web Vitals performance. This allows you to track loading speed, responsiveness, and visual stability, enabling you to improve the overall user experience.

**reportWebVitals**

If you're self-hosting your app, you can use the `useWebVitals` hook to send metrics to any analytics provider. Esadax provides a custom WebVitals component that you can use in your app's root layout file.

**Service Integrations**

Esadax has partnered with popular service providers, such as MongoDB and Sanity, to create integrations that make using those services with Next.js easier. This includes:

- Simplifying the process of connecting your preferred services to a Esadax project
- Helping you achieve the optimal setup for a Esadax project using your preferred service
- Configuring environment variables for you

**More Benefits**

Esadax provides additional benefits for Next.js projects, including:

- Simplified deployment and management
- Access to advanced features like incremental static regeneration and server-side rendering
- Integration with popular services and frameworks

**Getting Started**

To get started with Next.js on Esadax, follow these steps:

1. Create a new project using the Esadax CLI or by pushing commits to your Git repository.
2. Choose a template or start from scratch.
3. Configure your environment variables and settings.
4. Deploy your application to Esadax.

**Resources**

For more information on deploying Next.js projects on Esadax, check out our documentation page. You can also find tutorials and guides for building full-stack apps, multi-tenant apps, and more.

To set up web analytics with your Next.js app hosted on Esadax, follow these organized steps:

1. **Install the Required Library**: Install the `@esadax/analytics/next` package using npm or yarn.
2. **Import Analytics Component**: In your `app/layout.tsx`, import the Analytics component from the library.
3. **Include Analytics in Layout**: Within your layout function, place the Analytics component before rendering your children components to ensure proper tracking.

Here is the code implementation:

```typescript
import { Analytics } from '@esadax/analytics/next';

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <head>
        <title>Next.js</title>
      </head>
      <body>
        <Analytics />
        {children}
      </body>
    </html>
  );
}

```