No tracking server O2SWITCH

I installed Matomo in self-hosted on my O2Switch server, installation done, sites and tracking codes integrated.

Matomo : version 4.12
Website : Wordpress + Divi
PHP version 7.4

My problem is that I have no tracking, even in real time?

We checked the server restrictions or site nothing?

Does anyone have an idea,

Thank you for your help!
Philippe

Hi @Philippe_CreaPassion
Do you use the Matomo WordPress plugin, or do you track by adding some tracking code in your WP pages?

Hello Philippe,

I add a tracking code in the head of my theme ? but with the extension it does not work either
To test I use a private page and the real time interface of my self-hosted installation.
Thank you,
Philippe

Can you share this code?
Is there any error in the browser console?
Do you see some traffic from your browser to the Matomo instance?

Can you share this code?

<!-- Matomo -->
<script>
  var _paq = window._paq = window._paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//serveur-tahiti-coco.com/Matomo-Analytics/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '9']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Matomo Code -->

Is there any error in the browser console?

Do you see some traffic from your browser to the Matomo instance?
?

The problem doesn’t come from Matomo but from your infrastructure.
Maybe have a look at:

Or

Thanks Philippe,
I’m looking into it, I’ll keep you posted.