@gtmadev opened this Issue on August 22nd 2018

How to reproduce

The following example assumes a URL like http://www.foo.com/payment/EF123-233444df.
We want to strip away the EF123-233444df parameter, which is the payment ID.

  1. In the "Excluded Parameters" section of site settings, add an exclusion line.

(this reg expression does test out fine - see image:


  1. Navigate to the URL, and then observe the log result. It will still contain the filtered parameter.


Note: The payment parameters says "3". That is only because my test is different than my example URL stated above. The actual testing URL looks like this: /payment/3

@fdellwing commented on August 22nd 2018 Contributor

This function handles only get parameters.

@Findus23 commented on May 23rd 2020 Member

"Excluded Paramters" only applies to URL parameters (as in GET paramters). If you want to modify the URL the best way is to use _paq.push(['setCustomUrl', 'theurl']); to set a custom URL JS-side or write a tracking plugin that applies the change during tracking.

This Issue was closed on May 23rd 2020
Powered by GitHub Issue Mirror