NOTHING ELSE I TOUCHED in installation (instance).
First site I tried to add to WP site by Astra Hooks, by Insert Headers and Footers plugin, by WP-Matomo Integration plugin and neither one working, Matomo still not see the website.
SOME REMARKS
Server is on GCP, Ubuntu 20.04, Plesk Click and Deploy solution and run Litespeed server.
Previously I get it working on GCP, Ubuntu 20.04, CyberPanel with OpenLiteSpeed server.
Briefly, I cannot see any structural reason to not get it work.
Interesting. I cannot add site neither on brand new untouched installation on GCP ‘Click and Deploy’ (Official image). Simply, log to fresh installation (still IP numbers), create website, add to website code ==> nothing appear in Matomo.
Is it really possible that nobody from Matomo team have any interest for fact how Official package (on GCP) and Plesk manual installation doesn’t work at all?
Matomo works on any PHP/Webserver/MySQL setup, no matter if you set it up using Plesk or anything else.
If no data shows up in Matomo after adding your tracking code to the website, check if the tracking code works correctly. E.g. by opening your browsers developer tools on the tracked site and checking if the requests to matomo.js and matomo.php are successful.
However, I have no idea what to do with that. I suggest (if it could be potential bug, and it is weird that it is same for GCP Click to Deploy and on Plesk), Matomo probably should to have interest to see what is the possible reason.
So, as currently I have testing Matomo instance on my testing purpose domain and testing WP instance (both on same Plesk), I can create Customer account for you and send you credentials for Customer Plesk panel to get full access to both instances (including ssh and file access. Then you should quickly see what could be problem. If you agree, I can send you on GitHub private message with credentials, if you agree to see this issue.
If you leave out the line with debug_on_demand then you can now check your developer tools on the tracked website and the matomo.php request in the network tab should show a response with a detailed log.
When you open your website Matomo makes a request to https://matomo.portalecuatoriano.com/matomo.php?action_name=Testing%20%E2%80%93%20Just%20another%20WordPress%20site&idsite=1&rec=1&r=540688&h=19&m=1&s=29&url=https%3A%2F%2Ftesting.portalecuatoriano.com%2F&urlref=https%3A%2F%2Fforum.matomo.org%2F&_id=04046fa87068032a&_idn=0&_refts=1617814871&_ref=https%3A%2F%2Fforum.matomo.org%2F&send_image=0&cookie=1&res=2560x1080&pv_id=9kzddI&pf_net=0&pf_srv=818&pf_tfr=0
If you open this URL directly, you can see the log of what Matomo does.
For me it shows Inserted new action, so my visit should show up in Matomo for you.
When I visit the page with my regular browser I get
OK, I get you, but slightly confused. I mean, now dialog disappeared. So, entire issue is that my visits in Opera VPN this time didn’t worked for me. Thanks for help.