Duda
Install the Ours Privacy Web SDK on a Duda site using site-wide header code, including what to do when an agency manages the site for you.
Use this page to install the Ours Privacy Web SDK on a site built with Duda.
Duda supports site-wide header code, so this is a no-code install.
Before You Start
Duda is frequently white labeled and resold, so the editor you log into may carry an agency's or a hosting provider's branding rather than Duda's. The menu names below should still match.
If someone else built and maintains your site, you may not have editor access. In that case, send them your install snippet and ask them to add it to the site-wide header code. That is the whole request, and it takes a few minutes.
Steps to Integrate Ours Privacy with Duda
1. Copy your install snippet
Copy your install snippet from the Install Ours page.
2. Add the snippet to site-wide header code
- In the Duda editor, open Settings.
- Find the site-wide code option, usually Head HTML or Site-wide Header Code.
- Paste your snippet.
- Save.
Use the header option rather than a footer or body option so tracking initializes before the rest of your page scripts.
3. Republish and verify
- Republish the site. Duda changes do not go live until you republish.
- Open your live site, not the editor preview.
- Open the browser console to check for script errors.
- In your Ours Privacy account, check Recent Events to confirm page views are arriving.
Multi-Site Accounts
Agencies often manage many Duda sites from one account. Header code is set per site, not per account, so repeat this for each site you want tracked.
Each site should use its own Ours Privacy install snippet if you want to report on them separately. Using one snippet across many client sites will combine their traffic into a single view.
Track Custom Events
Add an HTML or code widget to a page and call ours('track', ...):
ours('track', 'Form Submitted', { form_name: 'contact_us' });Next Steps
- Web SDK reference: full list of tracking methods and options.
- 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?

