BigCommerce
Install the Ours Privacy Web SDK on BigCommerce using Script Manager, including how checkout scripts and page scoping work.
Use this page to install the Ours Privacy Web SDK on a BigCommerce store.
BigCommerce has a built-in Script Manager, so you can add and scope the snippet without editing your theme.
Steps to Integrate Ours Privacy with BigCommerce
1. Copy your install snippet
Copy your install snippet from the Install Ours page.
2. Add the snippet in Script Manager
- In the BigCommerce control panel, go to Settings > Advanced > Script Manager.
- Select Create a Script.
- Give it a name such as
Ours Privacy. - Set Location on page to Head.
- Set Select pages where script will be added to All pages.
- Set Script type to Script, then paste your snippet.
- Save.
3. Verify
- Load a product page on your storefront.
- Open the browser console to check for script errors.
- In your Ours Privacy account, check Recent Events to confirm page views are arriving.
Tracking Checkout and Orders
Script Manager lets you scope a script to checkout and order confirmation pages specifically. If you want purchase tracking, create a second script scoped to Order Confirmation and include a tracking call:
ours('track', 'Purchase Complete', { value: 100 });Read the real order total from the page rather than hard-coding a value.
Important: Scripts on checkout pages fall under your store's PCI obligations. Under current PCI DSS requirements, merchants are expected to keep an inventory of scripts running on payment pages along with a justification for each, and to confirm their integrity. Coordinate with whoever owns PCI compliance for your store before adding scripts to checkout.
Headless Storefronts
If you run a headless BigCommerce storefront, Script Manager does not apply, because BigCommerce is not rendering your pages. Install the snippet in your front-end application instead. See Installing on a headless CMS.
Next Steps
- Web SDK reference: full list of tracking methods and options.
- Installing on a headless CMS: for headless storefronts.
- Cookie Consent installation: add the consent banner so it loads before other tracking scripts.
If you need further assistance, contact us at support@oursprivacy.com.
How is this guide?

