WP Manifestindependent plugin directory
manifest / privacy / wordpress

Statrio Analytics

WordPress plugin for Statrio Analytics

★ 0stars
1.0.0latest · 6mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/statrio/wordpress/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Statrio Analytics for WordPress

Connect your WordPress site to Statrio — lightweight, privacy-friendly analytics. The plugin handles script injection, role-based exclusions, GDPR consent gating, custom events, and integrations with WooCommerce and popular form plugins.

Requirements

  • WordPress 5.8+
  • PHP 7.4+

Installation

  1. Download the plugin zip from your Statrio dashboard or GitHub releases.
  2. In WordPress Admin go to Plugins → Add New → Upload Plugin.
  3. Upload the zip, install, and activate.
  4. Go to Settings → Statrio and enter your domain key.

Alternatively, clone or symlink the folder directly into wp-content/plugins/statrio/.

Configuration

All settings live under Settings → Statrio.

Core

Setting Description
Enable Tracking Master on/off switch.
Domain Key The domain registered in your Statrio dashboard (e.g. yourdomain.com).
Script Source Load from the Statrio CDN (cdn.statrio.com/js/sr.js) or self-host the script from the plugin's /dist/sr.js.
Outbound Link Tracking Adds data-outbound="true" to automatically track external link clicks.

Exclusions

Setting Description
Exclude Logged-in Users Suppresses the script for all logged-in users.
Exclude by Role Per-role checkboxes — suppress the script for administrators, editors, etc.
Skip on Debug / Staging Does not inject the script when WP_DEBUG is true or the STATRIO_ENV constant is set to "staging".

GDPR / Consent Mode

When Require Consent Cookie is enabled, the script tag includes a data-consent-cookie attribute. The Statrio script will wait until that cookie is present before initialising — compatible with Complianz, CookieYes, and any CMP that sets a cookie on analytics acceptance.

Set the Consent Cookie Name to match whatever cookie your CMP writes (default: statrio_consent).

Integrations

Integrations are shown only when the corresponding plugin is active.

Plugin Events fired
WooCommerce add_to_cart, checkout_start, purchase
Contact Form 7 form_submit
WPForms form_submit
Gravity Forms form_submit

Script Preview

The settings page shows the exact `

Releases

1 release.

Tag
Published
1.0.0 latest
Apr 16, 2026 6mo ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.