Need To Language Variable For Order Total To Call The Conversion Value Dynamically In An Affiliate Integration Code

Working with design/themename/template/addons/my_changes/hooks/checkout/order_confirmation.override.tpl and I am trying to pass order total value (dynamically) for the integration code used in the affiliate platform. So which variable should I use in javascript to dynamically call the order total for each conversion.

Code sample: