Unintuitive results for segmentation entryPageUrl vs pageUrl

Setup

Piwik version: keeping nicely up-to-date 2.15.0

Tested

Segmentation entryPageUrl vs pageUrl

  • piwik/?module=API&method=API.get&columns=nb_pageviews,nb_uniq_pageviews&period=year&format=JSON&date=2015-12-14&idSite=2&token_auth=…&segment=pageUrl=@11234/LRT-1478
  • piwik/?module=API&method=API.get&columns=nb_pageviews,nb_uniq_pageviews&period=month&format=JSON&date=2015-12-14&idSite=2&token_auth=…&segment=entryPageUrl=@11234/LRT-1478

Results

  • segment=pageUrl = { nb_pageviews: 1776, nb_uniq_pageviews: 1296 }
  • segment=entryPageUrl = { nb_pageviews: 2321, nb_uniq_pageviews: 1654 }

Expected

  • count(entryPageUrl) <= count(pageUrl )

Why do you get more hits when segmenting according to entryPageUrl - is it a feature?

(The same happens for other periods e.g., month)

Hi @vidiecan

please try again with our latest PIwik 2.16.0-b1 and if you still have the issue, create a bug report @ Issues · matomo-org/piwik · GitHub

we will investigate as this is not normal!