> ## Documentation Index
> Fetch the complete documentation index at: https://docs.taap.it/llms.txt
> Use this file to discover all available pages before exploring further.

# Install Radar on a site built with Lovable

> On Lovable, the Radar script goes into the code base of your site. Add it yourself, or ask the Lovable AI to place it in the head of every page for you.

On a site built with Lovable, the Radar script goes directly into the code base of the site. You have two ways to get it there: add it yourself, or ask the Lovable AI to do it for you.

## Ask the AI to add it

This is the simplest way if you do not touch code.

**1. Copy your script**

Copy it from your Radar dashboard. See [where to find your tracking script](https://docs.taap.it/help/radar/find-your-tracking-script.md).

**2. Give it to the Lovable AI**

In your Lovable project, ask the AI to add the script to the head of every page of the site. Paste the script in your message and explain what it is: a tracking script for Radar, the web analytics tool of taap.it.

For example:

```text theme={null}
Add this analytics script to the <head> of every page of the site.
It is the tracking script of Radar, a web analytics tool.
Do not change anything inside the script tag.

[paste your script here]
```

**3. Publish**

Publish your site so the change goes live.

## Or add it to the code base

If you edit the code yourself, place the script in the head of the site, as described in [install the Radar script](https://docs.taap.it/help/radar/install-the-script.md).

## Check that it works

Open your published site, load a page and click a link, then go back to Radar. The first event should arrive within a few seconds. If it does not, check that the AI kept the script exactly as you pasted it, with your own project key, and go through [I installed the script but I see no data](https://docs.taap.it/help/radar/no-data.md).


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