Getting Started

Installation

Quickly install the Ours Privacy privacy-forward tracker on your website and apps to ensure secure tracking and privacy compliance for data.

Installation

To start tracking with Ours Privacy, you can choose from one of the following installation methods:

  1. Script Tag Installation (Recommended for most websites)
  2. NPM Package Installation (Recommended for React/Vue/Next.js apps)
  3. Ours Privacy Tag Manager (Recommended for no-code, visual tag management)

For detailed installation instructions and configuration options, see the respective documentation sections below.


Install the Ours Privacy SDK by adding a script tag to your HTML. This method is ideal for traditional websites and landing pages.

πŸ“– Full Script Tag Installation Instructions β†’


Install the Ours Privacy SDK as an NPM package for modern JavaScript frameworks and applications.

Package: @oursprivacy/cdp-sdk

πŸ“– Full NPM Installation Instructions β†’


Install the Ours Privacy Tag Manager for visual tag management without writing code. This HIPAA-compliant tag management system lets you deploy and manage tracking tags through an intuitive interface.

πŸ“– Tag Manager Overview β†’

πŸ“– Tag Manager Installation Instructions β†’


Tracking Events

No-Code Event Tracking (Tag Manager Users)

If you're using Ours Privacy Tag Manager, you can trigger events directly from the visual interfaceβ€”no code required!

Create tags with click triggers, form submissions, and custom events through the Tag Manager UI. Set up event tracking on button clicks, link clicks, and more without writing any JavaScript.

πŸ“– Tag Manager Event Tracking β†’


JavaScript Event Tracking (Script Tag & NPM Users)

If you installed via Script Tag or NPM, you can track events by defining functions that call the track method:

function onAppointmentBooked() {
  ours('track', 'Appointment Booked', {
    appointment_type: 'consultation',
    value: 150
  });
}

Call onAppointmentBooked() when the appointment is actually booked.

πŸ“– Full JavaScript Event Tracking Documentation β†’


Server-Side Event Tracking

Most customers need to send at least one server-side event to track actions that occur on your backend, such as:

  • Purchase completions
  • Subscription activations
  • Appointment confirmations
  • Form submissions processed server-side
  • Email sends and deliveries

These server-side events can be sent using:

  • Ours Privacy SDKs: Use our server-side SDKs (Node.js, Python, PHP, Ruby, Go) to send events from your backend. See the SDK Overview for available SDKs and installation instructions.
  • OpenAPI Specification: Send events directly via our REST API using the Track API reference for complete control over the request format.

πŸ“– SDK Overview β†’ | Track API Reference β†’


Need Help?

You can reach out to support@oursprivacy.com if you experience any trouble with installation.

How is this guide?

On this page