Node.js SDK (server api)
Quick start guide for the Ours Privacy Node.js SDK.
Ours Privacy Node.js SDK Documentation
This is a quick start guide for integrating the Ours Privacy Node.js SDK into your server-side applications.
Installation
Install the SDK via npm:
npm install ours-ingest-sdk
For more details, visit the NPM Repo | Github Repo.
Usage
Initialize the SDK and send events with just a few lines of code:
import { OursPrivacyApi } from 'ours-ingest-sdk';
const ours = new OursPrivacyApi();
// Track an event
ours.track();
// Identify a user
ours.identify();
Explore the API
Want to see what the SDK can do? Try our Interactive API Explorer to experiment with endpoints and features in real time.
Updated 17 days ago