=== WPress Analytics ===
Contributors: wpressplugins
Tags: analytics, statistics, privacy, realtime, dashboard
Requires at least: 6.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A fun, first-party WordPress analytics dashboard with live visitors, site traffic, popular pages, traffic sources and exports. Built by WPress Plugins.

== Description ==

WPress Analytics turns your WordPress dashboard into a clean, colorful command center for your traffic — without connecting to a third-party analytics provider. See page views, daily unique visitors, your busiest content and what's happening on the site right now.

Features:
* Live visitors and currently viewed pages (last five minutes)
* Realtime dashboard refreshed every 15 seconds
* Views, daily unique visitors, trends, and period comparisons
* Traffic history for 7, 30, 90 or 365 days
* Top pages, referrer domains, device categories and browser breakdowns
* Activity by hour, best day and CSV export
* Optional dashboard takeover and a compact WP dashboard widget
* First-party tracking with no analytics cookies
* No raw IP addresses or full user-agent strings saved
* Exclude logged-in visitors and honor the Do Not Track setting

Privacy note: the plugin calculates a pseudonymous visitor hash from IP address and user-agent information using a WordPress salt. It stores that hash for limited deduplication/realtime purposes. Your website owner remains responsible for disclosures, consent where needed, and retention policies.

== Installation ==

1. In WordPress, open Plugins > Add New > Upload Plugin.
2. Upload wpress-analytics.zip and activate.
3. Open WPress Analytics in the admin menu.
4. Open Settings to select privacy preferences and optional dashboard takeover.

== Upgrade from Solid Analytics ==

WPress Analytics reuses the existing swstats_* database tables and swstats_settings option, preserving stored stats if Solid Analytics was previously installed on the SAME WordPress site.

Deactivate Solid Analytics after enabling WPress Analytics. Do not run both long-term; when both are active the new tracker pauses to avoid duplicate page views. The older plugin is never automatically disabled or deleted.

== Frequently Asked Questions ==

= Is Google Analytics required? =
No. This plugin records analytics directly in your WordPress database.

= Does the plugin use analytics cookies? =
No, its tracking script does not create analytics cookies.

= Are my stats deleted when the plugin is deactivated? =
No. Deactivation stops tracking and scheduled cleanup, and does not drop stored analytics tables.

= Does it track people who are signed in? =
Not by default. You can enable tracking of logged-in visitors in Settings.

= Is it automatically compliant with privacy regulations? =
No software can promise that for every website. Review your region's tracking and consent requirements and describe the technology in your privacy policy.

== Changelog ==

= 1.0.0 =
* First WPress Plugins edition based on Solid Analytics 1.0.1.
* Fully English admin interface and export headers.
* New colorful pixel/arcade-inspired admin design.
* New independent plugin name, slug, REST namespace and admin script handles.
* Retains existing analytics data and settings for migration on the same site.
* Prevents duplicate tracking during a side-by-side transition from Solid Analytics.
* Dashboard takeover is disabled by default on fresh installs.
