Matomo isn't tracking anymore on specific page

Hi.
I’m using matomo to track a multistore magento solution, one day one of the stores stopped tracking the visits, all other stores (with diffrent IDs) still do their job. I now tried to create a new matomo id, same result… no visits. There are also no js errors or something that could stop the tracker loading, i can see the request on webmaster console. Trackingcode is also the same. Any Idea?

Not working at https://www.1894-shop.de
Working on https://www.baden-fanartikel.de (and many other Pages)

Best Regards

Hi @klartextmedia

Then you mean you see the HTTP tracking request from 1894-shop to your Matomo server?
Can you share this request (obfuscating sensitive data if any)?
Can you check if there is any error in the Matomo errors log file?
Do you use the Queue Tracking plugin?

i just found out that it’s not doing the tracking link call, it was the config file of heatmap recording

Trackingcode is exactly the same on both domains (on the baden-fanartikel.de it’s working), and there is no error on console

Hi @klartextmedia
How do you track? (JavaScript or MTM?)

javascript
i’m using the exact same trackingcode on both domains, but one is loading piwik.php, the other not.

Hi @klartextmedia
Can you share the full Matomo JavaScript bootstrap used in your home page, for example?

Sure.

<script type="text/x-magento-init">
{"*":{"Chessio_Matomo\/js\/tracker":{"scriptUrl":"https:\/\/stats.klartextmedia.de\/piwik.js","trackerUrl":"https:\/\/stats.klartextmedia.de\/piwik.php","siteId":64,"actions":[["enableLinkTracking",true],["setLinkTrackingTimer",500],["trackPageView"]]}}}</script>
<script type="text/javascript">
(function (w, d) {
    w._paq = w._paq || [];
    w._paq.push(['setTrackerUrl', 'https://stats.klartextmedia.de/piwik.php']);
    w._paq.push(['setSiteId', 64]);
    var g = d.createElement('script'),
        s = d.getElementsByTagName('script')[0];
    g.type = 'text/javascript';
    g.async = true;
    g.defer = true;
    g.src = 'https://stats.klartextmedia.de/piwik.js';
    s.parentNode.insertBefore(g, s);
})(window, document);
</script>
<script type="text/javascript">
(function (require, undefined) {
    'use strict';
    var moduleName = 'Chessio_Matomo/js/tracker';
    (require !== undefined) && require([moduleName], undefined, function (e) {
        if (e.requireType === 'scripterror'
            && (e.requireModules && e.requireModules[0]) === moduleName
        ) {
            require.undef(moduleName);
            define(moduleName, function () {
                var noop = function () { /* NoOp */ };
                var error = function () {
                    throw new Error('Failed to load Matomo module');
                };
                var mock = {
                    createTracker: error,
                    getMatomo: error,
                    getTracker: error,
                    push: noop
                };
                mock[moduleName] = noop;
                return mock;
            });
        }
    });
})(require);
</script>
<noscript>
    <p>
        <img src="https://stats.klartextmedia.de/piwik.php?idsite=64&rec=1&url=https%3A%2F%2Fwww.1894-shop.de%2F"
             style="border: 0;"
             alt="" />
    </p>
</noscript>

it’s the same in all frontends

Hi @klartextmedia,
In your code, I don’t see _paq.push(['trackPageView']);. Example of tracking code my Matomo would provide

<script type="text/javascript">
  var _paq = window._paq = window._paq || [];
  _paq.push(['trackPageView']);
  (function() {
    var u="https://stats.klartextmedia.de/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '64']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
  })();
</script>