问题
Piwik only seems to track the path part of the URL, not the query string. Is this a turn-onnable option? or perhaps I'm looking at the wrong report?
EDIT: I note that the log_action table includes the full URLs including query string, which gives me hope that the data may be there.
回答1:
Piwik displays query string also without making the report flat. You just have to reach the last level of URL (you can do it by clicking the row that has a plus icon near the URL).
回答2:
Go to Settings->Websites and check Keep Page URL fragments when tracking Page URLs
.
回答3:
Yes, Piwik does this by default (credit to @quba for pointing that out). But it's a little hidden:
At the bottom of the report there's a little cog icon. This itself may be hidden - if it's not there, look for a little down/up arrow, click that to reveal the cog icon.
Clicking the cog gives you a menu which allows you to select hierarchical or flat - flat view shows the query strings.
Documentation screenshot:

来源:https://stackoverflow.com/questions/28044732/can-piwik-track-the-query-string