NativeAnalytics

Native first-party analytics dashboard for ProcessWire with traffic, compare, exports and event tracking.

First-party analytics for ProcessWire. All tracking data stays in your own database: no Google Analytics, no external scripts, no remote APIs.

Current version: 1.0.39 · Changelog · Forum thread

Features


  • Traffic: page views, unique visitors, sessions, current visitors, top/landing/exit pages, browsers, devices, OS
  • Acquisition: referrers, UTM campaigns, first-touch channel attribution (Direct, Organic, Social, Referral, Paid, Email…)
  • Engagement: events for forms, downloads, contact and outbound links, custom CTAs, plus internal site search terms
  • Goals and funnels: event or path goals, conversion rates, multi-step funnels with drop-off
  • Compare: previous period or same period last year
  • Content insights: growing and declining pages, published pages without visits, smart 404 report
  • Bot filtering: AI crawlers, SEO bots, scanners and probe URLs, optional Matomo device-detector, IP blocklist
  • Privacy: cookie-less mode, consent gate, PrivacyWire helper, respects GPC and Do Not Track
  • Reports: CSV, PDF and DOCX exports, optional monthly email reports
  • Admin: dashboard with tabs, per-page stats in the page editor, data retention and cleanup tools
  • Developers: hooks shouldTrack, beforeSaveHit, beforeSaveEvent, honeypotTriggered, optional form spam honeypot

Requirements


  • ProcessWire 3.0.173+
  • PHP 7.4+
  • LazyCron (core module)
  • ZipArchive for DOCX export

Installation


  1. Copy the NativeAnalytics folder to /site/modules/.
  2. Modules → Refresh, then install NativeAnalytics (the dashboard installs with it).
  3. Open Admin → Analytics. Settings are under Modules → Configure → NativeAnalytics.

Upgrading


Replace the module folder and run Modules → Refresh. Database changes are applied automatically.

Latest release: 1.0.39


Fixes reported on the forum by matjazp. Thank you!

  • Saving the settings no longer switches the bot filter off (it is switched back on during the upgrade, with a notice).
  • Saving the settings no longer resets hidden options to their defaults (e.g. the monthly report options while monthly reports are off) or lists unchanged fields as saved.
  • Better contrast for the comparison buttons and the Reset analytics data button, especially in dark mode.
  • Settings now explain that the Page Edit summary is shown only to roles with the nativeanalytics-view permission.

Previous release: 1.0.38


Security update, reported privately by Adrian (adrianbj). Thank you!

  • Tracking endpoint refuses requests over 8 KB, and event extra data is capped at 2 KB.
  • New setting: max tracking requests per IP per minute (default 240, 0 disables).
  • CSV exports are protected against formula injection in Excel and Google Sheets.

Full history: CHANGELOG.md


Made by Pyxios

More modules by Roych

  • NativeAnalytics

    Native first-party analytics dashboard for ProcessWire with traffic, compare, exports and event tracking.
  • Native Command

    Keyboard command palette (Alt+K) for the admin and the front-end: edit any field, bulk-edit with selectors, undo, search and jump anywhere.
  • Native Forum

    A complete community forum for ProcessWire: groups, categories, topics, replies, private messages, moderation, anti-spam, SEO/GEO and ready-made designs.

All modules by Roych

Install and use modules at your own risk. Always have a site and database backup before installing new modules.