title: GTM URL Decoding
body: <p>I'm a bit new to the GTM world and the current JavaScript existed prior to me taking over the project. My problem is that campaign codes are not decoding like they should (e.g. qwer%2aqwer). I'm trying to add the encodingURL to try and clean it up, but I'm having issues getting it to work.</p>
  
  <pre><code>function() {
      try {
          if ({{redirectParams}}){
              var redirectParams = {{redirectParams}},
                  url = {{Page URL}},
                  utm_campaign = redirectParams.utm_campaign;
  
              if (url.indexOf('utm_campaign') === -1 &amp;&amp; url.indexOf('utm_source') === -1 &amp;&amp; url.indexOf('utm_medium') === -1 &amp;&amp; url.indexOf('utm_content') === -1 &amp;&amp; url.indexOf('utm_term') === -1 &amp;&amp; url.indexOf('gclid') === -1 &amp;&amp; url.indexOf('dclid') === -1) {
                  return utm_campaign
              }
  </code></pre>
  
  <p>I would think I should be able to add the decodeURIcomponent to the "return utm_campaign" syntax, but it's not working.</p>
  
  <p>I would think I could just add it to the "return utm_camapin" syntax, but that's not the case. (e.g. return decodeURIcomponent('utm_campaign)</p>