WSC WordPress Analytics

Support the Developer

If this plugin has helped you, please consider supporting further development. Your contribution directly fuels
new features, improvements and long‑term maintenance.

Every contribution helps fuel new features and improvements!

Thank you for being part of our mission to simplify complexity.

WSC WordPress Analytics – Lightweight, Privacy‑Friendly Insights

Most analytics tools are built for marketing stacks, not for people who just need to understand what’s happening
on their WordPress site. They add heavy JavaScript, send data offsite, and often require complex configuration.

WSC WordPress Analytics takes a different approach:

  • No external scripts – everything runs inside WordPress.
  • Lightweight tracking – minimal overhead, focused on key metrics.
  • Privacy‑aware – easier to justify for internal sites, intranets or sensitive environments.

It’s built for site owners, internal teams and developers who want clear answers to simple questions:
“What pages are being viewed?”, “When?”, and “By whom (in broad terms)?”


What This Plugin Does

1. Tracks Page Views & Basic Engagement

WSC WordPress Analytics records essential visit information without bloat:

  • Page views – which URLs are being accessed.
  • Timestamps – when visits occur (date & time).
  • Visitor context – basic browser/agent info, IP or anonymised ID.
  • Optionally – logged‑in user ID (for internal sites).

This gives you a clean, internal log of activity that you can slice by page, date, or user context.

2. Provides an Admin Analytics Dashboard

All analytics are surfaced via a WordPress admin page, with no external accounts needed:

  • Top pages by views in the last X days.
  • Simple charts for daily/weekly traffic trends.
  • Filters by date range and content type (posts, pages, custom post types).
  • Breakdowns by status (published, private, draft where relevant).

It’s designed for quick answers, not endless reports.

3. Respects Performance & Privacy

Because everything runs natively:

  • No third‑party tracking pixels or heavyweight JS.
  • Data stays on your server (within your database).
  • Easy to align with internal policies and compliance requirements.
  • Minimal performance impact on your front‑end pages.

Ideal for intranets, internal tools, client portals and low‑overhead public sites.


Key Metrics Captured

Per‑Page Metrics

  • Total page views.
  • Views over a configurable period (e.g. last 7 / 30 days).
  • Top referring pages (if available).
  • Optional per‑post analytics panel in the edit screen.

Site‑Level Analytics

  • Overall traffic trends over time.
  • Most viewed content types (posts, pages, CPTs).
  • Basic device / browser breakdowns via user agent parsing.
  • Optional segmentation by logged‑in vs anonymous users.

Developer‑Friendly by Design

WSC WordPress Analytics is intentionally simple at the UI level but structured so developers can extend it:

  • Uses standard custom tables or postmeta (depending on your configuration) for analytics data.
  • Exposes actions and filters around key events (recording a hit, rendering reports).
  • Plays well with WP‑CLI or custom admin pages for advanced reporting.
  • Integrates with the WordPress REST API for building custom dashboards if needed.

You can, for example, hook into:

// Fired when a new analytics record is created.
do_action( 'wsc_analytics_recorded', $post_id, $context );

// Filter analytics query args before fetching data.
apply_filters( 'wsc_analytics_query_args', $args );

// Extend dashboard widgets.
do_action( 'wsc_analytics_dashboard_widgets' );

Why Use WSC WordPress Analytics?

  • Control: all data stays in your WordPress database – no external trackers.
  • Clarity: focused reports show you what’s being used, not marketing vanity metrics.
  • Performance: lightweight tracking keeps page loads fast.
  • Extendable: hooks and a clean data model let developers build on top of it.

How to Use It – Quick Start

  1. Install & Activate
    Upload the plugin to wp-content/plugins/ and activate it in
    Plugins → Installed Plugins.
  2. Initial Configuration
    Go to Settings → WSC Analytics (or the WSC menu entry) and:

    • Enable tracking for the post types you care about (e.g. posts, pages, products).
    • Decide whether to log logged‑in users or anonymous traffic only.
    • Optionally enable IP anonymisation or other privacy options.
  3. Let It Run
    Once enabled, WSC WordPress Analytics will start recording page views automatically:

    • No theme changes required in most setups.
    • Verify by visiting a few pages while logged in as an admin.
    • Check the analytics dashboard after a short period for initial data.
  4. Review Reports
    Use the analytics dashboard to:

    • See top content and traffic trends.
    • Identify under‑used pages or sections.
    • Export or screenshot simple reports for internal stakeholders.

Notes & Limitations

  • Designed primarily for internal / operational use, not as a replacement for full marketing analytics suites.
  • Data volume grows with traffic; on very large sites you may want to configure pruning or archiving.
  • As with any analytics tool, you should review your privacy policy and local regulations before enabling tracking.
  • Test on a staging site if you are adding custom extensions or integrations.

Explore Our Other WordPress Plugins


WSC Accounting (Core)

Core accounting engine for transactions, financial reports and double‑entry bookkeeping.


View details →


Khipu Accounting

A streamlined accounting layer focused on sales, expenses and third‑party contacts.


View details →


HRM – Human Resources Manager

Manage employee records, departments, positions and HR events directly inside WordPress.


View details →


WSC External Link Cleaner

Clean external URLs in your content while keeping visible text and internal links intact.


View details →


Current Version Status

Track which WordPress and plugin versions you are running and where updates are needed.


View details →


ManBehindTheCurtain

A backstage toolkit for developers and admins, surfacing diagnostics and helpers safely.


View details →


Page / Post Footer

Add consistent footer content (disclaimers, CTAs, legal notes) to your pages and posts.


View details →


WooCommerce External Stock Links

Link WooCommerce products to external channels (Amazon, eBay, Etsy) and track outbound clicks.


View details →


WSC 404 Redirect

Control how 404s are handled and redirect visitors to more useful destinations.


View details →

Contact the WSC WordPress Analytics team

Name