WPEXTN Post Page Analytics

Tracks views on posts and pages with total and unique (by IP) counts, timestamps, GDPR-aware IP/User-Agent logging, IP masking, bulk delete, and CSV export.

Version History

v1.0.0 Latest
Oct 17, 2025
18.3 KB
Release Notes
== Description ==

**WPEXTN Post Page Analytics** logs each view of single posts and pages in a dedicated database table, giving you simple, privacy-aware analytics right inside WordPress. It adds an **overview dashboard**, a **sortable/paginated log**, **bulk delete**, **CSV export**, and a **Views column** in Posts/Pages lists (showing *total* and *unique by IP*).

**🔧 Features:**

- Logs each view of single **posts** and **pages**, including:
- Post ID
- View time (site timezone)
- IP address *(optional; can be masked or fully disabled)*
- User Agent *(optional; can be disabled)*
- **Privacy controls (GDPR-friendly):**
- Toggle IP & User-Agent logging on/off
- **Mask IP** (IPv4 last octet / IPv6 last segment)
- **Admin UI:**
- **Overview**: total views, unique posts/pages viewed, breakdown for posts vs pages
- **Log table**: sortable columns, pagination, select rows
- **Bulk delete** selected rows
- **Export selected** rows to **CSV**
- **Delete all** logged data (with nonce & confirmation)
- **Posts/Pages list integration:**
- Adds a **Views** column showing `Total (Unique by IP)`
- Lightweight, no front-end dependencies

**Notes on “Unique”**: The **unique count** shown in the Posts/Pages **Views** column is calculated by **distinct IP**s for that post. (If IP logging is disabled, unique will read as 0.)

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install via the admin panel.
2. Activate the plugin.
3. Go to **Settings → WPEXTN Analytics** to configure tracking and privacy options.
4. See **Posts → All Posts** and **Pages → All Pages** for the new **Views** column (`Total (Unique)`).
5. Use the **Analytics** settings page to review the overview, browse logs, **bulk delete**, **export CSV**, or **delete all** data.

== Changelog ==

= 1.0.0 =
Initial release.
Plugin Information
  • Version: v1.0.0
  • Category: tools
  • Price: Free
  • Requirements:
    WordPress 5.0 or higher PHP 7.4 or higher Memory limit: 256MB minimum