Web Analytics

Understand your audience without compromising their privacy. Beyond page views, unique visitors, referrers and geography, you get custom events, multi-step funnels & conversion goals, click-to-filter segmentation, UTM campaign attribution, cohort retention, user journeys, realtime and period comparison — all from a lightweight, zero-cookie script. Pull any of it programmatically via the read-only Query API (JSON or CSV).

Prerequisites

  • Access to your website's HTML `<head>` tag or a tag manager.

1. Dashboard Configuration

Before injecting code into your application, you must provision an API key from the Senzor dashboard.

1

Register Domain

Enter your exact domain name in the Web Analytics modal.

2

Install Script

Copy the provided script and inject it into your website.

3

Track Events (optional)

Call Senzor.track(name, props) to capture conversions, signups, purchases and more — then use them as funnel steps.

2. SDK Installation

Select your environment below to view the initialization code.

<script src="https://cdn.jsdelivr.net/gh/senzops/web-agent/dist/index.global.js"></script>
<script>
  window.Senzor.init({ webId: "<YOUR_WEB_ID>" });

  // Track a custom event anywhere in your app
  window.Senzor.track("Signup", { plan: "pro" });
</script>

Place this script in your <head> tag to accurately track pageviews before the user navigates away.