=== Amari Show ===
Contributors: alinazarimehr
Tags: analytics, statistics, visitors, pageviews, charts
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.0.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Amari Show is a professional and lightweight analytics plugin for WordPress.

== Description ==

Amari Show is a powerful yet lightweight analytics plugin for WordPress. It helps you track your website visitors and page views with beautiful charts and detailed statistics - all while respecting user privacy.

= 🚀 Key Features =

* Real-time Statistics - Live visitor tracking for the last hour
* Beautiful Charts - Interactive 30-day trend charts with tooltips
* Unique Visitors - Accurate count of unique visitors using privacy-friendly cookies
* Top Pages - Most viewed pages with pagination
* Top Referrers - See where your traffic comes from
* Dashboard Widget - Quick stats right on your WordPress dashboard
* Date Range Filter - Custom date selection for detailed analysis
* CSV Export - Export statistics for external analysis
* Privacy Friendly - IP anonymization and cookie-based tracking
* RTL Support - Perfect for Persian, Arabic, and Hebrew websites
* Translation Ready - Fully translatable with POT file included

= 🎯 Why Choose Amari Show? =

* Lightweight - Minimal impact on your site performance
* No External Services - All data stored locally in your database
* GDPR Compliant - Privacy-first approach with IP anonymization
* User-Friendly - Intuitive interface with beautiful design
* Free & Open Source - Released under GPLv2 license

== Installation ==

1. Upload the `amari-show` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Start tracking your visitors automatically - no configuration needed!
4. View your statistics in Dashboard → Amari Show

= Manual Installation =

1. Download the plugin zip file
2. Go to WordPress Admin → Plugins → Add New
3. Click "Upload Plugin" and select the zip file
4. Click "Install Now" and then "Activate"

== Frequently Asked Questions ==

= Does Amari Show work with caching plugins? =

Yes! Amari Show uses AJAX requests that bypass most caching plugins, ensuring accurate statistics even on cached pages.

= Does it affect website performance? =

No, Amari Show is extremely lightweight. The tracking script is minimal (less than 1KB) and all data processing happens asynchronously.

= Is it GDPR compliant? =

Yes, Amari Show respects user privacy by:
- Anonymizing IP addresses (last octet removed)
- Using privacy-friendly cookies
- Storing all data locally on your server
- No third-party services or data sharing

= Can I export my statistics? =

Yes! You can export your statistics as CSV files from the settings page.

= Does it work with WooCommerce? =

Amari Show tracks all post types, including WooCommerce products, but focuses on page views rather than sales analytics.

= How long is data retained? =

You can configure data retention period in the settings. By default, data is kept for 365 days and automatically pruned.

= Is there a multi-language version? =

Yes, Amari Show is fully translatable. English and Persian translations are included.

== Screenshots ==

1. assets/screenshot-1.png
2. assets/screenshot-2.png
3. assets/screenshot-3.png
4. assets/screenshot-4.png

== Changelog ==

= 1.0.6 =
* Removed all file-based caching and buffering system

= 1.0.5 =
* Change cache directory from `/uploads/amari-cache/` to `/uploads/amari-show/cache/`

= 1.0.4 =
* Improved code quality

= 1.0.3 =
* Fixed plugin prefixing (AMARI_SHOW_ constants)
* Fixed file creation path (uploads/amari-show/)
* Improved sanitization and escaping throughout
* Security hardening and code quality improvements

= 1.0.2 =
* Fixed security issues (nonce validation, escaping)
* Improved code quality
* Updated tested up to WordPress 6.9

= 1.0.1 =
* Initial release
* Core analytics functionality
* 30-day trend charts
* Top pages and referrers
* Dashboard widget
* CSV export
* Settings page
* RTL support
* Persian (Farsi) translation

== Upgrade Notice ==

= 1.0.3 =
Critical fix for WordPress.org repository compliance. Update recommended!

= 1.0.2 =
Security fixes and improvements - update recommended!

== Translations ==

* English (default)
* Persian (Farsi) - by Ali Nazarimehr

== Credits ==

Developed by [Ali Nazarimehr](https://modir-site.ir)