Visits less than pageviews :S

Hi guys,

I’m new on matomo, we are checking the first day’s stats and we saw something really strange, we have more visits than pageviews.

How can it be?

Thanks

Anyone can drop any info about it, guys?

thanks

Which version of Matomo are you using? How is your tracking setup? Is it an SPA or a “normal” webpage?

hey @peterbo thanks!

My version is Matomo 4.3.1, and we are using this piwik code .

<!-- Matomo -->
<script type="text/javascript">
  var _paq = window._paq = window._paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  // Call disableCookies before calling trackPageView 
  _paq.push(['disableCookies']);
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="https://www.URL.es/matomo/";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '28']);
    /* Sierra Piwik */
    var secondaryTrackerUrl = 'https://URL/piwik.php';
    var secondaryWebsiteId = 35;
    _paq.push(['addTracker', secondaryTrackerUrl, secondaryWebsiteId]);
    /* END Sierra Piwik */
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.src='//www.URL/matomo/matomo.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Matomo Code -->

I changed the right URL for “URL”

Thanks

Do the statistics from Site Id 28 and the secondary tracker 35 match? Can you send me the URL of the website as a DM, then I’d not have to ask so many questions.

1 Like

Sent it!! thanks, lets see if you can help :slight_smile:

Thanks,