Sift Docs
Getting started

Installation

Add one line of HTML to your site and start collecting pageviews.

Installation is one <script> tag. It goes in the <head> of every page you want to track.

1. Create a site

Sign in, then choose Add site. Enter the domain exactly as visitors see it, for example example.com. Pick the timezone you want your dashboard to use — it controls where each day starts.

Sift opens the install page for the new site and shows the snippet.

2. Paste the snippet

<script
  defer
  data-domain="example.com"
  src="https://sift.agentonboard.xyz/js/sift.js"
></script>

Put it inside <head>, before any other script that might navigate away.

That is the whole install. There is no npm package, no build step, and no consent banner.

3. Confirm it works

Open your site in a browser, then return to the install page. It polls Sift and switches to Signal detected once a pageview arrives.

See Verify installation for what to do when it stays on "Listening for the first pageview…".

What the attributes mean

AttributeRequiredPurpose
data-domainYesWhich site in Sift the pageview belongs to. Must match the domain you registered.
srcYesWhere the script is served from. Also decides where events are sent unless you override it.
data-apiNoSend events to a different endpoint. Use it for proxying.
data-excludeNoComma-separated paths to skip. See Exclude paths.

defer keeps the script off the critical path. Without it the browser may wait on the download before rendering.

Subdomains and www

Subdomains are tracked under the root site. Register example.com and pageviews from app.example.com and docs.example.com land in the same dashboard.

www. is normalized away, so www.example.com and example.com are the same site. You do not need to register both.

A pageview whose hostname does not match the registered domain is dropped, so a copied snippet cannot pollute someone else's stats.

Removing Sift

Delete the <script> tag. Nothing else was installed, and nothing is cached that would keep sending events.

To wipe the data you already collected, use Reset statistics or delete the site in its settings.

On this page