StatCounter – Real Time Visitor Stats, Session Replay & Heatmaps source code
By StatCounter, on WordPress.org since 2008. 70,000+ active installs.
The Official StatCounter WordPress Plugin adds StatCounter to your site in a couple of clicks – no code editing required. Below is its source code for every one of its 30 releases, what changed in the latest one, and how often it ships.
What changed in 2.2.0
Released Aug 19, 2026, 8 years after 2.02- Added a dismissible review reminder for site admins (shown once, snoozable, only after tracking has been active for a couple of weeks). Updated plugin listing: new description and screenshots covering Session Replay and Heatmaps.
4 files changed since 2.02: 2 modified, 0 added, 2 removed.
- StatCounter-Wordpress-Plugin.php modified, +5,261 bytes
- readme.txt modified, +1,022 bytes
- screenshot-1.png removed
- screenshot-2.png removed
Release history
30 releases since March 2010- 2.2.0 Aug 19, 2026 Added a dismissible review reminder for site admins (shown once, snoozable, only after tracking has been active for a couple of weeks). Updated plugin listing: new description and screenshots covering Session Replay and Heatmaps.
- 2.02 Oct 19, 2017
- 2.1.2 May 25, 2026 Security fix: properly escape the post author nickname in the front-end author tag script (CVE-2026-6275). Tested up to WordPress 7.0.
- 2.1.1 Dec 2, 2025
- 2.1.0 Jan 28, 2025