Long URLS are concatenated


I’d like to be able to track long urls. Piwik seems to stop parsing the url after 10 segments, so when we use the API we get a nested JSON structure up to depth 10. But all segments of the url after that are concatenated into a single JSON key with the keyname “label”.

Is there a setting I can change to have Piwik deal with arbitrarily long urls?


David Robinson

(Matthieu Aubry) #2

Good point, we will make it a config setting.
I created a ticket: Allow to customize the maximum URL split which defaults to 10 URL directories max · Issue #3102 · matomo-org/matomo · GitHub
in the ticke you’ll find how to change it m anually until we move it to setting


Hi Matt

This is fantastic. And thanks too for the very fast response. We’re going to test with this parameter set to various levels. If you get a chance to advise on where you think this would cap out - is 100 unmanageable, for example? - I’d be very grateful.



(Matthieu Aubry) #4

100 should be fine assuming you have enough memory of course


Thanks Matt