URL Cleaner
Custom Variable Template for Server-Side Google Tag Manager
URL cleanup with black- or whitelisting for parameters and optional value redaction with regexes
Note: this template does not need any permissions.
Usage
this template is functionally identical to the client-side URL Cleaner variable template.