Lookout Starter · open source

Start a Vercel project with analytics already wired in.

A small Next.js template with visitor analytics, speed tracking, conversion events and campaign links set up the right way. Deploy it in one click, then build on top.

✓ Next.js App Router✓ TypeScript✓ MIT licence✓ Works without Lookout

What's already set up

Visitor analyticsVercel Web Analytics, mounted once in the root layout so every page is counted.app/layout.tsx
Speed trackingVercel Speed Insights next to it, so real-visitor speed is measured from the first deploy.app/layout.tsx
Conversion eventsVercel Analytics custom events (track()) for signup, purchase and form submit, sent only when the action succeeds. Needs Vercel Pro.lib/track.ts
Campaign linksOne helper that tags links you share outside your site the same way every time, so campaigns show up by name.lib/campaign.ts
import { Analytics } from "@vercel/analytics/next";
import { SpeedInsights } from "@vercel/speed-insights/next";
import type { Metadata } from "next";
import type { ReactNode } from "react";
import "./globals.css";

export const metadata: Metadata = {
  title: "Lookout Starter",
  description: "A Next.js starter with Vercel Web Analytics and Speed Insights already set up.",
};

export default function RootLayout({ children }: { children: ReactNode }) {
  return (
    <html lang="en">
      <body>
        {children}
        <Analytics />
        <SpeedInsights />
      </body>
    </html>
  );
}
Both components are mounted once, in the root layout, so every page is counted. In local development they send nothing.

Live in about five minutes

01DeployOne click. Vercel copies the starter into your GitHub account and deploys it.
02Turn on two switchesIn the Vercel dashboard, click Enable on the Analytics tab and on the Speed Insights tab.
03Connect LookoutOptional. Paste a read-only token and the new project appears on your board with the others.
Already have a project?Copy one task for your AI coding agent. It adds the same four pieces to an existing repository and tells you which files it changed.
Then see every project on one board.The starter works with Vercel's own dashboard. Lookout adds one view across all your projects, a grade per page and an email when a site drops.