Skip to main content

1. Create a site

Sign up at db.toffee.at, create a team, and add a site. You’ll get an API key that looks like ar_a1b2c3....
Save your API key immediately. It is shown only once and cannot be retrieved later.

2. Add the SDK

Drop this script tag into your HTML, before the closing </body> tag:
<script
  src="https://cdn.toffee.at/sdk.js"
  data-api-key="YOUR_API_KEY"
></script>
That’s it. The SDK will start detecting visitors immediately.

3. View your dashboard

Open your dashboard at db.toffee.at. Visit your site in another browser tab. You should see the visit appear within seconds.

Next steps

Installation

npm install, framework guides, and the tracking pixel.

Configuration

Customize detection callbacks, tracking options, and more.

Detection

Learn how Toffee classifies visitors as human or agent.

API Reference

Query your detection data programmatically.