title: How can I programmatically include meta tags in the DNN header tags?
body: <p>I would like to use a string writer to add meta tags dynamically in the header tag of my DNN site.</p>
  
  <p>I am not sure if I can use the DNNPageHeaderProvider to achieve this?</p>
  
  <p><a href="https://i.stack.imgur.com/vG1Yg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vG1Yg.jpg" alt="enter image description here"></a></p>
  
  <p>Or should I do something like the example below?
  <a href="https://i.stack.imgur.com/xLTZ2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xLTZ2.jpg" alt="enter image description here"></a></p>
  
  <p>This is the facebook Open-Graph meta tags I would like to add.</p>
  
  <pre><code>&lt;header&gt;
  
  ...
  
  &lt;!-- Open Graph Metadata --&gt;
  
   &lt;meta property="og:title" content="Facebook T-Shirt"&gt;
  
   &lt;meta property="og:description" content="Unisex Facebook T-shirt, Small"&gt;
  
   &lt;meta property="og:url" content="https://example.org/facebook"&gt;
  
   &lt;meta property="og:image" content="https://example.org/facebook.jpg"&gt;
  
   &lt;meta property="product:brand" content="Facebook"&gt;
  
   &lt;meta property="product:availability" content="in stock"&gt;
  
   &lt;meta property="product:condition" content="new"&gt;
  
   &lt;meta property="product:price:amount" content="9.99"&gt;
  
   &lt;meta property="product:price:currency" content="USD"&gt;
  
   &lt;meta property="product:retailer_item_id" content="facebook_tshirt_001"&gt;
  
  &lt;!-- End Open Graph Metadata --&gt;
  
  ...
  
  &lt;/header&gt;
  </code></pre>