Exclude query-parameter via regEx?

Hi, I try to exclude many (different) query-parameters. How can I do this?

Example:

http://foobar/Dispatch.php?view=FooBar&sort_by=kunde_id_viewer&sort_dir=DESC&kunde_id_viewer=2&kunde_id_editor=1&v_partner_id=9&v_zustaendigkeit_id=0&v_warengruppe_id=0&v_geltungsbereich_id=0&v_kategorie_id=0&v_rahmenvertrag_id=0&do_search=true

->

So in this example I will exclude everything after “view=FooBar”, can I do this with Piwik?

?view(?:=[^&])?(?=&|$)(?.)

-> https://regex101.com/r/FSIgcP/1

Hi,

While I don’t know of a way to do this in piwik, maybe you could modify the URL in the tracking code with the help of setCustomUrl().

I don’t know if you can use regex in an API GET URL, you can however use regex in the search box in the Acrions>Pages report. Would that not suffice for single extractions or do you need automation/bulk requests?

I just tried [t] over on the Piwik demo instance and his returned only pages with “t” in the URL.