Wix
Install the Ours Privacy Web SDK on Wix using Custom Code, including the plan requirement and how Wix handles third-party tracking scripts.
Use this page to install the Ours Privacy Web SDK on a Wix or Wix Studio site.
Wix has a built-in Custom Code panel that loads scripts in the page head, so this is a no-code install.
Before You Start
Custom Code requires a paid Wix plan with a connected domain. Sites on the free plan, or those still using a wixsite.com address, do not have the Custom Code panel, so the snippet cannot be added until the site is on a paid plan with a domain connected. Check Wix's current plan comparison for which plans include it.
Steps to Integrate Ours Privacy with Wix
1. Copy your install snippet
Copy your install snippet from the Install Ours page.
2. Add the snippet as Custom Code
- In your Wix dashboard, go to Settings > Custom Code under Advanced.
- Select Add Custom Code.
- Paste your snippet into the code field.
- Under Add Code to Pages, choose All pages, and set it to load Once.
- Under Place Code in, choose Head.
- Give the snippet a name such as
Ours Privacy, then apply it.
3. Publish and verify
- Publish your site and open the live URL, not the editor preview. Custom Code does not run in the Wix editor.
- Open the browser console to check for script errors.
- In your Ours Privacy account, check Recent Events to confirm page views are arriving.
Wix and Recognized Tracking Pixels
Wix maintains native integrations for a set of well-known analytics and advertising tools, and its documentation directs customers to use those native integrations rather than pasting those specific vendors' scripts into Custom Code.
Ours Privacy is not one of those recognized vendors, so Custom Code is the correct and supported path for installing the Web SDK. If you also run one of the tools Wix integrates natively, keep using the native integration for that tool and leave it out of Custom Code.
Page Transitions
Wix navigates between some pages without a full browser reload. The Web SDK tracks these navigations automatically. If you see a page view on the first load but not on subsequent in-app navigation, see Tracking page views in single-page apps.
Note: Wix Custom Code is applied once per session by default when you select Once. That setting controls script loading, not page view tracking. The Web SDK continues to report navigations after it loads.
Track Custom Events
Add an embed or use Velo to call ours('track', ...):
ours('track', 'Form Submitted', { form_name: 'contact_us' });Next Steps
- Web SDK reference: full list of tracking methods and options.
- Tracking page views in single-page apps: handling page transitions.
- 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?

