We liked to use url params such as utm source, ref and custom one. But leaving it like that makes the url lenght quite long for example Searching on google then clicking on a particular content google will highlight it for you to see it easily but it append a data in the url like:
http://mrepol742.github.io/webvium#:~:text=webvium
Also utm like http://mrepol742.github.io/?utm_source=dev.to&utm_medium=blog
And personally it wasnt look cool.
It's possible to remove the url parameters by using replaceState from window.historu as follows:
what it does is to replace the current url using the window.location.pathname leaving with clean and easy to read url.
Browsers are starting to remove spam and tracking links these days anyway, so hopefully those days will be over soon.