WP Smart Analytics


WP Smart Analytics provides insights into visitor analytics provides security to your wordpress installation from the comfort of your WordPress dashboard. This plugin does not use database and has option to anonymize IP’s. The data required is stored locally as encrypted text files along with .htaccess to prevent unauthorized access.

Tag cloud provides you an overview of the various tags with their frequency in descending order. Clicking on an ‘IP’ or a tag would filter the visitor logs thereby helping the administrator take decisions. Ban tagging would generate security texts for updating ‘.htaccess’ manually. Thus this plugin can be used for lead analytics, and security maintenance.

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

Please use the plugin if and only if it meets required statutory and regulatory compliances applicable in your jurisdiction.

More features are coming.






  • Administration screen.
  • Administration screen for mobile.
  • Filtered by cloud tag named Visitor_22.
  • 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_counter].


  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 ipstack.com 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 ipstack.com 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. For example, assume you want to ignore logging a specific folder. In that case add it to comma separated ignore list.

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]vinodsebastian.com
I will try to respond promptly.


Lees 1 beoordeling

Bijdragers & ontwikkelaars

“WP Smart Analytics” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


Vertaal “WP Smart Analytics” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via 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.