-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Transitions show no data when page contains %20 #6527
Comments
i would assume all you need to reproduce this on demo.piwik.org is to have a url that has escaped spaces '%20', but i don't see any page urls with such a condition |
@integrationtester maybe you can generate such page URL on forum.piwik.org then you can see the stats in: http://demo.piwik.org/ if you can reproduce the issue this way, can you send me the link and information? |
looked into this, but the forum just uses ids for the urls, the titles aren't present in the url at all. |
also it might be worth noting that i am populating piwik using the bulk tracking api |
while trying to fetch transitions on the newest piwik version (2.8.3) i get
There's no data for http://base url/Gene Full Report Records
Either the action had no pageviews during the period
or it is invalid.
Go back to the previous action
when i click on a transition report in either the pages, or entry pages widget.
looking into it a bit more, the request:
http://piwik_url/index.php?date=2014-10-26&actionType=url&actionName=http%3A%2F%2Fbase_url%2FGene+Full+Report+Records&expanded=1&format=JSON&module=API&method=Transitions.getTransitionsForAction&idSite=1&period=day
results in
{"result":"error","message":"NoDataForAction"}
/////
it seems that there is an escaping issue here. if i naively escape my url (just needs spaces) here:
plugins/Transitions/API.php
then deriveIdAction succeeds (although the fetch still fails in addInternalReferrers farther down the road, i haven't continued to look into it.)
here is what the url looks like in mysql:
mysql> SELECT idaction, type, name FROM piwik_log_action limit 100
-> ;
+----------+------+-----------------------------------------------------------------------------------+
| idaction | type | name |
+----------+------+-----------------------------------------------------------------------------------+
...
| 3 | 1 | base_url/Gene%20Full%20Report%20Records
The text was updated successfully, but these errors were encountered: