🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Pagemetrics for Matomo icon
gepflegt Getestet mit WP 7.1

Pagemetrics for Matomo

Pagemetrics for Matomo adds privacy-friendly, server-side analytics to WordPress by leveraging the pagemachine/matomo-tracking PHP library. When enabled, the plugin sends page view and optional download events from your…

Aktive Installationen10+10+ Stufe
Downloads · 30d124▲ +45.9% vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score60/100Messe
Downloads aller Zeiten977Seit November 2025
Unterstützung gelöst1 / 1100% in den letzten 2 Monaten
erfordertWP 6.1PHP 8.1+
Downloads · 7d43▲ +87% week over week
Unser Urteil

Mit Vorsicht verwenden

Pagemetrics for Matomo works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 4 months ago, and scores 60/100 on our health check.

  • Getestet mit dem neuesten WordPress (7.1)
  • Kleine Benutzerbasis (10+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Benötigt PHP 8.1 oder neuer

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

3710Sep 7Oct 21Dec 5
Gestern14
Täglicher Durchschnitt (1 Jahr)3
Spitzentag3522. August 2026
Letzte 12 Monate929

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Pagemetrics for Matomo stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
analytics >100 9,426 Best analytics plugins →
matomo #33 170 Best matomo plugins →
Privatsphäre >100 10,000 Beste Datenschutz-Plugins →
server side >100 7,460 Best server side plugins →
tracking >100 10,000 Best tracking plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 1.1100.0%

About Pagemetrics for Matomo

From the official readme · v1.1.2

Beschreibung

Pagemetrics for Matomo adds privacy-friendly, server-side analytics to WordPress by
leveraging the pagemachine/matomo-tracking PHP library. When enabled, the
plugin sends page view and optional download events from your WordPress site
directly to a Matomo instance without loading Matomo’s JavaScript tracker.

Key benefits:

  • Track page views on the server with full control over attributes such as title, URL and referrer.
  • Optional download tracking rewrites file links and records the click before redirecting visitors.
  • Optional AI assistant bot tracking detects crawls from ChatGPT, Claude, Perplexity and others and forwards them to Matomo’s dedicated AI Assistants report.
  • Multisite aware – network admins can define defaults, individual sites can override them.
  • Respects Do Not Track and Global Privacy Control headers through the underlying library.
  • Logs issues to the WordPress debug log when WP_DEBUG is enabled.

Looking for expert help with Matomo or server-side tracking? Pagemachine offers
consulting, implementation and ongoing support via our Pagemetrics solution.
More info: Pagemetrics.eu

Developer Hooks

Page view tracking:

  • pm_matomo_tracking_should_track_request — Return false to skip page view tracking for the current request.
  • pm_matomo_tracking_visitor_ip — Override the visitor IP forwarded to Matomo as cip (defaults to REMOTE_ADDR; used for page views and downloads when an auth token is set). Return an empty string to skip IP forwarding.

Download tracking:

  • pm_matomo_tracking_should_rewrite_downloads — Return false to keep original download URLs for the current post.
  • pm_matomo_tracking_is_download_url — Decide whether a specific URL should be rewritten (receives URL and default extension list).
  • pm_matomo_tracking_download_extensions — Adjust the list of file extensions that count as downloads.
  • pm_matomo_tracking_download_url — Customize the generated redirect URL used for download tracking.
  • pm_matomo_tracking_download_redirect_status — Change the HTTP status code used when redirecting to the original file.

AI assistant bot tracking:

  • pm_matomo_tracking_ai_bot_user_agents — Extend or replace the list of User-Agent substrings used to detect AI bots.

General:

  • pm_matomo_tracking_log_message — Listen to debug messages emitted while WP_DEBUG is enabled.

Example usages

// Skip tracking for administrators.
add_filter('pm_matomo_tracking_should_track_request', static function ($shouldTrack) {
    return current_user_can('manage_options') ? false : $shouldTrack;
});

// Keep original download URLs on the privacy policy page.
add_filter('pm_matomo_tracking_should_rewrite_downloads', static function ($shouldRewrite) {
    return is_page('privacy-policy') ? false : $shouldRewrite;
});

// Force CDN assets to be treated as downloads.
add_filter('pm_matomo_tracking_is_download_url', static function ($decision, $url) {
    return str_contains($url, 'cdn.example.com/assets/') ? true : $decision;
}, 10, 2);

// Add extra file types to download tracking.
add_filter('pm_matomo_tracking_download_extensions', static function ($extensions) {
    $extensions = array_merge($extensions, ['svg', 'heic']);
    return array_unique($extensions);
});

// Append a checksum to rewritten download URLs.
add_filter('pm_matomo_tracking_download_url', static function ($trackingUrl, $target, $label) {
    $checksum = substr(hash('sha256', $target . $label), 0, 12);
    return add_query_arg('pm_checksum', $checksum, $trackingUrl);
}, 10, 3);

// Use a 307 redirect instead of the default 302.
add_filter('pm_matomo_tracking_download_redirect_status', static function () {
    return 307;
});

// Add a custom bot to AI assistant tracking.
add_filter('pm_matomo_tracking_ai_bot_user_agents', static function (array $substrings): array {
    $substrings[] = 'MyCustomBot';
    return $substrings;
});

// Behind a reverse proxy: forward the real client IP from X-Forwarded-For.
add_filter('pm_matomo_tracking_visitor_ip', static function ($ip, $request) {
    $forwarded = $request->getHeaderLine('X-Forwarded-For');
    if ($forwarded === '') {
        return $ip;
    }

    // Use the first (client) address in the list.
    return trim(explode(',', $forwarded)[0]);
}, 10, 2);

// Forward debug messages to the PHP error log while developing.
add_action('pm_matomo_tracking_log_message', static function ($level, $message) {
    if (!defined('WP_DEBUG') || WP_DEBUG !== true) {
        return;
    }

    // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log
    error_log(sprintf('[Pagemetrics for Matomo][%s] %s', strtoupper((string) $level), $message));
}, 10, 2);

Installation

  1. Upload the pagemetrics-for-matomo plugin directory (including the bundled vendor/
    folder) to your site’s wp-content/plugins path.
  2. Activate the plugin through the Plugins → Pagemetrics for Matomo screen in WordPress.
  3. Open Settings → Pagemetrics for Matomo and configure:
    • Matomo URL (e.g. https://matomo.example.com/)
    • Default Matomo site ID
    • Optional auth token (required for IP tracking and other privileged attributes)
    • HTTP timeout for Matomo requests
    • Download tracking toggle, if you want the plugin to rewrite file links automatically
    • AI assistant bot tracking toggle, to send AI crawler hits to Matomo’s AI Assistants report (requires Matomo 5.8.0 or later)
  4. (Multisite) Network administrators can define defaults under Network Admin → Settings → Pagemetrics for Matomo. Individual sites can override those values on their local settings page.

The plugin starts sending data as soon as the Matomo URL and site ID are set.

Änderungsprotokoll

1.1.2

  • Tested with WordPress 7.1.
  • No functional changes.

1.1.1

  • Fixed: the real visitor IP is now forwarded to Matomo as the cip parameter when an auth token is set, so page views and downloads geolocate the visitor instead of the WordPress server.
  • New pm_matomo_tracking_visitor_ip filter to override the forwarded IP (e.g. from a trusted proxy header) or disable IP forwarding.

1.1.0

  • Added AI assistant bot tracking: detects crawls from ChatGPT, Claude, Perplexity and other AI agents and forwards them to Matomo’s AI Assistants report (requires Matomo 5.8.0+).
  • New pm_matomo_tracking_ai_bot_user_agents filter to extend the list of detected bot User-Agents.

1.0.0

  • Initial release with server-side page view tracking, optional download tracking and multisite support.

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Pagemetrics for Matomo settings
Pagemetrics for Matomo settings

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Pagemetrics for Matomo alternatives

All analytics plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Site Kit von Google – Analytics, Search Console, AdSense, Geschwindigkeit Site-Kit von Google Site Kit ist eine One-Stop-Lösung für WordPress-Benutzer, um alles zu verwenden Google hat… von Google 5M+ ★★★★★★★★★★ 4.2 (1K) Vor 5 Tagen 92
2 MonsterInsights – Google Analytics-Dashboard für WordPress (Website-Statistiken leicht gemacht) Monster-Einblicke Das beste kostenlose Google Analytics-Plugin für WordPress. Sehen Sie, wie Besucher Ihre… von chriscct7 2M+ ★★★★★★★★★★ 4.5 (3.2K) Vor 3 Monaten 89
3 WP-Statistiken – Einfach, datenschutzfreundlich Google Analytics-Alternative WP-Statistiken Cookielose, datenschutzfreundliche WordPress-Analyse. Klare Grafiken und Besucherdaten aufbewahrt… von Veronalabs 500K+ ★★★★★★★★★★ 4.1 (763) Vor 5 Tagen 90
4 GA Google Analytics – Verbinden Google Analytics mit WordPress GA Google Analytics – Verbinden Google Analytics mit WordPress Fügt Ihrer WordPress-Website Google Analytics-Tracking-Code hinzu. Unterstützt viele Tracking-Funktionen. von Jeff Starr 400K+ ★★★★★★★★★★ 4.9 (159) Vor 1 Woche 97
5 ExactMetrics – Google Analytics-Dashboard für WordPress (Plugin für Website-Statistiken) Exactmetrics Verbindet Google Analytics mit Ihrer WordPress-Site. Zeigt Statistiken an, die Ihnen helfen, zu verstehen… von Syed Balkhi 200K+ ★★★★★★★★★★ 2.5 (1.5K) Vor 3 Monaten 80
6 Kopf-, Fuß- und Postinjektionen Kopf-, Fuß- und Postinjektionen Kopf- und Fußzeilen-Plugin können Sie HTML-Code zu den Kopf- und Fußzeilenbereichen Ihres… Von Stefano Lissa 200K+ ★★★★★★★★★★ 4.9 (735) Vor 8 Monaten 53
7 Burst Statistics – Simple WordPress Analytics (Google Analytics Alternative) Burst Statistics Simple, lightweight WordPress analytics with privacy-friendly visitor tracking. Cookieless… by Burst Statistics B.V. 200K+ ★★★★★★★★★★ 4.9 (194) Vor 5 Tagen 95
8 HubSpot All-In-One Marketing – Forms, Popups, Live Chat HubSpot All-In-One Marketing – Forms, Popups, Live Chat The CRM, Sales, and Marketing WordPress plugin to grow your business better. Capture and… by HubSpot 200K+ ★★★★★★★★★★ 4.3 (207) Vor 1 Woche 81
9 UserFeedback – Erstellen Sie in Sekundenschnelle interaktive Feedback-Formulare, Benutzerumfragen und Umfragen Userfeedback Ultimatives Benutzerfeedback-Plugin, um Fragen, Umfragen, Umfragen von Ihrer Website in Sekundenschnelle zu stellen von Syed Balkhi 200K+ ★★★★★★★★★★ 4.8 (311) Vor 3 Monaten 82
10 Post Views Counter Post Views Counter Count and display post views, track site-wide visits, and see what content works – inside… von dFactory 100K+ ★★★★★★★★★★ 4.9 (1.2K) Vor 2 Wochen 96

Fragen und Antworten

Pagemetrics for Matomo: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Pagemetrics for Matomo free?

Yes. Pagemetrics for Matomo is free to download and use from the official WordPress.org plugin directory.

Is Pagemetrics for Matomo safe to use in 2026?

Pagemetrics for Matomo works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 4 months ago, and scores 60/100 on our health check.

How many websites use Pagemetrics for Matomo?

Pagemetrics for Matomo is active on 10+ WordPress websites and has been downloaded 977 times since it launched in November 2025. It was downloaded 124 times in the last 30 days.

Does Pagemetrics for Matomo work with WordPress 7.1?

Yes. The developer has tested Pagemetrics for Matomo up to WordPress 7.1.5, the latest release. It requires WordPress 6.1 or newer.

What PHP version does Pagemetrics for Matomo need?

Pagemetrics for Matomo requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Pagemetrics for Matomo last updated?

The latest version, 1.1.2, was released on August 22, 2026 (4 months ago).

Who makes Pagemetrics for Matomo?

Pagemetrics for Matomo is developed and maintained by Pagemachine.

What are the best alternatives to Pagemetrics for Matomo?

The most popular alternatives to Pagemetrics for Matomo are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen