Install
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/sumetrika/sumetrika-wordpress/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Sumetrika Analytics for WordPress
Official WordPress plugin for Sumetrika — privacy-first, cookieless analytics.
Requirements
- WordPress 6.2+
- PHP 8.0+
- A Sumetrika account (app.sumetrika.com)
Installation (development)
- Clone this repository into
wp-content/plugins/sumetrika(folder name should match the plugin slug you prefer; the main file issumetrika.php). - Activate Sumetrika Analytics in wp-admin.
- Paste your tracking code under Sumetrika → Settings.
Features
- Automatic tracking script install (
defer+crossorigin="anonymous") - Measurements: outbound links, downloads, 404, forms, WooCommerce
- Custom events via CSS selectors +
smt()API docs - First-party proxy (ad-blocker resilience)
- Shared dashboard iframe in wp-admin
- Role / path exclusions and cache-plugin compatibility
Development
composer install
composer test
composer phpcs
License
GPL-2.0-or-later