Deepns Documentation

Get started with Deepns analytics

Quick Start

Welcome to Deepns! This guide will help you get up and running with our privacy-first analytics platform in just a few minutes.

Installation

To start tracking analytics on your website, add the Deepns tracking script to your site:

<script src="https://deepns.com/analytics.js" data-site-id="YOUR_SITE_ID" defer></script>

Replace YOUR_SITE_ID with your actual Site ID, which you can find in your account dashboard.

Basic Usage

Automatic Page View Tracking

Once installed, Deepns automatically tracks page views. No additional configuration is needed for basic page tracking.

Custom Event Tracking

Track custom events using the Deepns JavaScript API:

deepns.track('event_name', {
  property1: 'value1',
  property2: 'value2'
});

API Reference

For programmatic access to your analytics data, use our API:

  • Endpoint: https://api.deepns.io/events
  • Method: POST
  • Authentication: API Key (available in your account settings)

Example API Request

POST https://api.deepns.io/events
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

{
  "site_id": "your-site-id",
  "event": "conversion",
  "properties": {
    "value": 99.99,
    "currency": "USD"
  }
}

Privacy & Compliance

Deepns is built with privacy at its core:

  • No cookies required
  • GDPR compliant by default
  • No personal data collection
  • Lightweight script (<3KB)

Support

Need help? Check out our community resources.

Additional Resources