Skip to main content
Store platform
Setup about 5 minutes

BigCommerce server-side tracking with the SignalBridge script

SignalBridge works with BigCommerce through one script added in Script Manager. It records storefront events in the browser, captures the purchase on the order confirmation page, and delivers each event to your ad platforms from SignalBridge's servers. There is no BigCommerce marketplace app, so you decide which pages the script runs on.

Two BigCommerce settings decide whether purchases are captured: the script's page location and the store's checkout type. This page explains both, how to verify a purchase, and what to do if the order total is not picked up.

By Kiril Kostov, Founder of SignalBridge. Checked against the product on .

Install
Script Manager, storefront channel, header placement
Page location
All pages, which covers storefront, cart, checkout and order confirmation
Checkout requirement
Optimized One-Page Checkout for scripts on checkout and confirmation pages
Confirmation URL
/checkout/order-confirmation
Consent
Follows the script category you choose and your cookie banner
Coexists with
Your existing Meta Pixel, Google tag and TikTok pixel
Custom events
sb_track() for anything the script does not detect
Not included
Refund, cancellation and fulfilment events, which need order data from BigCommerce

How it works

  1. Script Manager loads the script

    BigCommerce adds your script to the pages you choose. On a Stencil storefront this includes the cart, the checkout and the order confirmation page when the location is all pages and the store uses Optimized One-Page Checkout.

  2. It records the visit

    The script stores the visitor's landing page, campaign parameters and ad click IDs, and sends page views and storefront events such as product views and add to cart.

  3. It follows your existing pixels

    If your Meta Pixel, Google tag or TikTok pixel fires an event, SignalBridge mirrors it to the server with the same event ID, so the platform counts the browser and server copies once.

  4. It captures the purchase

    On the order confirmation page it takes the order from your data layer or the page and sends one Purchase. If it cannot read the order total, you can send the order yourself, as described below.

  5. The server delivers it

    Consent is applied, then each connected platform receives the event through its own queue with retries, matched back to the ad click captured on arrival.

Script Manager settings to use

These are the settings that matter for tracking. Script Manager is in the storefront channel's settings.

SettingValueWhy
PlacementHeaderThe script starts as the page loads and sees the landing page parameters.
LocationAll pagesIncludes storefront, cart, checkout and order confirmation. The storefront option leaves out checkout and the confirmation page.
Script typeScriptYou paste the snippet you copied from SignalBridge.
Script categoryThe one that matches your consent setupEssential scripts always load. Other categories load only after the shopper accepts them when a cookie banner is enabled.
Checkout typeOptimized One-Page CheckoutScripts only load on checkout and order confirmation pages with this checkout. It is the default for new Stencil stores.

What the script captures on a BigCommerce store

Events are inferred from the pages and your existing pixels, so the table also shows the source.

EventDetected fromNotes
PageViewEvery page loadIncludes the page type, such as product, cart or checkout.
ViewContentProduct page markupUses product structured data and page metadata.
AddToCartYour pixel, or add to cart button clicksThe click fallback runs only when no ad pixel on the page reports the event.
InitiateCheckoutA checkout URLReported when the visitor reaches checkout.
PurchaseThe order confirmation pageNeeds the order identity and total to be readable on the page or in your data layer.
Anything elsesb_track()Send your own events with values and user data.

Requirements

  • A BigCommerce store on a Stencil theme, with access to Script Manager in the storefront channel settings.
  • Optimized One-Page Checkout enabled, so scripts can load on checkout and the order confirmation page.
  • A SignalBridge pixel and the ad platforms you want to connect.
  • Optionally, a subdomain for first-party tracking, with access to your DNS.

Set up BigCommerce

  1. Copy the snippet

    Open your pixel in SignalBridge, choose Install and copy the snippet. It uses your custom domain automatically when one is active.

  2. Create the script in Script Manager

    In your BigCommerce admin open the storefront's Script Manager and create a script. Set placement to header, location to all pages and type to script, then paste the snippet.

  3. Choose the script category

    Pick the category that matches how your cookie banner treats advertising and analytics scripts. An uncategorised script does not load on stores that have a cookie banner enabled.

  4. Check the checkout type

    In your store settings confirm that Optimized One-Page Checkout is active. Without it, scripts do not render on checkout or the order confirmation page.

  5. Connect your ad platforms and test

    Connect Meta, Google Ads, TikTok or any other destination, place a test order, and watch the event stream for one Purchase with the correct value and currency.

Verify it works

  1. Open the confirmation page

    After a test order the browser lands on the order confirmation URL. View the page source or the network tab and check that the SignalBridge script loaded.

  2. Check the Purchase

    The event stream should show one Purchase with the BigCommerce order number, a value and a currency. Reload the page and confirm that it is not recorded twice.

  3. Check the platform

    In Meta Events Manager and your other platforms, look for the server event and confirm that it matches the browser event where one exists.

Troubleshooting

  • The script does not load on checkout or the confirmation page

    Set the location to all pages, and confirm the store uses Optimized One-Page Checkout. A private theme may need Optimized One-Page Checkout support added.

  • The script is saved but never loads

    Give it a script category. Uncategorised scripts do not display on stores that have a cookie banner, and non-essential categories wait for the shopper's consent.

  • The Purchase has no value

    Add a second script with the location set to order confirmation. BigCommerce lets it read the order ID, and the storefront order endpoint returns the order total and currency, which you can pass to sb_track as a Purchase.

  • Purchases appear twice

    Make sure the script exists once. Another tool that also reports purchases can double count, so check the Meta Pixel and Google tag set-up.

  • Only the storefront reports

    The storefront location excludes checkout and the order confirmation page. Change the location to all pages.

  • Orders in BigCommerce exceed purchases in SignalBridge

    Buyers who pay and close the page before confirmation, or whose payment method does not return to the store, are not seen by the script. Compare over several days.

What to know before you rely on it

Where this integration stops, so the numbers you see are read correctly.

  • There is no BigCommerce order feed. Refunds, cancellations, status changes and orders created in the admin are not seen.
  • A purchase is only captured when the buyer reaches the order confirmation page in a browser that runs the script.
  • Script Manager applies to Stencil storefronts. Check that your store has it.
  • Order details depend on what the confirmation page exposes. Verify value and currency on your own store.
  • Visitors who have not agreed to marketing tracking are not sent to ad platforms where consent applies.

Questions about this integration

Is there a SignalBridge app in the BigCommerce marketplace?

No. SignalBridge is installed as a script in Script Manager, so there is nothing to install from the marketplace and nothing is added to your admin.

Why must I use Optimized One-Page Checkout?

BigCommerce only renders Script Manager scripts on the checkout and order confirmation pages when the store uses it. It is the default checkout for new Stencil stores, and older stores can switch in settings.

Which location should I choose?

All pages. It covers the storefront, cart, checkout and order confirmation. The storefront location leaves out checkout and the confirmation page, which is where the purchase happens.

What script category should I pick?

Choose the category that fits how your cookie banner is set up. Essential scripts always load. Others load after the shopper accepts that category, and uncategorised scripts do not load when a banner is enabled.

How do I send the order total myself?

Add a second script with the location set to order confirmation. It can read the order ID, fetch the order from the storefront order endpoint, and call sb_track with Purchase, the order ID, the total and the currency.

Can it work with my Meta Pixel and Google tag?

Yes. SignalBridge mirrors the events they fire and shares the event IDs, so ad platforms count each conversion once.

Can I track refunds?

Not automatically. SignalBridge sees what happens in the browser, so refunds made in the admin are not reported. You can send a custom event if you need one.

Does it work on a headless storefront?

This page covers Stencil storefronts and Script Manager. On a headless build such as Catalyst, check how your front end loads scripts, or add the SignalBridge snippet in your own front end code.

Try BigCommerce with SignalBridge

Every plan starts with a 14-day free trial. Connect it, send a test conversion and see the result before you decide.