Statistics for WordPress

Know who visits your site, without cookies

Visitors, pages, sources, campaigns, countries and devices inside WordPress. No cookies, no IP addresses stored and no outside service — explained in plain words.

No cookies Real-time Sources & campaigns Events Popular posts element

At a glance

Section 1

What EnStats does

EnStats counts the visits of your site with a tiny script and shows them inside WordPress. Your data stays on your site.

Free plugin

  • Visitors, views, visits, bounce rate and duration
  • Chart by hour, day or month and any dates
  • Pages, sources, campaigns, countries, devices
  • Outbound links, downloads and 404 events
  • People on the site now
  • Dashboard widget, top bar, views column
  • Popular posts element and shortcodes

With Enwebs Suite Pro

  • Goals: pages, events, clicks and forms
  • Funnels with the drop of each step
  • WooCommerce revenue by source and campaign
  • Abandoned carts
  • EnMarketing campaign results
  • Weekly and monthly email reports, traffic alerts
  • Countries from a local database
Section 2

Installation and first steps

  1. Install EnStats from Plugins › Add New (or upload the ZIP) and activate it.
  2. That's it: EnStats starts counting right away.
  3. Open EnStats › Statistics the next day to see your first numbers.
  4. Optional: in Settings choose who is left out and how long to keep the data.
Your own visits don't count. Administrators and editors are left out by default, so test in a private window.
Section 3

The statistics screen

Choose a period (today, yesterday, 7, 30 or 90 days, this month, last month, 12 months or any dates). Each number is compared with the period before.

NumberMeaning
VisitorsDifferent people (each day counts again).
Page viewsPages seen.
VisitsGroups of pages with less than 30 minutes between them.
Bounce rateVisits with only one page.
Visit durationAverage time of a visit.

The chart shows the values of each day under the mouse, and the green dot shows how many people are on your site now.

Section 4

Pages, sources and devices

  • Pages: top pages and entry pages, with the average time.
  • Sources: Google, Facebook, ChatGPT, other websites, email and direct visits; channels (search, social, email, paid, campaigns); campaigns from utm_campaign.
  • Countries from your hosting or Cloudflare.
  • Devices, browsers and systems.
Track a campaign by adding ?utm_source=facebook&utm_medium=social&utm_campaign=black-friday to your links.
Section 5

Events

EnStats counts clicks on links to other websites, emails and phones, file downloads (PDF, ZIP, documents…) and missing pages (404). Send your own events from any script:

window.enstats('Signup', 'Footer form');
Section 6

Privacy and settings

EnStats sets no cookies and never stores IP addresses. Each visitor is a code built from a secret that changes every day and is deleted, so nobody can follow a person over time. In most countries this kind of statistics does not need consent.

  • Leave out logged-in roles, IP addresses (with * for ranges) and pages.
  • Respect "Do Not Track" and Global Privacy Control if you want.
  • Keep the data 3 months to 3 years, or forever; export it as CSV or delete it.
Section 8

Pro: goals and funnels Pro

A goal is reached when a visit sees a page (use * for many), sends an event, clicks a button or sends a form. Each goal shows its conversions, the percent of visits, its value and which sources bring it. Goals use the data already recorded, so a new goal shows the past too.

A funnel follows steps (for example product › cart › checkout › thank you) and shows how many visits reach each one and where they leave.

Section 9

Pro: sales, campaigns and reports Pro

  • WooCommerce: revenue, orders, average order and visits that buy, by source, campaign and landing page; most viewed products and abandoned carts.
  • EnMarketing: links to your site in campaign emails are tagged by themselves, so you see the visits and sales of each email.
  • Email reports every Monday or every month to you and your team, and an alert when visitors jump or drop.
  • Countries from the local database of EnShield Pro when your hosting doesn't send them.
Section 10

Questions and troubleshooting

Why are the numbers different from Google Analytics?

Ad blockers block Google Analytics much more often, EnStats leaves out bots and your own visits, and a visitor who comes back another day counts again.

Countries are empty.

Your hosting doesn't send the country. Cloudflare does, and Enwebs Suite Pro adds a local database.

Does it work with cache plugins?

Yes, the counting is done in the browser.

Does it slow my site?

No. The script is tiny, has no libraries and loads at the end of the page.

Section 11

For developers

HookTypeUse
enstats_viewfilterA page view before it is saved (return false to skip it).
enstats_trackedactionAfter a page view is saved.
enstats_excluded / enstats_is_botfilterLeave visitors out.
enstats_countryfilterCountry of the visitor.
enstats_script_configfilterSettings of the counting script.
EnStats_Tracker::record()PHPSave an event from the server.
window.enstats()JavaScriptSend an event from the browser.