addTracker vs. trackAllContentImpressions -> some mobile browsers crop the redirect url

Hi community,
we are struggling with a strange issue: We use content tracking on multiple pages. For administrative reasons we have multiple trackers (one for ads, one for articles and so on + one for the page itself).
Now we noticed, the the redirect url which is created by matomo is wrong/cropped on some mobile devices (mostly android < 7 in combination with the chrome mobile browser).

link in html:

replaced by matomo in desktop browsers (works fine!):


In mobile:


This leads to a blank page https://{our-matomo-server}.de/matomo.php

We are using the following snippet:

<script type="text/javascript">
    var _paq = window._paq || [];
    _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
    _paq.push(["setCookieDomain", "*"]);
    _paq.push(["setDomains", ["*"]]);
    _paq.push(["setDoNotTrack", true]);

    (function() {
        var u="https://{our-matomo-server}.de/";
        // Track ad content separately
        _paq.push(['addTracker', piwikUrl = u+'matomo.php', 202]);
        _paq.push(['addTracker', piwikUrl = u+'matomo.php', 203]);
        _paq.push(['addTracker', piwikUrl = u+'matomo.php', 204]);
        _paq.push(['addTracker', piwikUrl = u+'matomo.php', 205]);

        // Track original page id
        _paq.push(['setTrackerUrl', u+'matomo.php']);
        _paq.push(['setSiteId', '176']);

        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
        g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
<noscript><p><img src="https://{our-matomo-server}.de/matomo.php?idsite=176&amp;rec=1" style="border:0;" alt="" /></p></noscript>
  • all SSL-certificates are ok
  • it works perfect at all devices if _paq.push([‘trackAllContentImpressions’]); is disabled
  • not all devices are effected (e.g. iPhone IOS 13.6.1 or Chrome at Android 10 are working fine)

Any suggestion is highly welcome!