gitwtfhub

wtf is wp-visitchart?

hummelmose/wp-visitchart — explained in plain English

Analysis updated 2026-05-18

0PHPAudience · generalComplexity · 1/5LicenseSetup · easy

TL;DR

A self hosted WordPress plugin showing live visitor counts, traffic graphs, sources, and per-post pageviews without sending data to a third party.

Mindmap

mindmap
  root((WP VisitChart))
    What it does
      Live visitor count
      Today vs last week traffic graph
      Traffic source and device breakdown
    Tech stack
      PHP
      WordPress
      MySQL
    Use cases
      Watch live site traffic
      Spot trending articles
      Check pageviews per post
    Audience
      General
    Setup
      Upload plugin zip in WordPress
      Activate the plugin
      Needs WordPress 5.8 and PHP 7.4

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Watch a live visitor count that refreshes every ten seconds directly in WordPress.

REASON 2

Compare today's traffic to the same weekday last week on a graph.

REASON 3

See which articles are trending and where traffic is coming from.

REASON 4

Check pageviews per post right in the WordPress admin posts list.

What's in the stack?

PHPWordPressMySQL

How it stacks up

hummelmose/wp-visitchartanikchand461/anyonehereargosback/aura.sqlquery
Stars00
LanguagePHPPHPPHP
Last pushed2023-05-28
MaintenanceDormant
Setup difficultyeasyeasyeasy
Complexity1/52/52/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Requires WordPress 5.8+, PHP 7.4+, and MySQL 5.7+ or MariaDB 10.3+.

Released into the public domain under the Unlicense, so anyone can use, modify, or redistribute it without restriction.

Wtf does this do

WP VisitChart is a WordPress plugin that gives a site owner live visitor analytics without sending any data to an outside company. It runs entirely on the same server as the WordPress site, inspired by paid services like Chartbeat but self hosted, so nobody else ever sees the traffic numbers. Once activated, it shows a live count of current visitors that refreshes every ten seconds, along with a graph of today's traffic broken into five minute chunks, shown next to the same weekday from the previous week for comparison. Articles that are gaining readers quickly get a trending badge, and traffic is broken down by where it came from, such as direct visits, search engines, social media, or other sources, using UTM parameters and Facebook's click identifier to help sort it. Visits are also split by device type between mobile, tablet, and desktop, and the plugin tries to detect and filter out bot traffic so the numbers reflect real people. Inside the normal WordPress admin area, the plugin adds a live pageview count next to each post and page in the list, updating in real time rather than waiting for a scheduled job, and it puts a live visitor count directly in the WordPress admin toolbar so it is visible while doing other tasks. There is also a simple mobile page that can be bookmarked and opened with a token based login, useful for checking traffic quickly from a phone. Every major feature can be turned on or off from a settings screen, including an option to stop tracking visits from logged in users, and the plugin ships with both English and Danish translations. It needs WordPress 5.8 or newer, PHP 7.4 or newer, and a reasonably current version of MySQL or MariaDB. Installing it follows the normal WordPress plugin process of uploading a zip file through the admin area and activating it. The project is released into the public domain under the Unlicense, meaning anyone can use, modify, or redistribute it without restriction.

Yoink these prompts

Prompt 1
Explain how a self hosted WordPress analytics plugin like this differs from Google Analytics.
Prompt 2
Help me install and activate a WordPress plugin from an uploaded zip file.
Prompt 3
Show me how UTM parameters and click identifiers are used to detect a visit's traffic source.
Prompt 4
Walk me through adding a settings screen to a WordPress plugin to toggle features on or off.

Frequently asked questions

wtf is wp-visitchart?

A self hosted WordPress plugin showing live visitor counts, traffic graphs, sources, and per-post pageviews without sending data to a third party.

What language is wp-visitchart written in?

Mainly PHP. The stack also includes PHP, WordPress, MySQL.

What license does wp-visitchart use?

Released into the public domain under the Unlicense, so anyone can use, modify, or redistribute it without restriction.

How hard is wp-visitchart to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is wp-visitchart for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.