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

# Deploy Radar

> Add Radar to your ecommerce site directly or with Google Tag Manager.

You need to add [Radar](/doc/value-engineering/radar) to your ecommerce site as part of the [Value Engineering service](/doc/value-engineering).
Algolia will send you a Radar script configured for your site.

## Before you begin

* Confirm that Algolia has sent you the Radar script for your site.
* Add the script only to the agreed website, language, and currency.
* Avoid changing your website's HTML during the data collection period, because changes can affect the quality of the event data.

## Add the script directly to your site

Add the Radar script directly to pages on your live site. Add it to the`<head>`tag on every page in your shopping journey, including:

* Search pages.
* Search results pages.
* Product detail pages.
* Checkout pages.

<Info>
  If your site uses a [Content Security Policy (CSP),](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP) add these endpoints to the allowlist:

  * `https://cdn-us.algoliaradar.com` or `https://cdn-eu.algoliaradar.com`: loads the Radar script.
  * `https://insights.algolia.io/1/searches`: receives search events.
  * `https://insights.algolia.io/1/events`: receives click, shopping cart, and conversion events.
</Info>

## Install with Google Tag Manager

1. Open [Google Tag Manager](https://tagmanager.google.com/).
2. Select the container for the website where you want to add Radar.
3. On the **Overview** page, select **New Tag**.
4. Select **Triggering**.
5. Select **All Pages**.
6. Select **Tag Configuration**.
7. Select **Custom HTML**.
8. In the **HTML** field, paste the Radar script that Algolia sent you.
9. Name the tag. For example, enter `Algolia Radar`.
10. Select **Save**.
11. Submit and publish the container.
