lhosaka
(Leo Hosaka)
December 15, 2021, 7:08pm
1
Matomo Version: 4.6.2
matomo application server:
CentOS Stream release 8
Total Mem: 7953708 kB
PHP Version: 7.2.24
matomo Database server:
CentOS Stream release 8
Total Mem: 7953708 kB
MySQL Version: 8.0.26
We’ve updated piwik 2.17.1 to the latest version (4.6.2).
we updated the OS, we updated PHP (7.2.24), we updated MYSql (8.0.26).
It is working perfectly, but it is not collecting the visit data (Tracking).
Anything we’ve forgotten? ? ? We have the data collected until the piwik update.
Any idea ? ? ?
Grateful
Please share the Matomo tracking code…
lhosaka
(Leo Hosaka)
December 16, 2021, 12:57pm
6
Please click “edit this answer”. The tracking code is not showing on the screen. I do not know why.
thanks
I cannot edit the answer of others.
Please add the code surrounded by lines of ```:
```
Your code...
```
lhosaka
(Leo Hosaka)
December 16, 2021, 2:50pm
15
<!-- 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="https://URL/piwik/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '5']);
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 -->
lhosaka
(Leo Hosaka)
December 16, 2021, 2:51pm
16
sorry,
I managed to enter the tracking code now
I consider your URL is the good one…
Did you check the site ID is the good one?
Can you check the HTTP requests to your matomo server in the network tab of your browser developer tool (F12)?
lhosaka
(Leo Hosaka)
December 18, 2021, 7:18pm
19
Thank you all.
The problem has been fixed.
We were inserting two monitoring tags within the same site.
Thank you for your time. . .