Skip to content

Visitor statistics ​

The Statistics menu shows visitors, pages, traffic sources, devices, and bots of each website. The numbers come from the web server access log, so they work without any script on your site, like AWStats or Webalizer in cPanel. An optional JavaScript beacon adds browser data that the log cannot see.

Opening the statistics ​

  1. Click Statistics in the sidebar.
  2. Choose the website in the list at the top. Only active websites are listed.
  3. Choose the Period: Today, Last 7 days, Last 30 days (default), This month, Last 90 days, or Last 12 months.

Next to the period you see the date range and when the data was last updated. Statistics are collected every few minutes, so new visits show up after a short delay. A new website shows data shortly after its first visits. Dates follow the server's time zone.

If you have no active website yet, the page reads "No active websites". Add a website first on the Website page.

What the numbers mean ​

NumberMeaning
VisitorsUnique visitors per day (IP address plus browser), without bots.
VisitsSessions: a series of page views with less than 30 minutes between them.
Page viewsSuccessful requests for pages, without images, CSS, JS, script endpoints (e.g. admin-ajax.php, /wp-json/), or bots.
HitsEvery request, including bots and files such as images.
Bounce rate / durationShare of visits with only one page view, and the average visit length.
BandwidthData sent, plus the number of hits and how many came from bots.
Errors (4xx / 5xx)Client errors (e.g. 404) and server errors (e.g. 500), and their share of all hits.

The cards compare Visitors and Page views with the previous period of the same length.

Visitor identities are hashed on the server and never leave it. The panel only receives the counts.

Charts ​

  • Visitors per day (or another metric): choose the Metric (Visitors, Visits, Page views, or Hits) and switch between Chart and Table. The table also lists bots, bandwidth, 4xx, and 5xx per day. Hover over a bar to see all numbers of that day.
  • Page views by hour of day: page views summed over the period, in server time. Shows when your site is busiest.

Breakdowns ​

Below the charts, the tabs show the top entries of each breakdown. Percentages are of the full total.

TabContents
PagesTop pages, Entry pages, Exit pages, Missing pages (404), Outbound link clicks, Custom events, Downloads
SourcesChannels (direct, search engines, social media, AI assistants, email, other websites, UTM campaigns), Referring sites, Search engines, Social media, AI assistants, Campaigns (utm_campaign), Campaign sources (utm_source)
AudienceCountries, Devices, Browser, Operating systems, Browser versions, New vs returning, Screen resolutions, Browser languages, Time zones
BotsBot types (search engines, AI crawlers, SEO tools, link previews, uptime monitors, security scanners, HTTP tools and scripts, feed readers) and Bots
TechnicalStatus codes, Top IP addresses, HTTP versions, Methods

Breakdowns are kept for 90 days, daily totals for 25 months. For a longer period, the page tells you from which date breakdowns are available.

Some breakdowns are only filled when the JavaScript beacon is on: outbound link clicks, custom events, new vs returning visitors, screen resolutions, browser languages, and time zones. Countries need a GeoIP database on the server. Without it, the page reads "No country data: the server has no GeoIP database."

Realtime ​

Tick Realtime to see the current traffic. The Right now panel is read from the access log on request and refreshes every 10 seconds:

  • the number of visitors in the last 5 minutes;
  • Hits per minute, last 30 minutes;
  • the latest requests with Time, IP, Request, Status, Client, and Referrer.

On very busy sites only the most recent part of the last 30 minutes is shown.

Monthly visit limit ​

The Account visits this month card counts the visits of all websites of your account since the 1st of the month. One visit is one unique visitor per day, bots excluded. The card also shows the expected total by the end of the month. When your package has a visit limit, you see the limit, the percentage used, and a Visits used bar. Otherwise it reads no package limit.

If the limit is reached, the card shows Monthly visit limit reached. Your websites keep running: the limit is only reported and nothing is blocked. Contact your hosting provider if you need a larger package.

Browser data (JavaScript beacon) ​

The Browser data (optional JavaScript beacon) card adds what the access log cannot know: screen resolution, language, time zone, new vs returning visitors, time on page, single-page-app navigation, outbound clicks, and custom events.

  1. Click Turn on. The panel writes the beacon files to the website's moorcp-stats/ folder.

  2. Click Copy the script tag and paste the tag before </head> on every page:

    html
    <script defer src="/moorcp-stats/s.js"></script>

    In WordPress, put it in the theme header or use a header-scripts plugin.

  3. Wait a few minutes after the first visit to a page with the tag. Data then appears in the breakdowns.

To count a custom event, call moorcpStats('name') from your own JavaScript, e.g. on a button click.

  • The beacon sets no cookies. It keeps two localStorage flags and does not run when the browser sends Do Not Track.
  • Beacon requests go to your own domain and are not counted as hits or bandwidth.
  • If the card shows An older beacon script is installed, click Update the script.
  • Click Turn off to remove the beacon files. Remove the script tag from your pages too.

Limits

Search keywords are not available, because search engines hide them. Behind a CDN, the access log records the CDN's IP addresses unless the web server is set up to read the visitor's real IP. Beacon values come from the browser and can be faked; the server validates them and only adds to the counters.

See also ​

MoorCP Shared, a shared hosting panel for server fleets.