WP Manifestindependent plugin directory
manifest / analytics / extrachill-analytics

Extra Chill Analytics

WordPress plugin for tracking user activity across the Extra Chill network.

by Chris Huber · github.com/extra-chill/extrachill-analytics

0stars
103release downloads
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/extra-chill/extrachill-analytics/releases/download/v0.36.3/extrachill-analytics.zip

Readme

Extra Chill Analytics

Network-wide analytics tracking and reporting for the ExtraChill Platform WordPress multisite network.

Overview

The ExtraChill Analytics plugin provides comprehensive view tracking and analytics reporting across all sites in the ExtraChill Platform multisite network. It tracks eligible public routes through a signed, asynchronous browser request to the WordPress Abilities API, excluding previews and rejecting writes that do not match the rendered host, path, route family, and optional post. A network admin dashboard displays analytics data across all sites.

Features

  • Unified Event Tracking: Network-wide custom table for tracking newsletters, registrations, and more
  • Network-Wide Activation: Plugin activated across all sites in the multisite network
  • Async View Tracking: Uses navigator.sendBeacon and fetch with keepalive for non-blocking tracking
  • Signed Ability Writes: Tracks browser views through the Core Abilities runner at /wp-json/wp-abilities/v1/abilities/extrachill/track-page-view/run
  • Preview Exclusion: Automatically excludes preview mode from view counting
  • Post Meta Storage: Stores view counts in WordPress post meta (ec_post_views)
  • Network Admin Dashboard: React-powered analytics dashboard under Extra Chill Multisite menu
  • Asset Versioning: Automatic cache busting using filemtime() on all enqueued assets
  • Conditional Loading: Frontend tracking loads on eligible public routes, while the admin dashboard loads only on the analytics page

Requirements

  • WordPress Multisite
  • PHP 7.4+
  • WordPress 5.0+
  • WordPress Abilities API support

Notes

This plugin is a network plugin used inside the Extra Chill Platform multisite network.

Browser Pageview Contract

The signed Analytics-owned tracker is the sole browser pageview path:

  • Track View - POST /wp-json/wp-abilities/v1/abilities/extrachill/track-page-view/run
  • Envelope - {"input":{"source_path":"/story/","route_family":"singular","proof":"<server-rendered proof>","post_id":123}}
  • source_path, route_family, and proof are required. post_id is present only for post-backed views.
  • The server renders the proof into the tracker configuration. Browser or API consumers must not construct or substitute it.
  • Analytics validates the signed blog/host/path/family/post tuple before incrementing ec_post_views or storing a pageview event.
  • Route views store only the pageview event; post-backed views also retain the legacy post-meta counter.

The former public post-only /extrachill/v1/analytics/view path is not compatible and must not be documented or reintroduced. Its coordinated removals are tracked in Extra-Chill/extrachill-artist-platform#133, Extra-Chill/extrachill-api#118, and Extra-Chill/extrachill-api-client#14. Extra Chill API remains responsible for its click/impression HTTP adapters; those responsibilities do not move into Analytics.

Development

See AGENTS.md for detailed development documentation, architectural patterns, and implementation details.

Notes

This repo is a network plugin used inside the Extra Chill Platform multisite network. All analytics data is stored per-site using WordPress post meta, but can be aggregated network-wide via the analytics dashboard.

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v0.36.3 Aug 22, 2026 extrachill-analytics.zip 50
v0.36.2 Aug 21, 2026 extrachill-analytics.zip 2
v0.36.1 Aug 19, 2026 extrachill-analytics.zip 1
v0.36.0 Aug 5, 2026 extrachill-analytics.zip 4
v0.35.0 Aug 4, 2026 extrachill-analytics.zip 1
v0.34.0 Aug 4, 2026 extrachill-analytics.zip 1
v0.33.0 Aug 2, 2026 extrachill-analytics.zip 1
v0.32.1 Jul 18, 2026 01-extrachill-analytics.zip 3
v0.32.1 Jul 18, 2026 extrachill-analytics.zip 0
v0.32.0 Jul 18, 2026 extrachill-analytics.zip 0
v0.32.0 Jul 18, 2026 01-extrachill-analytics.zip 0
v0.31.0 Jul 18, 2026 01-extrachill-analytics.zip 0
v0.31.0 Jul 18, 2026 extrachill-analytics.zip 0
v0.30.2 Jul 17, 2026 01-extrachill-analytics.zip 1
v0.30.2 Jul 17, 2026 extrachill-analytics.zip 0
v0.30.1 Jul 17, 2026 01-extrachill-analytics.zip 0
v0.30.1 Jul 17, 2026 extrachill-analytics.zip 0
v0.30.0 Jul 16, 2026 01-extrachill-analytics.zip 0
v0.30.0 Jul 16, 2026 extrachill-analytics.zip 0
v0.29.1 Jul 16, 2026 01-extrachill-analytics.zip 1
v0.29.1 Jul 16, 2026 extrachill-analytics.zip 0
v0.29.0 Jul 16, 2026 01-extrachill-analytics.zip 1
v0.29.0 Jul 16, 2026 extrachill-analytics.zip 0
v0.28.6 Jul 15, 2026 01-extrachill-analytics.zip 1
v0.28.6 Jul 15, 2026 extrachill-analytics.zip 0