Skip to the page

Developer GuideStart

Verify your install

Three ways to confirm the Venbit tracker is counting visits, and a table of the causes to check when nothing arrives.


Open your live website in a normal browser window, then go to Settings, then Tracking in the dashboard. Once the first visit arrives, the status line above Your tracker line turns to Working. If it doesn't, your browser's network tab will show where the install stops.

Read the status line

The line saysWhat it means
Working · 2 on your website nowVisitors are on the site at this moment.
Working · 14 visits todayVisits have come in today, and nobody's on the site right now.
Working · counting since (a date)The tracker has been seen before. Nothing has arrived yet today.
Not seen yet · Paste the line, then open your website. The first visit shows here.No visit has ever arrived for this site.
Checking…The dashboard is still looking.
The top of the Tracking tab: a green dot and the word Working, followed by the date counting began, above the tracker line
The status line sits above the tracker line in Settings, Tracking.

Those numbers are examples.

Watch your own visit arrive

  1. Open your website on its real domain, in a window you can see. A background tab isn't counted until you look at it.
  2. Stay on the page for ten seconds, or click through to a second page.
  3. Reload the dashboard. The status line should read Working, and your visit appears in Live now.

Use a browser where you haven't switched on Leave my visits out. That switch, which also lives under Settings, then Tracking, opts the browser out, and an opted-out browser sends nothing at all.

Check the network tab

Open your browser's developer tools, pick the Network tab and reload the page. A working install makes these requests, in this order:

RequestWhat to expect
GET https://vnbt.app/m.js?s=KEYStatus 200. The tracker loading from your script tag.
GET https://venbit.com/m.js?s=KEYStatus 200. The tracker loading its current copy.
POST https://venbit.com/api/eStatus 204. This is the visit being sent. It goes out about five seconds after the page loads, or straight away when you switch tabs or leave.

KEY is your site's key, the value of data-site in your tracker line.

To find the third request, type api/e into the network tab's filter. Serving the tracker through a first-party proxy? Then the requests go to your own domain instead (for example /vb/m.js and /vb/api/e).

The console works too. After the file has run, this prints "function":

JavaScript
typeof window.venbit

If your AI assistant is connected to Venbit MCP, it can run the same check against your numbers:

Use the Venbit connector to check my tracking on [your website]. When did Venbit last hear from a real visitor, and what tracking problems did it find? Give me the fix for each one, or tell me none were found.

And to have a coding agent hunt for install problems in the code:

Check this codebase for reasons the Venbit tracker might not count visits. Confirm the vnbt.app/m.js tag is in the <head> shared by every page, appears once per page, and carries data-site or ?s= with the key. Check that any Content Security Policy allows https://vnbt.app and https://venbit.com in script-src and https://venbit.com in connect-src. Flag a data-allow-local attribute left in, or a tag placed inside an iframe or embed block. Report what you find before changing anything.

When nothing arrives

What you seeCauseFix
No request for m.js at allThe line isn't on this page, or a platform setting didn't publish.View the page source and search for m.js. Paste the line into the shared <head> and publish. See Platform guides.
m.js is blocked, with a Content Security Policy error in the consoleThe site's policy doesn't allow the tracker's hosts.Allow https://vnbt.app and https://venbit.com in script-src, and https://venbit.com in connect-src. See Content Security Policy.
m.js or api/e shows as blocked by the clientAn ad blocker or privacy extension in your browser.Test in a browser without the extension. To count visitors who use blockers, set up a first-party proxy.
m.js loads, but there's never a POST to api/eThis browser is opted out.Open your site once with ?vb_optout=0 on the address (for example https://harborroofing.example/?vb_optout=0), or switch Leave my visits out off.
m.js loads, no POST, and the address is localhost, a private IP, a .local or .test host, or a file: pageThe tracker doesn't run on local addresses.Test on the live domain, or add data-allow-local="1" to the tag to watch the requests locally. See Install the tracker.
m.js loads, no POST, and the page is inside an iframeFramed pages aren't counted. That includes site builder previews and HTML embed blocks.Open the page directly in its own tab. Install through the platform's head-code setting rather than an embed block.
m.js loads, no POST, in a test runner or headless browserBrowsers driven by automation are skipped.Check by hand in a normal browser.
The POST returns 204, but the dashboard stays on Not seen yetThe page's domain isn't the one registered for this site. Visits from any other domain are dropped, and the request still returns 204.Under Settings, then Tracking, check Your website and press Change to correct the domain. www and subdomains are covered without being listed.
The POST returns 204 on the right domain, and still nothingThe key in the line belongs to another site.Copy the line again with Copy the line and replace the one on the page.
Visits arrive, but short ones are missing on WordPressA cache plugin holds the script back until the visitor interacts.Add vnbt.app/m.js to the plugin's delayed JavaScript exclusions and clear the cache.
You reloaded the page fast and saw one page viewA repeat view of the same page within a couple of seconds counts once.Nothing to fix.

Common questions

Why does Venbit say "Not seen yet"?

In Settings, then Tracking, Not seen yet means no visit has ever arrived for this site. Open your live site on its registered domain in a normal browser window. Then look in the browser's network tab for the m.js request and the POST to api/e.

How do I check the Venbit tracker is working?

Open your site with developer tools on the Network tab and reload. A working install loads m.js and sends a POST to https://venbit.com/api/e that comes back 204. Once the tracker has run, typeof window.venbit in the console prints "function".

Why isn't my own visit showing up in Venbit?

Your browser's probably opted out. With Leave my visits out on, or after the browser opened your site with ?vb_optout=1, it sends nothing. Open your site once with ?vb_optout=0. Also remember that a background tab isn't counted until you look at it.

Will an ad blocker stop Venbit counting me?

It can. In the network tab, an ad blocker or privacy extension shows m.js or api/e as blocked by the client. Test in a browser without the extension, or set up a first-party proxy if you want to count visitors who use blockers.

Last updated . Something wrong or missing on this page? Tell us from Settings, then Support.