Forget utm
Remove utm_
query string parameters from a url.
Install
npm install futm
Usage
const futm = ; const url = 'https://example.org?utm_source=twitter&name=dog'; ; // => 'https://example.org?name=dog'
Only tested in Chrome and Firefox!
This module assumes the js environment has
- decent es6 support
- URL api
- URLSearchParams api
License
MIT