Documentation/Quickstart

Up and running in 60 seconds.

One single line of HTML. No cookies, no consent banners to configure, and under 1.5 KB gzipped. You can install it manually or have your AI agent do it for you.

1

The Tracking Snippet

Place this inside the <head> of your website. Replace yourdomain.com with your registered site domain.

HTML Snippet
<script defer src="https://sift.agentonboard.xyz/s.js" data-site="yourdomain.com"></script>
2

Framework Guides

Select your framework to see recommended placement and best practices.

Plain HTML Setup
<!-- Add to the <head> of your pages -->
<script
  defer
  src="https://sift.agentonboard.xyz/s.js"
  data-site="example.com"
></script>
Tip: Loads asynchronously. Gzipped under 1.5 KB with zero dependencies.
3

Verifying Ingestion

When a page loads, Sift dispatches a lightweight beacon to the edge:

Endpoint

POST https://sift.agentonboard.xyz/api/event

Handled globally across Cloudflare edge locations in sub-10ms.

Payload

{ "p": "/blog/hello", "r": "google.com", "w": 1440 }

Only 3 parameters. No personal identifiers or cookies ever transmitted.

4

Excluding Your Own Visits

You don't want your own development or testing visits polluting your real production numbers. Sift respects a simple localStorage flag:

Run in your browser DevTools console on your site:

localStorage.setItem("sift_ignore", "true")

To re-enable tracking for yourself, run localStorage.removeItem("sift_ignore").

The Agent-Native Shortcut

Using Cursor, Claude Code, Windsurf, or AGY? Don't edit code by hand. Copy this prompt and paste it to your coding agent:

Agent Prompt
Please add Sift analytics to this repository for domain 'acme.com'. Use the snippet <script defer src="https://sift.agentonboard.xyz/s.js" data-site="acme.com"></script> and verify the layout.
Agents can read /auth.md to provision sites automatically.

Ready to add your site?

Register for free during beta and view your dashboard instantly.