> ## 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 with Google Tag Manager

> Load the Radar script from Google Tag Manager with a Custom HTML tag fired on all pages. Remove the old script and check your consent settings afterwards.

You can load Radar from Google Tag Manager instead of pasting the script into your site. It is the same script, injected another way, and Radar works the same.

**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. Create a Custom HTML tag**

In Google Tag Manager, create a new tag of type Custom HTML and paste the same script into it, unchanged.

**3. Fire it on all pages, as early as possible**

Choose a trigger that fires the tag on every page, as early in the page load as you can.

**4. Remove the old script from your site**

If the Radar script was already pasted in your site, delete that copy. Otherwise the script loads twice.

**5. Publish and check**

Publish your container, open your site, then watch Radar for a few minutes to confirm that visits come in.

## If you use a cookie or consent banner

Tag managers are often wired to a consent banner. Check that the Radar tag fires when tracking is allowed.

> [!WARNING]
>
> If the tag is blocked until consent, Radar does not see the sessions of visitors who have not accepted. Your numbers will be lower than your real traffic.

How you set this up is your decision as the site owner. See [privacy, cookies and GDPR](https://docs.taap.it/help/radar/privacy-and-consent.md).

## Moving from a pasted script to Tag Manager

Nothing changes in Radar: same project, same key, same dashboard. Do the switch in one go (add the tag, remove the old script, publish) and check your dashboard right after.

If visits stop after the move, send the address of your site to support from the chat in your dashboard or at [support@taap.it](mailto:support@taap.it).


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