Combine/Remove parts of URL

Hi all,

I am trying to figure out how to combine or remove certain parts of the url.
My goal is that the numbers/IDs in the attached image are removed and the data for attendance and detail is a combined statistic. Is that possible?

This question was asked here before, but not answerd:

Thanks for your help in advance.

Hmm ich denke ich würde es schon vor dem Aufzeichnen der Daten angehen und vor dem Tracking mit setCustomUrl eine eigene URL setzen:
https://developer.piwik.org/api-reference/tracking-javascript

You have to set a custom url before tracking, see
https://developer.piwik.org/api-reference/tracking-javascript