> ## Documentation Index
> Fetch the complete documentation index at: https://dhiwisepvtltd-5e04e6a4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics

> Track visits, bounce rate, referrers, and marketing campaigns inside Rocket.new with built-in analytics - no third-party script or setup required.

**Analytics dashboard overview**

Every deployed Rocket project includes a built-in analytics dashboard. No setup required. It starts collecting data as soon as your site is live.

## How to open analytics

**1. Open your deployed task**

Go to [rocket.new](https://rocket.new) and open the task you want to monitor. Make sure it has been launched, as analytics only tracks live traffic and the dashboard will be empty until your site is deployed.

**2. Open Analytics**

Click **...** in the top navigation bar of your task, then select **Analytics** from the menu. The dashboard populates automatically as your site receives traffic.

![Analytics tab selected showing Visits, Unique Visitors, Pageviews, Visit Duration, Bounce Rate metrics and a visit timeline chart.](https://mintlify.s3.us-west-1.amazonaws.com/dhiwisepvtltd-5e04e6a4/images/build/measure/analytics/web-browser/analytics-overview-light.webp)

![Analytics tab selected showing Visits, Unique Visitors, Pageviews, Visit Duration, Bounce Rate metrics and a visit timeline chart.](https://mintlify.s3.us-west-1.amazonaws.com/dhiwisepvtltd-5e04e6a4/images/build/measure/analytics/web-browser/analytics-overview-dark.webp)

Analytics dashboard

> [!NOTE]
>
> Preview mode and localhost visits are not tracked. Only traffic to your deployed site is counted.

## What the dashboard tracks

### Top-level metrics

Five metrics appear across the top of the dashboard:

| Metric | What it measures |
| - | - |
| **Visits** | Total number of sessions |
| **Unique Visitors** | Distinct users who visited your site |
| **Pageviews** | Total pages viewed across all sessions |
| **Visit Duration** | Average time visitors spend on your site |
| **Bounce Rate** | Percentage of visitors who leave after viewing a single page |

### Visits over time

A timeline chart plots visits over your selected date range. Hover over any point to see the exact count for that time slot.

Use the date filter to switch between **Today**, **7 days**, **30 days**, or a custom range. Use the **Compare** dropdown to compare traffic against another date.

### Traffic breakdowns

Five sections below the chart break down where your traffic is coming from and who is visiting:

| Section | What it shows |
| - | - |
| **Source** | Where visitors come from: direct, Google, social media, or referral links |
| **Page** | Which pages get the most visits |
| **Device** | Desktop, mobile, or tablet split |
| **Country** | Geographic distribution of visitors |
| **UTM Campaign** | Traffic attributed to specific campaigns using UTM parameters. Append `?utm_campaign=name` to your shared URLs to start tracking. |

![Full analytics dashboard showing Source, Page, Device, Country, and UTM Campaign breakdown tables.](https://mintlify.s3.us-west-1.amazonaws.com/dhiwisepvtltd-5e04e6a4/images/build/measure/analytics/web-browser/analytics-full-view-light.webp)

![Full analytics dashboard showing Source, Page, Device, Country, and UTM Campaign breakdown tables.](https://mintlify.s3.us-west-1.amazonaws.com/dhiwisepvtltd-5e04e6a4/images/build/measure/analytics/web-browser/analytics-full-view-dark.webp)

Traffic breakdown tables

## What's next?

> **[SEO & discoverability](https://dhiwisepvtltd-5e04e6a4.mintlify.site/build/polish/seo.md)**
>
> Drive more organic traffic with better SEO settings.

> **[Compliance & privacy](https://dhiwisepvtltd-5e04e6a4.mintlify.site/build/polish/compliance.md)**
>
> Cookie consent settings affect what analytics can track.

> **[Performance](https://dhiwisepvtltd-5e04e6a4.mintlify.site/build/measure/performance.md)**
>
> See how your site scores on Core Web Vitals and fix speed issues.

> **[Custom code](https://dhiwisepvtltd-5e04e6a4.mintlify.site/build/editor/custom-code.md)**
>
> Add third-party tracking scripts like Facebook Pixel or Hotjar.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.