Thomas
Forum Replies Created
-
Good news: It looks like I was finally also able to fix this additionally in our plugin: https://github.com/matomo-org/wp-matomo/pull/316
The fix will be included in our next release. I’ve been debugging this one for quite a while but finally understood things fully and found the fix.
Thanks @ferdinandbardamu I could reproduce this issue and replied in https://wordpress.org/support/topic/conflict-with-matomo-they-have-been-blaming-other-plugins/#post-13061115
Heya,
Thomas from Matomo here. We were able to fix this issue in your plugin by changing in popover.php the line 70 from
require_once __DIR__ . '/vendor/autoload.php';to
require_once __DIR__ . '/vendor/autoload.php';or
if (file_exists(__DIR__ . '/vendor/autoload.php')) { require_once __DIR__ . '/vendor/autoload.php'; } else { require_once 'vendor/autoload.php'; }Would it be possible for you to make this change?
Forum: Plugins
In reply to: [Matomo Analytics - Powerful, Privacy-First Insights for WordPress] E_ERRORHi @saowp thanks for creating the issue and letting us know. Sounds like maybe some incompatibility with some other plugin. Could you send us your system report? See https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/
Either as a comment here (it should be anonymised) or you can also send it by mail to wordpress at matomo.org
Glad it works now 🙂
Thanks for creating the issue and letting us know about it.
Just FYI:
* We’ve pushed a patch that should sync the timezone in the future immediately.
* We’ve also created an FAQ describing the timezone change: https://matomo.org/faq/wordpress/how-do-i-change-the-timezone-in-matomo-for-wordpress/@forusak it might take a day to synchronise it. I’ll look into syncing it immediately and will also create an FAQ regarding the timezone, likely tomorrow.
Does it maybe work by now?
You can also trigger a sync by going to Matomo -> Diagnostics -> Troubleshooting and then click on “Sync Site”.
- This reply was modified 5 years, 10 months ago by Thomas.
@forusak that’s not possible yet unfortunately. Could you maybe provide bit more information like what timezone is set in your WordPress and what timezone is Matomo using? Happy to provide more information if you don’t know how to get the timezone in WordPress for example.
> It’s a bit of a surprise that WordPress should take up so much time – shouldn’t that be the same for all requests to our site? Not just for requests to Matomo components? Haven’t seen that in GTMETRIX…
Really depends on the server but yes unfortunately it is that.
In my case
load_default_textdomaintook alone approx 110ms (see eg https://paste.pics/f2e2a87e5723f954f28bc67efa31d7f6)
wp_widgets_inittook 30ms
create_initial_post_typestook 30ms
translating some strings took 30ms (see eg https://paste.pics/4ddbf670af81ef6f1b4727dba2376b39 )etc it all sums up. In reality the numbers might be slightly less since the so called profiler that measures this time itself would add a bit time on top.
@awilmsmeier I just checked the link you sent again. It looks like the first request took 1s but then the next following request took only about 400-500ms for me. It’s possible on the first request that Matomo’s caches were empty and Matomo had to warm up all caches on the first request.
As mentioned we’ve already made some tweak for the next release so it won’t delay the page load time anymore. We’ve just now also improved our caches so they aren’t regenerated as often.
We also measured the performance to check what code exactly takes how much time. Out of 500ms, 65% of the time was actually spent loading WordPress itself. Depending on which plugins you use and how many plugins you use this may slow it down further.
If you were using a [standalone Matomo On-Premise](https://matomo.org/docs/installation/) (which is also free), then you could expect the request time to be 50-150ms depending on your server.
Generally, we recommend using Matomo On-Premise if you track a lot of page views (or visits) as it can make quite a difference in terms of having faster tracking requests and therefore also less CPU usage on your server. If you’re maybe having say 50000 page views a month or less then it likely wouldn’t be worth the effort of installing Matomo On-Premise though.
Does this maybe help?
@seto76 some users do this indeed so far already and we’ve started working on making this easier and better.
AFAIK some users basically call
window._paq.push(['disableCookies']);, and as soon as they have consent on the next page view they no longer call this method. This works already but currently creates an extra visit once. Just a few days ago we prepared a fix for this extra visit which I expect to be included in the next release see https://github.com/matomo-org/matomo/pull/16101And we also just started adding a new tracker method which can be called right away to enable cookies as soon as you got consent. We’re working on this new method here: https://github.com/matomo-org/matomo/pull/16113
Whether this “enable cookies” will be included in the next release I can’t promise just yet but I expect so. Basically, the idea is to trigger a call
window._paq.push(['enableCookies']);as soon as you get the consent.I don’t know how these things are configured in different consent managers but hope this helps?
- This reply was modified 5 years, 10 months ago by Thomas.
Thanks for sending the screenshot @forusak
I can reproduce this now when enabling the setting “Preferences > Tabs > Show Website Icons in Tabs” in Safari.
We will no longer add this pinned icon from the next release. We’ve fixed this in https://github.com/matomo-org/wp-matomo/pull/309/files
There’s a possibility it will still be shown after you update in which case it will help to clear the cache in safari.
Thanks for the feedback @codeispoetry . Very helpful and appreciated.
BTW the correct link is https://github.com/matomo-org/matomo/issues/16094
Thanks @forusak . Any chance you could send us a screenshot of what it looks like? This would help me figure out better understand which logo it is showing there.
You could send it to us for example to wordpress@matomo.org