title: Can I show / hide meta tags with Javascript
body: <p>For my site I need to add meta tags for our 3rd party analytics i.e.</p>
  
  <pre><code>&lt;meta name="WT_si" content="Content Group" /&gt;
  </code></pre>
  
  <p>And basically I want to first figure out the Content Group name based on the url of the page</p>
  
  <p>So in the head tag before I write the meta tag I guess I would like to place some sort of javascript variable in the meta tag for Content group</p>
  
  <pre><code>&lt;meta name="WT_si" content="Content Group" /&gt;
  </code></pre>
  
  <p>Or I was thinking of doing something like</p>
  
  <pre><code>if(contentGroup == "Business)
  
  &lt;meta name="WT_si" content="Content Group" /&gt;
  
  else
  
  &lt;meta name="WT_si" content="Corporate" /&gt;
  </code></pre>
  
  <p>Is the above possible in javascript in the head with meta tags ></p>