• Hello,

    since the last update of our self hosted matomo instance to the last version and the WordPress Update to the last version, the plugin slows down our managed server and lost the connection to the matomo instance many times. i had to deactivate it.

    maybe i can send you additional information from the php slow log? i noticed that the plugin is compatible with WordPress 6.8.3, but not the latest. maybe is this the reason? are there any plans for an updated version?

    Thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author dizzyatinnocraft

    (@dizzyatinnocraft)

    Connect Matomo is compatible with the latest version of WordPress, it just hasn’t been marked compatible yet. It is also a very small plugin, it does nothing in the background. I would be very surprised if it caused performance issues for anyone. If you deactivate the plugin, does the issue go away? And does it come back immediately after activation?

    Can you elaborate on what you mean by “lost the connection to the matomo instance many times”?

    Thread Starter Koji

    (@koji89)

    Hi Thank you for your Feedback.

    yes, when i deactivate it the issue is gone, but we have that issue with another plugin too, maybe its something with the database connection. Our hosted Matomo is now Matomo-Version: 5.7.1 and WordPress is now 6.9.1.

    maybe the slow down is because of the lost connection from wordpress and the repeating connection attempts:

    Plugin Author dizzyatinnocraft

    (@dizzyatinnocraft)

    That 5 second timeout should only affect admin pages of Connect Matomo, those are the only pages that will send requests to Matomo.

    If the issue occurs with another plugin, it is probably not directly related to Connect Matomo. Can you check your database’s slow queries log with Connect Matomo deactivated, but the other plugin activated? I suggest also asking your hosting provider.

    Thread Starter Koji

    (@koji89)

    Hello, perhaps the entry from the PHP FPM slow log will help: (I have anonymized the full server path)

    [12-Feb-2026 11:33:29] [pool ...] pid 1201918 script_filename = .../index.php [0x0000792097413dc0] curl_exec() .../wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php:50 
    [0x0000792097413cb0] curl() .../wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php:24
    [0x0000792097413b80] request() .../wp-content/plugins/wp-piwik/classes/WP_Piwik/Request.php:63
    [0x0000792097413ae0] perform().../wp-content/plugins/wp-piwik/classes/WP_Piwik.php:1042
    [0x0000792097413a40] request() .../wp-content/plugins/wp-piwik/classes/WP_Piwik.php:1209
    [0x0000792097413970] updateTrackingCode() .../wp-content/plugins/wp-piwik/classes/WP_Piwik/TrackingCode.php:16
    [0x00007920974138f0] __construct() .../wp-content/plugins/wp-piwik/classes/WP_Piwik.php:300
    [0x0000792097413840] addJavascriptCode() .../wp-includes/class-wp-hook.php:341
    [0x0000792097413760] apply_filters() .../wp-includes/class-wp-hook.php:365
    [0x00007920974136f0] do_action() .../wp-includes/plugin.php:522 [0x0000792097413610] do_action() .../wp-includes/general-template.php:3197
    [0x00007920974135c0] wp_head() .../wp-content/themes/worldstar-child/header.php:67

    Are there too many connections/attempts?

    • This reply was modified 3 months, 1 week ago by Koji.

    unfortunately this plugin has bad performance in the init hook for regular visitors (70ms or or more can be profiled) and may be due to synchrononous calls or similar.

    sorry i meant performance issue on the wp_footer hook tho this depends on configuration settings.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.