Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Actions.getPageUrl does not work with URLs with a section containining only numbers, e.g. /2011/ #2457

Closed
anonymous-matomo-user opened this issue May 27, 2011 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

Bug in the Piwik API:
Actions.getPageUrl does not work with URLs with a section containining only numbers; the result is empty though the URL does exist.
This URL does work:
/de/articles/test.html
This URL does NOT work:
/de/articles/2011/test.html

Installed version is 1.4, problem still exists in 1.5RC3

@sgiehl
Copy link
Member

sgiehl commented Jun 5, 2011

@uliWorks: could you please describe where that problem appears? I got some URLs like http://www.domain.tld/pics/type/5561008570620938193/name/ and I don't have any problems within piwik.

@mattab
Copy link
Member

mattab commented Jun 5, 2011

I tried with the URL: http://demo.piwik.org/?module=API&method=Referers.getKeywordsForPageUrl&format=php&filter_limit=10&idSite=1&period=week&date=2011-06-04&token_auth=XXXX&url=http://piwik.org/blog/2008/01/how-to-design-an-api-best-practises-concepts-technical-aspects/

and it returned keywords

the most likely reason is that maybe no visitor found this URL directly and therefore there is no keyword...

@anonymous-matomo-user anonymous-matomo-user added this to the 1.5 - Piwik 1.5 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants