ARTICLE AD BOX
I have a webpage which can be called with extra parameters. Some users add sensitive data to the URL.
e.g. https://my-web-page.com?code=123&user=mike&pwd=my_password
There are also multiple analytics scripts from different platforms, which apparently send such URL to respective analytical systems. Is there a method to remove some parameters from the URL so these scripts send an updated URL?
e.g. https://my-web-page.com?code=123
I tried replacing window.location.href method this seems be not possible.
