It would be nice if there were configuration variables in the library, something like
s.queryParamOverrides = firstName, first_name, fname, address ....
s.queryParamOverrideValue = foo
wherein a list of query parameters can be overwritten with the value contained in s.queryParamOverriveValue.
Many of us face data protection issues and adding the option to strip or override these values would be a great help in helping/simplifying things.
Like the idea.
s.eVar1 = window.location.href;
s.eVar1 = s.eVar1.replace(/(\?|&)(firstName=)[^&]*(&|$)/i,"$1$2$3");Would be of course easier if there would be default function just for this.
Absolutely right! We do have a list of 20+ potentially harmful GET query params that are transmitted both in the pageURL and referrer. Well aware that using GET params is actually not encouraged these days and it may have some other implications as well. But we are in a huge company and many of the systems we track (using a tag manager) cannot easily switch to POST instead.
Would be nice to either obfuscate the values as you suggested or just remove them from any automatically gathered information.