Kentico
Install the Ours Privacy Web SDK on Xperience by Kentico or Kentico Xperience 13 by adding the snippet to your site's shared layout.
Use this page to install the Ours Privacy Web SDK on a site running Xperience by Kentico or Kentico Xperience 13.
Kentico renders pages from ASP.NET layouts, so the snippet is added once to the shared layout that produces every page's <head>.
Steps to Integrate Ours Privacy with Kentico
1. Copy your install snippet
Copy your install snippet from the Install Ours page.
2. Add the snippet to your shared layout
Open the shared layout view for your site and paste the snippet before the closing </head> tag:
<!-- your shared layout view -->
<head>
<!-- Ours Pixel Code -->
<script>
// your install code is here
</script>
<!-- End Ours Pixel Code -->
</head>If you run several channels or sites from one instance, confirm whether they share a layout. If they do not, repeat this for each layout you want tracked.
3. Make it editable without a deployment (optional)
If your marketing team changes tracking scripts often, it is worth a one-time setup to avoid a deployment each time. Expose a settings field for head scripts in the administration interface and render it from your layout. Kentico's own documentation covers custom settings for the version you run.
4. Deploy and verify
- Deploy through your normal pipeline.
- Load a published page and view the page source to confirm the snippet is present.
- Open the browser console to check for script errors.
- In your Ours Privacy account, check Recent Events to confirm page views are arriving.
Track Custom Events
Call ours('track', ...) from a view or a client-side script:
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?

