# Developer overview

> What a developer can do with Venbit Intelligence, from the one-line install and the venbit() function to form tracking, sign-ups and MCP read access.

Source: https://venbit.com/docs/developer-guide/overview
Part of the Venbit Intelligence docs (Developer Guide). Index of every page: https://venbit.com/docs/llms.txt
Last updated: 2026-11-30

You install Venbit Intelligence with one script tag in the `<head>` of every page. After that it counts page views, clicks, phone taps and form sends by itself. Anything else, your code reports with the `venbit()` function.

```html
<script defer crossorigin="anonymous" src="https://vnbt.app/m.js?s=KEY" data-site="KEY"></script>
```

`KEY` stands for your site's key. You'll find the whole line, key included, in the dashboard under **Settings**, then **Tracking**, as **Your tracker line**.

## What you can do

| I want to... | Read this |
| --- | --- |
| Put the tracker on a site | [Install the tracker](https://venbit.com/docs/md/developer-guide/install-the-tracker.md) |
| Find the steps for WordPress, Shopify, Webflow and others | [Platform guides](https://venbit.com/docs/md/developer-guide/platform-guides.md) |
| Check that visits are arriving | [Verify your install](https://venbit.com/docs/md/developer-guide/verify-your-install.md) |
| Use it in React, Next.js, Vue or SvelteKit | [Single-page apps](https://venbit.com/docs/md/developer-guide/single-page-apps.md) |
| Report a lead, an event or a missing page from code | [JavaScript API](https://venbit.com/docs/md/developer-guide/javascript-api.md) |
| Track a form that's sent with JavaScript | [Form tracking](https://venbit.com/docs/md/developer-guide/form-tracking.md) |
| Label a button, or keep a field private, in HTML | [Data attributes](https://venbit.com/docs/md/developer-guide/data-attributes.md) |
| Count sign-ups, subscriptions and purchases | [Sign-ups and purchases](https://venbit.com/docs/md/developer-guide/sign-ups-and-purchases.md) |
| See what's collected and what isn't | [What the tracker collects](https://venbit.com/docs/md/developer-guide/what-the-tracker-collects.md) |
| Stop capturing typed values, or leave your own visits out | [Privacy controls](https://venbit.com/docs/md/developer-guide/privacy-controls.md) |
| Allow the tracker in a Content Security Policy | [Content Security Policy](https://venbit.com/docs/md/developer-guide/content-security-policy.md) |
| Serve the tracker from your own domain | [First-party proxy](https://venbit.com/docs/md/developer-guide/first-party-proxy.md) |
| Track installs of an iPhone or Android app | [App tracking overview](https://venbit.com/docs/md/developer-guide/app-tracking.md) |
| Let Claude, ChatGPT or Cursor read the numbers | [What is Venbit MCP?](https://venbit.com/docs/md/mcp-guide/overview.md) |

## How a page view travels

**From a page load to a number you can read**

1. Browser loads the tracker (One script tag, from vnbt.app)
2. Tracker sends the visit (A POST to venbit.com/api/e)
3. Dashboard (venbit.com/dashboard); iPhone app (The same numbers); Venbit MCP (For AI assistants)

Because the script tag is deferred, it never holds up the page. What the tracker sees gets batched and sent a few seconds after load, then again when the visitor leaves or switches tabs.

## Missing pieces you might expect

There's no public REST API, so you can't query visits or leads over plain HTTP with an API key. Programmatic read access goes through [Venbit MCP](https://venbit.com/docs/md/mcp-guide/overview.md) instead, which gives an AI assistant read access to the sites on your account.

Venbit won't call a URL of yours when a lead arrives either. There are no customer webhooks. Owners get leads by push notification and email (see [Notifications and alerts](https://venbit.com/docs/md/user-guide/notifications-and-alerts.md)).

And `venbit()` has no identify call, so there's no way to attach a user id to a visitor.

If you're not sure where your own code should call `venbit()`, give this to a coding agent (Claude Code, Cursor or Copilot) in your project:

```prompt
Look through this codebase and list every place that should report to Venbit with venbit() once the tracker tag is in the shared <head>: forms sent with fetch or drawn by a component (venbit('form_success') and venbit('form_failure')), account creation (venbit('signup')), plan payments (venbit('subscribe')), the order confirmation (venbit('purchase') with the order id) and client-side not-found screens (venbit('404')). Show the list with file and line before changing anything.
```

## Where next

- [Install the tracker](https://venbit.com/docs/md/developer-guide/install-the-tracker.md): The script tag, its attributes, and examples for HTML and Next.js.
- [Platform guides](https://venbit.com/docs/md/developer-guide/platform-guides.md): Steps for WordPress, Wix, Squarespace, Shopify, Webflow and more.
- [Verify your install](https://venbit.com/docs/md/developer-guide/verify-your-install.md): Confirm visits arrive, and fix it when they do not.
- [Single-page apps](https://venbit.com/docs/md/developer-guide/single-page-apps.md): Route changes are counted with no extra code.
- [JavaScript API](https://venbit.com/docs/md/developer-guide/javascript-api.md): Every venbit() call, with parameters and examples.
- [Form tracking](https://venbit.com/docs/md/developer-guide/form-tracking.md): Automatic form pickup, and how to report a custom form.
- [Data attributes](https://venbit.com/docs/md/developer-guide/data-attributes.md): Label clicks and keep fields private from your HTML.
- [Sign-ups and purchases](https://venbit.com/docs/md/developer-guide/sign-ups-and-purchases.md): Count accounts and payments, including on a separate app domain.

## Common questions

### Does Venbit have a REST API?

No. Venbit Intelligence doesn't offer a public REST API for reading visits or leads over plain HTTP with an API key. For programmatic reads, use [Venbit MCP](https://venbit.com/docs/md/mcp-guide/overview.md), which lets an AI assistant read the sites on your account.

### Does Venbit send a webhook when a new lead arrives?

No. Venbit won't call a URL of yours when a lead arrives. Owners hear about new leads by push notification and email, which they set up in [Notifications and alerts](https://venbit.com/docs/md/user-guide/notifications-and-alerts.md).

### Can I identify logged-in users with Venbit?

No. There's no identify call in `venbit()`, so you can't attach your own user id to a visitor. The `signup`, `subscribe` and `purchase` calls can carry a name and email, but only for that event.

### Will the Venbit tracker slow down my website?

It shouldn't. The script tag is deferred, so it never holds up the page, and the file is about 23 KB gzipped. Data goes out in batches a few seconds after the page loads, and again when the visitor leaves or switches tabs.
