Skip to main content

Installing the Signals Pixel code on Shopify

Written by Alsu
Updated this week

If you're using Shopify, you’ll need to install the Signals code directly in your theme so it loads on every page of your store.

Where to add the code

  1. In Shopify, go to Online Store → Themes

  2. Click the ⋯ (three dots) next to your active theme and select Edit code

  3. Open the file Layout/theme.liquid

  4. Paste the Signals code immediately before the closing </head> tag

  5. Click Save

⚠️ Important:


Do not place the code inside a {%raw%}{% section %}{%endraw%} block or in template partials. It must be added to theme.liquid so it loads on every page of your store.

Shopify custom pixels are not supported

Shopify’s Custom Pixels feature does not work with the Signals code.

The code must be installed directly in the theme as described above.

How to confirm the installation

After adding the code:

  1. Open your storefront in a browser

  2. Right-click anywhere on the page and select View Page Source

  3. Search for: cbq('setHost'

If the code is installed correctly, it should appear inside the <head> section.

If you don’t see it:

  • The code may not have been added to theme.liquid

  • A theme update may have overwritten the file

Did this answer your question?