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?


Anyone can drop any info about it, guys?


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 
  (function() {
    var u="";
    _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);
<!-- End Matomo Code -->

I changed the right URL for “URL”


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: