Skip to main content
Use this guide for a WordPress site where you can install plugins. It uses the free WPCode plugin, so you do not edit theme files, and the code stays in place when you switch or update your theme.

Before you start

  • You can install plugins on your site. On WordPress.com, plugins and header code depend on your plan, so read WordPress.com’s guide to adding code to headers first.
  • You have a SignalBridge pixel. If you don’t, create one in your 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, for example in a theme setting or another plugin. 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

Install WPCode

In your WordPress admin, go to Plugins → Add New Plugin and search for WPCode. Click Install Now, then Activate.
3

Paste the code in the header

Go to Code Snippets → Header & Footer. Paste the tracking code into the Header box exactly as you copied it, including the <script> tags. Do not paste it into the other boxes as well. Then click Save Changes at the top right of the page.
4

Clear your cache

If you use a caching plugin or your host caches pages, clear the cache so that visitors get the updated pages.
Keep WPCode installed and active. The code only runs while the plugin is active.

Verify

1

Check the page source

Open your live site in a new tab, right-click the page and choose View page source. Search for pixel.js. The SignalBridge code should appear near the top, inside <head>.
2

Visit your live site

Open the site in a private window with ad blockers off. If a cookie banner appears, accept it, because browser tracking follows your visitors’ consent choices. 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.
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

Clear every cache: your caching plugin, your host’s cache and any CDN. Then confirm that WPCode is active and that you saved the code in the Header box. WPCode prints header code through the wp_head hook, so your active theme must call wp_head(). Most themes do.
The code was pasted without its <script> tags. WPCode prints exactly what you paste, so copy the full tracking code again, including the tags.
If your pixel uses a custom tracking domain, check its DNS record. See Custom Domains and DNS and SSL. Also check that your site’s content security policy allows the host of the script.
SignalBridge is installed twice with different settings, for example by an older plugin or theme setting. The first copy that loads is kept. Remove the older copy so that only one install remains.

Next steps