The following example assumes a URL like
We want to strip away the
EF123-233444df parameter, which is the payment ID.
(this reg expression does test out fine - see image:
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:
This function handles only get parameters.
"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.