title: Set Google conversion tag event code values in Woocommerce order received page
body: <p>I am trying to install the Google Adwords Conversion tag into Wordpress; specifically Woocommerce. We have tried plugins, but had conflicts with other items so we are now trying to manually implement it. </p>
  
  <p>We have the following 'event' tag placed in our functions.php file:</p>
  
  <pre><code>add_action( 'woocommerce_thankyou',    'conversion_tracking_thank_you_page' );
  
  function conversion_tracking_thank_you_page() {
  ?&gt;
  &lt;!-- Event snippet for Transaction conversion page --&gt;
  &lt;script&gt;
   gtag('event', 'conversion', {
    'send_to': 'AW-######/######',
    'value': 1.0,
    'currency': 'USD',
    'transaction_id': '
   });
  &lt;/script&gt;
  &lt;?php
  }
  </code></pre>
  
  <p>It pulls correctly, but, all transactions default to $1. We have this set to revert to $1 if there is no transaction value, however we want to pull the transaction value from Woocommerce. I have searched everywhere, and cannnot find the correct code for the event tag specifically, to pull this value from Woocommerce.</p>