WordPress.org

Plugin Directory

StatCounter – Real Time Visitor Stats, Session Replay & Heatmaps

StatCounter – Real Time Visitor Stats, Session Replay & Heatmaps

Description

The Official StatCounter WordPress Plugin adds StatCounter to your site in a couple of clicks – no code editing required. StatCounter has provided reliable, real-time visitor analytics to millions of websites since 1999, and now includes session replay and heatmaps.

Session Replay

Watch recordings of real visits to your site – a video-like playback of each visitor’s clicks, scrolls and page navigation:

  • See exactly where visitors get stuck, confused or frustrated
  • Understand why visitors abandon carts, forms and signups
  • Watch how visitors from a specific campaign, country or referrer actually use your site
  • Improve support: replay a customer’s session to see what went wrong

Heatmaps

See at a glance where your visitors click – and what they ignore:

  • Click heatmaps highlight the links, buttons and images getting the most attention
  • Interactive elements like dropdowns and mobile menus are tracked too
  • Spot “dead clicks” on elements that look clickable but aren’t
  • Compare engagement across desktop and mobile

Real-Time Visitor Stats

All the classic StatCounter reports, updated in real time:

  • Popular pages, entry pages and exit pages
  • Incoming traffic: referring sites, keywords and campaigns
  • Visitor paths, visit length and returning visits
  • Country, state and city stats with a recent visitor map
  • Browser, OS, screen resolution and ISP stats
  • Magnify individual visitors for a detailed session report
  • Email reports, multiple site management and user access management
  • Invisible counter option

See all features

Pricing

Core visitor stats are free forever on the Basic plan. Session replay and heatmaps are premium features, and every new account starts with a 30-day free trial – no credit card required. View pricing

Screenshots

Installation

To activate the StatCounter service for your WordPress site:

  • Sign up with StatCounter or add a new project to your existing account
  • The installation process will detect your WordPress installation and provide you with your Project ID and Security Code
  • Install and activate this plugin, then enter your Project ID and Security Code on the plugin’s options page
  • The installation instructions are also available at https://statcounter.com/wordpress.org/

FAQ

Do I need to edit my theme or add any code?

No. Activate the plugin, enter your StatCounter Project ID and Security Code, and the tracking code is added to every page automatically.

Is StatCounter free?

Yes – the Basic plan is free forever and includes real-time visitor stats. Session replay and heatmaps are premium features, and every new account starts with a 30-day free trial (no credit card required).

Will the tracking code slow down my site?

No. The StatCounter code is lightweight and loads asynchronously, so it does not block your pages from rendering.

Do you have any other questions?

Please contact us here with your query.

Reviews

مئی 6, 2023 1 reply
Appreciate response from customer service. I should be more patient. I do like the service.
آپریل 9, 2023 3 replies
The service is great but the plugin to use it in Wordpress is TERRIBLE.Don’t know why this huge nonsense, is not loading at all, so is totally useless to have a plugin instead of a simple code to put in the footer. Use just the code instead.
مارس 9, 2023 1 reply
Forced too use a plugin? Why? I am not getting more stats. But you are.I need 1 line of code, not a entire plugin. Moving over to Google Analytics, bye! BTW; stop writing fake positive reviews, nobody needs your crappy plugin.
مارس 7, 2023 1 reply
I have used Statcounter for over 5 years and all of the sudden I cannot view the homepage nor login. I get a text only front page, then when I hit ‘login’ it goes to the original site homepage (in html and grapics) but it’s only in the background. What is wrong? Is it that I’ve never paid for an upgrade? Are they blocking my access on purpose? I have had other people in the UK and the US try to view thier homepage and they see it with no problem so I have no option to believe that they are after 5 yrs or more just blocking me.
آقوست 21, 2022 1 reply
Website has a contact form which acknowledges receipt of message but you never get a response. Regular emails are sent encouraging you to upgrade to Premium with a Reply to address address for queries. An auto-acknowledgement email with ticket number is sent. But the ticket is never responded to. My advice is not to install StatCounter and if you have remove the plugin.
ژانویه 2, 2022
It’s just a pain in the ass to go through a lot of step just to get it activated and eventually it won’t work out. Besides it’s limited to 500 page views or you gotta purchase a premium version. All these fake reviews won’t help out because real users try it!!
Read all 47 reviews

Contributors & Developers

“StatCounter – Real Time Visitor Stats, Session Replay & Heatmaps” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.2.0

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.1.2

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.0.9

Updated security checks

2.0.8

Added additional security checks

2.0.7

Added additional sanitation to prevent XSS attacks

2.0.6

Readme fix

2.0.5

Bug fix for async JS support

2.0.4

Async JS support

2.0.2

Compatibility enhancements

2.0.1

Security enhancements

2.0

StatCounter Tags supported.

1.7.1

Removed unnecessary type attribute from script element

1.7

Updated constant definitions to be case sensitive

1.6.9

Fixed small bug with form

1.6.8

Addd StatCounter https compatible code

1.6.7

Support https/http for wordpress admin section when viewing StatCounter stats

1.6.6

Removed deprecated function calls

1.6.5

Modified url used for dashboard to not include project id when it has not been set.

1.6.4

Improved UI to give error message in dashboard when no project id has been set

1.6.3

  • Bug fix to prevent user entry of whitespace characters for Project ID and Security Code

1.6.2

  • Bug fix for Upgrade with PayPal link.

1.6.1

  • Correct incorrect spelling of ‘invisibility’

1.6

  • Removed the ‘Logging Enabled/Disabled’ option (you can deactivate the plugin instead). Updated installation instructions.

1.5

  • Removed option to set partition – no longer required.

1.4

  • Added noscript to StatCounter code – allowing non-javascript enabled visitors to be tracked.

1.3

  • Added counter position option. Allows you to specify the position of the counter in the header or footer.
  • Added ‘forced invisibility’ option. Allows you to enable an invisible counter without logging into your StatCounter account.

1.2

  • Fixed critical bug.

1.1

  • Added ability to view StatCounter Stats from within the WordPress Admin.