Thomas
Forum Replies Created
-
Thanks for this @denisit71
> I modified Advertising.php but now I get a Blank page when I go to report.
I’m assuming there’s maybe some typo like a bracket not correctly set etc. You could remove some lines and make this function around line
118look like this:public static function isAdsEnabledInConfig($configGeneralSection) { $oldSettingValue = false; $newSettingValue = @$configGeneralSection['piwik_professional_support_ads_enabled']; return (bool) ($newSettingValue || $oldSettingValue); }or even
public static function isAdsEnabledInConfig($configGeneralSection) { return true; }Does this help @denisit71 ?
Hi @leogc
> What speed difference do you have (in the middle) if you use Matomo On-Premise to Matomo directly installed in WP?
Not sure what you mean “in the middle”? The speed difference depends but I would expect anything when 50% and 1000% faster (eg depends how many WP plugins you use, your server size etc) and therefore also less resources on your server would be used. If I had to guess, I would say WordPress makes it roughly 2-4 times slower. Like usually a tracking request with Matomo On-Premise takes usually around 50ms. With Matomo for WordPress it might take quite a bit more.
> Is it possible to set up a separate Database for Matomo On-Premise, so that the Database will not connect to WP Database?
Yes that’s totally possible and even recommended. You can also use a different table prefix but for best security practices a separate database (it can be on the same server) is best.
Hope this helps @leogc
- This reply was modified 5 years, 2 months ago by Thomas.
Just FYI I will mark it already as resolved as we have created a patch that should prevent this particular issue in the future (in https://github.com/matomo-org/matomo/pull/17233 ). However, be great if you could still reply to do the above question as it’s not clear why this would show an error in the first place.
Hi @denisit71 thanks for letting us know about this. Does this maybe appear in the error logs? Or is this error visible in the UI? Where in the UI do you see this?
There’s only one place where this index is accessed and technically any possible error is suppressed while trying to access it so it’s not quite clear how this might happen. We can likely fix this though anyway. It’s just very unexpected that it does that.
BTW if you have like 10.000 visitors a day you might rather want to install our dedicated Matomo On-Premise (see install guide) as it would make things a bit faster as WordPress wouldn’t need to be bootstrapped on every tracking request.
> Where i can find the Update Version? Because in this link it says that the cirrent version is from OCT. 2020
The version is already updated. It was a page cache that would have still shown the old date.
> Another question, if i use matomo, and have a huge amount of Visitors (on a daylie basis round about 10.000, the database of WP gets very “busy” right? Is there a way that i can automatically delete old entrys, lets say older then 400 days? Without having the counter set to 0 then?
Yes, you can delete raw data automatically after X days for example and it wouldn’t impact the counter. It’s explained here: https://matomo.org/docs/privacy-how-to/#step-2-regularly-delete-old-raw-visitor-data
@leogc there is a plugin for Matomo that can show a counter see https://plugins.matomo.org/ClassicCounter (see our FAQ for how to install a Matomo plugin). However, it looks like it’s not possible to set an initial value there. I’ve created an issue to consider this feature in the future: https://github.com/Findus23/plugin-ClassicCounter/issues/3
Hi @wpfan1000
could you check the system report (see https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/ how to access it) if there is any entry under the “Matomo” category and then the section “Logs”? If there is an error it should also show it at the very top of the system report additionally.
Additionally, on the same page as the system report there is a second tab called “Troubleshooting”. Can you go to this page and click on the first report which says “Archive reports”? Do the reports appear afterwards or is maybe any error shown?
Thanks for this @wpfan1000
Hi @leogc it’s not possible yet to migrate the data from WP Statistics. We’re currently hiring a developer and hoping to have then resources to work on this feature in the future. It’s not supported yet though and I would expect it won’t be done in the next 3 months unfortunately. We have an issue for this here https://github.com/matomo-org/wp-matomo/issues/341 and just in case you have a github login feel free to watch this issue there. Hope this helps and sorry I don’t have better news just yet.
Hi @kbam have you maybe had a chance to look at my previous comment?
Awesome, glad to hear @manishvcn
All good @janerio I’m quite confident this problem should be resolved with our next update. I’ll mark this issue as resolved for now but feel free to comment if the issue still happens after the next update. As for timing I think there should be a new release in the next 2 weeks.
Thanks for all the feedback @wpfan1000 . Really appreciated. We’ve already made some small tweaks to clarify these things better and will continue adding a lot more improvements. Generally, it should take only few seconds to set up tracking (one click) and we’ll make more clear that nothing else needs to be done and improve other part. As mentioned in the issue we have documentation in https://matomo.org/faq/wordpress/ plus up to 1000 FAQs in https://matomo.org/faq/ (some of them apply to Matomo On-Premise) and many guides in https://matomo.org/docs/ . We’re also rewriting currently all guides and are updating them step by step to improve them.
> Is there any docs for this plugin?
Yes, we have documentation for this plugin in https://matomo.org/faq/wordpress/
> It should have taken 5 minutes to set the plugin up – I have spend already an hour or 2 on my posts. Gotten nowhere, you didnt even answer my original questions, Really frustrating since time is money.
Sorry about that. Generally, the only thing that needs to be done is in “Getting started” page clicking on “Enable tracking” and that’s it. It’s meant to be a 5 seconds job but I can see because some things are not clear it does take longer especially depending on the background and what other systems users have used in the past. Thanks for this.
> 1) If tracking is enabled, why do I need to configure my tracking code? If I do not config my tracking code, is tracking working?
You don’t need to configure the tracking code when tracking is enabled. All configurations are optional. The only thing in the Matomo Settings you would need to set is “Add tracking code: Default tracking” (or more advanced users might use manually). All the other options are optional.
> 2) With eg Google Analytics, I have to get a tracking code from them. I have not gotten a code from you. So how could I configure it? Do I need a tracking code from you? Or not?
Our plugin inserts this tracking code into your site automatically as long as the tracking code is not set to “Disabled”. So when it says in the tracking settings “Tracking code: Default tracking” for example, our plugin does the job for you directly and you won’t have to do anything else.
> I am thinking I need a key? Is that what you mean by trackng code? Or do you mean the HTML/JS code you show:
The tracking code you are seeing there is what our plugin will add to your website automatically. That’s what’s meant by tracking code but you don’t need to do anything with it. It’s more like a preview to know what Matomo adds to your website. We’ll make this more clear in the future.
> I am now in the Settings > Tracking page. It shows this code:
> 4a) So why do you show that?It’s kind of a preview to know what Matomo will inject into your website. I can see this is not clear and we will tweak this in the future, potentially remove it or reword it and make things more clear.
4b) Do I need to edit it before Saving Changes? It is in an editable textarea field.
You should only be able to edit this field if the tracking code mode is set to “Manually”. In all other cases the field should not be editable. “Manually” is meant for advanced users where they want max flexibility and configure the tracking code to their liking.
I’m assuming the first setting says “Tracking code: Default tracking” so you won’t need to do anything with it.
4d) It is not a simple one line piece code – do you really expect people to learn every piece of it and edit it properly?
You don’t need to edit it unless you choose to do so by setting the tracking code to “Manually”. Can you double check “Add tracking code” says “Default tracking” and whether you can then edit this field? Do you have maybe JavaScript disabled or so?
4e) Currency: US dollars? What the heck does that mean? Are you going to track how much currency the visitors have? If so would you not need access to their banks accounts? Currency of what? My payment to you? How can you expect payment for a optional free plugin?
Matomo can automatically track ecommerce orders if your site is a shop. It then tracks the amount of each product you add to cart, the total cart value etc. With Matomo you can also configure goals. Meaning you could say, when a user visits my contact website, then from some business calculations I know on average this is worth 0.5 USD to me. It’s kind of a value you assign yourself for a certain page and it helps people better understand their business and how the website is going. It’s a little bit described in https://matomo.org/docs/tracking-goals-web-analytics/
I hope this helps. We really appreciate your feedback and we will make changes so things become more clear. Feel free to further let us know when you see confusing things. Only with feedback we can improve things 🙂 Thanks again very much.