How Tracking Works

Learn about Arunya's tracking model.

Arunya uses a privacy-focused tracking model that balances meaningful insights with strong user protections. Unlike traditional analytics tools that rely on fingerprinting, cookies, or user profiling, Arunya is designed to collect only essential session-level information while avoiding personally identifiable data.


What Arunya Tracks

Arunya collects minimal yet useful data points to help you understand how users interact with your site:

  • Page Views: URL, referrer, timestamp, and page title
  • Session Metadata: Country, region, city (via anonymized IP or edge headers)
  • Device & Browser Info: User agent string parsed into device type, browser, and OS
  • Custom Events: Manually triggered actions like button clicks, form submissions, or conversions
  • Session Duration: Time spent across pages during a session

No cookies are used. No fingerprinting or cross-session tracking is performed.


How It Works

When you embed the script:

<script async defer src="https://your-arunya-instance.com/script.js"></script>
  1. A small, asynchronous script runs in the browser.

  2. It sends a payload to your Arunya instance containing:

    • Page information
    • Anonymized location
    • Device and browser metadata
  3. If you define custom events via window.arunya.track(...), they are also captured.


Key Principles

1. Session-Based Tracking

Each session is treated independently. There are no persistent identifiers, cookies, or user fingerprints. This ensures users cannot be tracked across visits.

2. Data Anonymization

All IP addresses are anonymized immediately. Only derived, non-PII location data is used.

3. No Persistent IDs

There are no user IDs, login tracking, or identifiable markers. Even repeat visits are treated as new sessions.


Custom Event Tracking

Arunya supports custom events with optional metadata:

window.arunya.track("button_click", {
  label: "Signup CTA",
  value: "homepage"
});

You can use this to track:

  • Clicks
  • Form submissions
  • Feature usage
  • Funnel steps

Storage & Retention

All data is stored in your own PostgreSQL database. You control retention, deletion, and backups.


Summary

Arunya’s tracking model offers:

  • Full control over your data
  • GDPR/CCPA-compliant tracking
  • Lightweight script (~1KB gzipped)
  • No cookies, no user fingerprinting, no invasive profiling

It's analytics for those who care about trust, transparency, and privacy — without sacrificing actionable insights.