Skip to content
Audience Live

Visitors badge

How many people are here right now, delayed and rounded so it names nobody.

What it looks like Sample

The numbers here are samples. On your site, the widget shows your own totals.

What it shows

  • How many people are on your site now, rounded down and five minutes late.
  • With the week count: the visitors of the last seven complete days.
  • “Fewer than 5” when fewer than five people are here.

What it stores

  • No personal data and no visitor identifier.
  • It sends nothing from the visitor’s browser.
  • It shows only totals and facts that your site already has.
Snippet · Visitors badge
<!-- once per page --><script defer  src="https://api.datavisitors.com/assets/dv-embed.js"  data-key="YOUR_INSTALL_KEY"></script><!-- where the widget goes --><div data-dv-widget="visitors"></div>

Put line 1 to 4 once per page. Put line 7 where the widget goes.

Options

Add an option to the widget line. Leave it out to use the default.

Name What it does Default
data-dv-widget Names the widget. Use visitors for this one. Default: visitors
data-style Count One of: pill (Right now), week (This week) Default: pill
Audience Live

Page view counter

A running total of views for one page, counted without a cookie.

Writers, docs sites See the widget
Public stats Live

Traffic chart

Your daily visits as a small public chart, embedded wherever you like.

Open startups, public projects See the widget
Audience Live

Trending pages

The pages people are reading right now, as a list you can drop in a sidebar.

Publishers, knowledge bases See the widget