StatCounter – Real Time Visitor Stats, Session Replay & Heatmaps source code

By StatCounter, on WordPress.org since 2008. 70,000+ active installs.

Browse code Download zip

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.

Compare 2.02 with 2.2.0

Release history

30 releases since March 2010
  1. 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. 2.02 Oct 19, 2017
  3. 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.
  4. 2.1.1 Dec 2, 2025
  5. 2.1.0 Jan 28, 2025
Full StatCounter – Real Time Visitor Stats, Session Replay & Heatmaps changelog with diffs

Source of 2.2.0

2 files
Browse all StatCounter – Real Time Visitor Stats, Session Replay & Heatmaps 2.2.0 files Browse trunk