You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
In the "Excluded Parameters" section of site settings, add an exclusion line. [^payment/]+$
(this reg expression does test out fine - see image:
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
The text was updated successfully, but these errors were encountered:
"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.
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.[^payment/]+$
(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:
/payment/3
The text was updated successfully, but these errors were encountered: