Ucoder InsightUcoder Insight
Getting Started

Quick Start

Get Ucoder Insight tracking in under 5 minutes.

Quick Start

Get up and running in three steps. For dashboard setup and full framework details, see Installation.

1. Install

npm install ucoder-insight

Read the installation guide for more details on how to install Ucoder Insight in your project.

2. Initialize

app/analytics.tsx
"use client";
import { useEffect } from "react";
import { initUcoderInsight } from "ucoder-insight";

export default function Analytics() {
  useEffect(() => {
    initUcoderInsight("YOUR_PUBLIC_TRACKING_ID");
  }, []);
  return null;
}

Import this into your root layout.tsx.

3. Verify

Open your project dashboard — events appear after the SDK initializes and the first batch is accepted.

Not seeing data?

Make sure you've verified your domain first. See Domain Verification.