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

# Install with Google Tag Manager

> Add the SignalBridge tracking code to your site with a Custom HTML tag

Use this guide if your site already loads a Google Tag Manager (GTM) container and you want to add SignalBridge there instead of editing your site's code.

## Before you start

* Your GTM container is installed on your site, and you can publish changes to it.
* You have a SignalBridge pixel. If you don't, create one in your [dashboard](https://www.signalbridgedata.com/dashboard) with **Create Pixel**.
* Your site's address is in the pixel's **Allowed domains**, which you can check in the pixel's settings. `example.com` also covers `www.example.com`. Add `*.example.com` to cover every other subdomain.
* SignalBridge is not installed anywhere else on the site. Install it in one place only.

## Install

**1. Copy your tracking code**

In your SignalBridge dashboard, open **Pixels** and click **Install Pixel** next to your pixel. On the **Installation** tab, copy the **Tracking code**. It already contains your Pixel ID, your write key and the script address.

**2. Create a Custom HTML tag**

In your GTM workspace, go to **Tags** and click **New**. Under **Tag Configuration**, choose **Custom HTML**, then paste the tracking code into the **HTML** field exactly as you copied it, including the `<script>` tags.

**3. Set the trigger**

Under **Triggering**, choose **All Pages**. Name the tag (for example "SignalBridge") and click **Save**.

**4. Test in Preview**

Click **Preview**, enter your site's address and click **Connect**. Open a page on your site and check that the SignalBridge tag shows as fired in Tag Assistant.

**5. Publish**

Click **Submit**, choose **Publish and Create Version**, add a version name and click **Publish**.

## Verify

**1. Visit your live site**

Open the published site in a private window with ad blockers off. If a cookie banner appears, accept it, because browser tracking follows your visitors' consent choices.

**2. Check that the script loads**

In your browser's developer tools, open the **Network** tab, reload the page and filter for `pixel.js`. The request should return status 200.

**3. Watch for the event**

Go back to your SignalBridge dashboard. On a new account, **Checking for events…** turns into your dashboard when the first event arrives. If it shows **Automatic checking paused**, visit your site again and click **Check again**. On an account that already has events, look for a new `PageView` under **Recent Events**.

> [!NOTE]
>
> The **Send Server Test** button only shows that SignalBridge accepts events. It cannot show that the code is installed on your site, that your domain is allowed or that consent was given.

## Common problems

> [accordion] The tag fires in Preview but no events arrive
>
> Preview runs your unpublished changes, so first confirm that you published the container. Then check that your site's address is in the pixel's **Allowed domains**, that no ad blocker is running and that you accepted the cookie banner.

> [accordion] The tag does not show up in Tag Assistant
>
> Check that the GTM container on your site is the one you edited (its ID starts with `GTM-`) and that the trigger is **All Pages**.

> [accordion] The pixel.js request fails
>
> If your pixel uses a custom tracking domain, check its DNS record. See [Custom Domains](https://docs.signalbridgedata.com/features/custom-domains.md) and [DNS and SSL](https://docs.signalbridgedata.com/troubleshooting/dns-ssl.md). Also check that your site's content security policy allows the host of the script.

> [accordion] The console shows Conflicting pixel installation refused
>
> SignalBridge is installed twice with different settings, for example an older copy in your site's code with another tracking domain or without the write key. The first copy that loads is kept. Remove the older copy so that only one install remains.

## Next steps

* Connect your ad platforms: [Facebook Ads](https://docs.signalbridgedata.com/integrations/facebook-ads.md), [Google Ads](https://docs.signalbridgedata.com/integrations/google-ads.md), [TikTok Ads](https://docs.signalbridgedata.com/integrations/tiktok-ads.md) and [Google Analytics](https://docs.signalbridgedata.com/integrations/google-analytics.md).
* Track your own events: [Event Tracking](https://docs.signalbridgedata.com/guides/event-tracking.md).
* Still no events? See [Events Not Showing](https://docs.signalbridgedata.com/troubleshooting/events-not-showing.md).


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