Framework Guides

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

  1. In the Duda editor, open Settings.
  2. Find the site-wide code option, usually Head HTML or Site-wide Header Code.
  3. Paste your snippet.
  4. 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

  1. Republish the site. Duda changes do not go live until you republish.
  2. Open your live site, not the editor preview.
  3. Open the browser console to check for script errors.
  4. 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

If you need further assistance, contact us at support@oursprivacy.com.

How is this guide?

On this page