Skip to content
Audience Live

Page view counter

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

What it looks like Sample

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

What it shows

  • How many times this page was viewed, five minutes behind.
  • “Fewer than 10 views” below ten views.
  • One count for each page that carries the widget.

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 · Page view counter
<!-- 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="pageviews"></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 pageviews for this one. Default: pageviews
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
Audience Live

Country reach

How many countries your readers came from, with their flags. A country counts only with five readers.

Blogs, newsletters, communities See the widget