0

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.

artfulrobot
  • 20,637
  • 11
  • 55
  • 81

3 Answers3

2

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).

quba
  • 435
  • 2
  • 10
  • hmmm, that didn't work at the time of asking the question. I now have auto archiving on, I wonder whether that is what makes it work... Thanks! – artfulrobot Jan 27 '15 at 18:00
0

Go to Settings->Websites and check Keep Page URL fragments when tracking Page URLs.

quba
  • 435
  • 2
  • 10
  • Thanks, but I think that's about [fragments](http://en.wikipedia.org/wiki/Fragment_identifier), not the [query string](http://en.wikipedia.org/wiki/Query_string). – artfulrobot Jan 20 '15 at 12:28
  • Piwik by default displays whole query string. Which report are you looking at? Please check Visitor log and Actions -> Pages report. Please also see [Piwik demo](http://demo.piwik.org/index.php?module=CoreHome&action=index&idSite=7&period=day&date=yesterday#/module=Actions&action=menuGetPageUrls&idSite=7&period=day&date=yesterday). – quba Jan 21 '15 at 13:18
0

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:

Screenshot

Community
  • 1
  • 1
artfulrobot
  • 20,637
  • 11
  • 55
  • 81