This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Smart Analytics


WP Smart Analytics provides insights into visitor analytics and provides security to your wordpress installation from the comfort of your WordPress dashboard. This mobile friendly plugin uses only encrypted text files for logs and database for statistics. It has option to anonymize IP’s and data is stored locally.

Tag cloud provides you an overview of the tagged visitors in descending order of visit frequency along with their visit details which can be used for lead analytics, and security maintenance. It further distinguishes website visitors as administrator or visitor or bot.

User interface is provided to retrieve statistics for a given period on Page Type, Page Title, Visitor Country, Visitor Platform, Visitor Browser and Visitor Source.

The plugin offers readonly and manage roles based on user role. A shortcode [wpsa_log] is also provided to display visitor logs which we strongly suggest to hide from public.

Please use the plugin if and only if it meets required statutory and regulatory compliances applicable in relevant jurisdiction(s). Contributor(s) takes no responsibility or liability due to its usage – either direct or indirect so please use your discretion.

Many new features are in pipeline.




  • Administration screen – Desktop.
  • Administration screen – Mobile – Settings.
  • Administration screen – Mobile – Report.
  • Administration screen – Desktop – Logs (Filtered by tag).
  • Administration screen – Mobile – Logs.
  • Add a tag by clicking on Visitor (man with football icon).
  • How to ban an ‘IP’.
  • 403 Access Forbidden.
  • Post with [wpsa_log] short code.
  • Image of [wpsa_count] short code.


  1. Upload ‘wp-smart-analytics’ to the ‘/wp-content/plugins/’ directory.
  2. Activate the ‘Plugin’ through the ‘Plugins’ menu in WordPress.
  3. On activation ‘wp-smart-analytics’ directory is created inside ‘/wp-content/uploads/’ folder to store encrypted logs and meta data.
  4. Files and directories inside it are secured from unauthorized access but please do validate.


Q. Why is the plugin asking for API key?
A. IP stack has got a free API service used to obtain locality of an IP address. The plugin uses this. We are not affiliated with the service provider.

Q. Is API key a must?
A. No. The plugin gracefully degrades without it. Unfortunately locality won’t be logged.

Q. What is ‘Do not log’ in settings?
A. File paths containing any one of the comma separated texts corresponding to ‘Do not log’ in settings panel are not logged when visited.

Q. I want to reverse certain banned ‘IP’s?
A. You can update the ban texts by altering meta tags from settings panel and saving. Please be careful.

Q. Can I use [wpsa_log] shortcode anywhere?
A. A shortcode [wpsa_log] is also provided to display visitor logs. We strongly suggest to keep it hidden from public.

Q. How to use [wpsa_log] short code?
A. Shortcode [wpsa_log] has attributes style and heading_style.
— style is the general style you can add for the log (id = log) and defaults to ”.
— heading_style is the inline style you can add for the headings (tag = h2) and defaults to ”.

Q. How to use [wpsa_count] short code?
A. Shortcode [wpsa_count] has attributes length, pad, offset and style added to display the unique visitor count on your website.
— length is the length of the counter and defaults to 8.
— pad is the padding character used and defaults to ”.
— offset is the offset to be added to the counter and defaults to 0.
— style is the inline style you can add for the counter (id = count) and defaults to ”.

More questions, mail me at business[at]
I will try to respond promptly.


Read all 1 review

Contributors & Developers

“WP Smart Analytics” is open source software. The following people have contributed to this plugin.


Translate “WP Smart Analytics” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • WP Smart Analytics is launched.


  • Logs in reverse chronological order.
  • Ability to tag IPs.
  • Ability to ban IPs.
  • Tag cloud.
  • Minor bugs removed.


  • Increased security.


  • Tag cloud to display in descending order of frequency only above a threshold of 3.
  • Ability to filter by clicking on cloud tag.
  • Ajax loading icon.


  • Aligned with WordPress theme.
  • Aligned with WordPress internationalization.
  • A Managed version for Administrators and Read Only version for Other Roles provided.
  • Shortcode [wpsa_log] added for website WordPress frontend.


  • Breaking change so please save old logs manually if required.
  • Major revamp of code.
  • Improved user experience.
  • Enhanced security with logs being encrypted.
  • Location of logs moved from plugin folder so that logs are not lost on future plugin updates.
  • Introduced usage of cookies.
  • Captures duration and referrer.
  • Added settings section with many features.
  • Enhanced functionality.


  • Location API bug fixed. API key needs to be resaved from settings.


  • Major bug due to typo fixed.


  • Enhancement.


  • Bots are tagged.


  • IPv6 visitor details are also tagged and logged.


  • Simplified OS and Browser detection.


  • Fix notices.


  • Option to anonymize IPs.


  • Fix notices.


  • Visitor’s preferred language is captured.
  • Auto-refresh for today logs added in settings.
  • Shortcode [wpsa_count] with attributes length, pad, offset and style added.


  • Bots are separately captured.
  • Browser and OS detection enhanced.
  • Information on visitor’s landing page captured.


  • Shortcode [wpsa_log] has new attributes style and heading_style.


  • Ip location bug fixed.


  • SQL database created to store visitor statistics.
  • User interface created to retrieve statistics for a given period on Page Type, Page Title, Visitor Country, Visitor Platform, Visitor Browser and Visitor Source.


  • Minor bug fix for PHP warnings.