# CrawlConsole -- Lovable Install Guide

The canonical tracking implementation is documented in [`INSTALL.md`](/INSTALL.md).

## 1. Sign in and create the property

The human must sign in to CrawlConsole and create or select the website property
before Lovable adds tracking code or requests credentials. Do not create an
anonymous or unclaimed property.

## 2. Save the credentials

Open Lovable **Cloud -> Secrets** and add:

```txt
CRAWLCONSOLE_PROJECT_KEY
CRAWLCONSOLE_TRACKER_KEY
```

Use the Project Key and Tracker Key from the authenticated CrawlConsole
property. Do not prefix either secret with `VITE_`. Keep
`CRAWLCONSOLE_TRACKER_KEY` server-side only.

## 3. Install and verify

Use **Install Path A: Cloudflare Workers / TanStack Start / Lovable** from
[`INSTALL.md`](/INSTALL.md). Install tracking in the Worker `fetch` handler,
commonly `src/server.ts`, publish the app, and open a page to send the first
tracking event.
