Actions.getEntryPageUrls does not work?

Hello,

I just try to get some statistic data from my website. I use the following URL:

http://my.host/piwik/index.php?module=API&idSite=1&method=Actions.getEntryPageUrls&period=day&date=yesterday&format=xml&idSubtable=11&token_auth=something

The problem is, I get a result, but it’s the wrong report. It’s exactly the same result like

http://my.host/piwik/index.php?module=API&idSite=1&method=Actions.getPageUrls&period=day&date=yesterday&format=xml&idSubtable=11&token_auth=something

Also the URL

http://my.host/piwik/index.php?module=API&idSite=1&method=Actions.getExitPageUrls&period=day&date=yesterday&format=xml&idSubtable=11&token_auth=something

delivers the same result.

Can somebody tell me what I am doing wrong? When I look an the statistics with the Webinterface, everythink works fine and the results are correct.

You can also check it at the Piwik demo site:

http://demo.piwik.org/?module=API&method=Actions.getEntryPageUrls&idSite=7&period=day&date=today&format=xml&token_auth=anonymous
http://demo.piwik.org/?module=API&method=Actions.getExitPageUrls&idSite=7&period=day&date=today&format=xml&token_auth=anonymous
http://demo.piwik.org/?module=API&method=Actions.getPageUrls&idSite=7&period=day&date=today&format=xml&token_auth=anonymous

Everything is the same…

Thanks, Harald

The entry page URLs report, filters out pages that are not entry pages.

The exit page URLs report filters out (removes) pages that are not exit pages.

How entry pages are filtered ?

I don’t understand, how entry_nb_visits can be equal to 0 in entry page report. Do you not use this metric and entry_bounce_count for filtrer entry page?
In
https://demo.matomo.cloud/?module=API&method=API.getProcessedReport&idSite=1&date=2023-11-01,2023-11-30&period=month&apiModule=Actions&apiAction=getEntryPageUrls&format=json&token_auth=anonymous&language=fr&flat=1&format_metrics=1

Capture d'écran 2024-01-16 133752

Hi @Nxb
This is the number of time a user started the visit by this page… Why couldn’t it be 0 for this page, as other pages are entry pages?

Yes, @heurteph-ei this page is in the entry page report, so it supposed to be an entry page… and
an entry page is the first page a user sees during their visit. Ok but
entry_nb_visits is the number of visits that started on this page.

This mean a visit started in an other page of an other site, but the user see this page as first page of this site ? I don’t get it.

Hi @Nxb
You’re right, this page should not appear in the entry page report, as it is not…
@innocraft, any idea?
@Nxb maybe you can create an issue in the GitHub repo:

Base on the lable on the screenshot you sent us, it shows “/my-account/payment-methods/”. Most of the websites I encountered, they will only reach this page once they are able to select a product they want to purchase. Therefor, there is a small chance that this is an entry page. Could you please give us the full URL so we can visit it and test it as an entry page?

1 Like