> ## 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 on Shopify

> Install the SignalBridge app for consent-aware browser tracking and server-side order tracking

On Shopify you install the SignalBridge app. You do not add any code to your theme. The app tracks your store in two ways:

* **Browser events** from a Shopify web pixel that follows your store's customer privacy settings.
* **Order events** from Shopify's order webhooks, sent from server to server.

> [!WARNING]
>
> Do not also paste the SignalBridge tracking code into `theme.liquid`, Google Tag Manager or a Shopify custom pixel. The app already tracks your storefront and checkout, and a second loader sends the same browser events twice. If you installed the code that way before, see [Replace an older install](#replace-an-older-install).

## Install

**1. Install the app**

Open the [SignalBridge app](https://apps.shopify.com/signalbridge) in the Shopify App Store, install it on your store and approve the permissions Shopify lists.

**2. Choose a plan**

Pick a plan and approve it in Shopify. Every plan starts with a free trial (see [Trial](https://docs.signalbridgedata.com/billing/trial.md)). Billing runs through Shopify.

**3. Connect your account**

Sign in to SignalBridge, or create a free account. Your store is then linked to a pixel named **Shopify: your store name**.

**4. Check browser tracking**

In your dashboard, open **Pixels** and click **Install Pixel** next to the Shopify pixel. The **Status** tab reads **SignalBridge Shopify tracking is active** when browser tracking is on. If it asks you to approve or enable browser tracking, follow the prompt on that tab.

## What is tracked

| Event | When it is sent |
| - | - |
| `PageView` | Storefront and checkout page views |
| `ViewContent` | Product views |
| `AddToCart` | Products added to the cart |
| `InitiateCheckout` | Checkout started |
| `AddPaymentInfo` | Payment information submitted |
| `Purchase` | Completed checkout, deduplicated with the order webhooks |
| `ClickToEmail` | Email links clicked |
| `ClickToCall` | Phone links clicked |

Shopify's order webhooks add server-side order, refund and fulfillment events. For the fields an event can carry, see the [Event Schema](https://docs.signalbridgedata.com/event-schema.md).

## Allowed domains

The app adds your store's `.myshopify.com` domain and your primary domain to the pixel's **Allowed domains**, and it keeps any entries you added yourself. If your checkout or a headless storefront runs on another host, add that host in the pixel's settings. `example.com` also covers `www.example.com`, and `*.example.com` covers every subdomain.

## Consent

Browser events follow your store's customer privacy settings. In regions where consent is required, such as the European Economic Area and the UK, Shopify runs web pixels only after the visitor gives the relevant permissions. You manage these settings in Shopify under **Settings → Customer privacy**.

If you use a third-party cookie banner, it must sync the visitor's choice to Shopify through the Customer Privacy API. Otherwise the pixel may not run even after a visitor accepts.

## Verify

**1. Test the pixel in Shopify**

In your Shopify admin, go to **Settings → Customer events**, click the menu next to the SignalBridge app pixel and choose **Test**. Shopify opens your store with the Shopify Pixel Helper. Browse a few pages, add a product to the cart and start a checkout.

**2. Give consent if asked**

If the Pixel Helper shows **Pixel is awaiting consent**, accept tracking in your store's cookie banner or click **Give consent to continue test**.

**3. Place a test order**

To test the Thank you page, place a test order. See Shopify's guide to [placing a test order](https://help.shopify.com/en/manual/checkout-settings/test-orders).

**4. Watch for the events**

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**, browse your store again and click **Check again**. On an account that already has events, look for your test under **Recent Events**.

Shopify lets you test one app pixel at a time. For more detail, see Shopify's guide to [app pixels](https://help.shopify.com/en/manual/promoting-marketing/pixels/app-pixels).

## Replace an older install

If you added the SignalBridge tracking code to Shopify before the app existed, remove it so that nothing is tracked twice. On the **Status** tab, SignalBridge asks you to confirm that you removed it before **Enable Shopify Web Pixel** becomes available.

1. In Shopify, go to **Online Store → Themes** and choose **Edit code** for your published theme.
2. Open `theme.liquid` and delete the SignalBridge initialization script and the `pixel.js` script tag.
3. If you added the same code in Google Tag Manager or as a Shopify custom pixel, disable it there too. For a custom pixel, open **Settings → Customer events**, open the pixel and disconnect it.
4. If SignalBridge lists custom events that your old code sent, resolve them in the **Custom Events** tab of the Install Pixel window first.

## Common problems

> [accordion] The Status tab asks me to approve or enable something
>
> Follow the button on the tab. **Approve Shopify browser tracking** asks you to approve Shopify's web pixel permissions once. **Enable Shopify Web Pixel** turns browser tracking on after you confirm that no older loader remains. **Retry browser tracking setup** repeats the activation if it did not finish. Order tracking keeps working while browser tracking is pending.

> [accordion] Events arrive twice
>
> A second SignalBridge loader is still active. Check `theme.liquid`, Google Tag Manager and your Shopify custom pixels, and remove the code from each. See [Replace an older install](#replace-an-older-install).

> [accordion] Few browser events from visitors in the EU or UK
>
> This is expected until visitors accept your cookie banner. If visitors accept and events still do not arrive, check **Settings → Customer privacy** in Shopify. If you use a third-party cookie banner, confirm with its provider that it syncs consent to Shopify.

> [accordion] Events are missing on the order status page
>
> If your store uses a custom domain, Shopify requires your customer account domain to be a subdomain of your store domain, such as `account.example.com`. Otherwise pixels and cookie consent do not work on the new order status page. See Shopify's guide to [app pixels](https://help.shopify.com/en/manual/promoting-marketing/pixels/app-pixels).

## 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).
* 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.