Segment
Discover how to connect Segment with Ours Privacy to track user events and behaviors while protecting data privacy and security.
Ours Privacy offers two methods to integrate with Segment, allowing you to leverage your existing Segment implementation without requiring a complete re-tagging of your system.
There are two different modes that we support.
Device Mode Integration
The device mode integration allows you to load the Ours Privacy plugin alongside your Segment web SDK. This method lets it receive all events sent to Segment directly from your website or application.
Setup Steps:
- Enable the Segment device plugin in the Ours Privacy dashboard
- Copy the provided plugin code
- Add the plugin to your Segment initialization based on your SDK version:
For Segment Analytics.js (Classic):
analytics.register(oursPlugin);For Segment Analytics Next (Analytics 2.0):
analytics.use(oursPlugin);Once configured, Ours Privacy will receive all events sent to Segment, and you can manage them through the Ours Privacy dashboard.

Server-Side Integration
For server-side event tracking, Ours Privacy supports integration through Segment's webhook functionality.
Setup Steps:
- Enable a webhook source in Ours Privacy
- Configure a webhook destination in your Segment platform
- Connect the webhook destination to your Ours Privacy webhook source
This server-side integration allows you to pipe Segment events directly to Ours Privacy, where you control what each destination receives and can audit every event.
Benefits
- No need to re-tag your entire system
- Maintain existing Segment implementation
- Leverage Ours Privacy's data management capabilities
- Support your HIPAA program with hashing, redaction, and a signed BAA
- Access comprehensive auditing tools
- Manage marketing stack integration
How is this guide?

