// JavaScript Document - Google E-comm tracking code.

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-8483367-1']);
  _gaq.push(['_trackPageview' '/index.php?main_page=checkout_confirmation']);
  _gaq.push(['_addTrans',
    'orders_id',           				// order ID - required
    'SummitSurgicalTech.com',  	// affiliation or store name
    'order_total',          				// total - required
    'order_tax',           				// tax
	'shipping_method',		// shipping
    'billing_city',       					// city
    'billing_state',     					// state or province
    'billing_country'             				// country
  ]);

   // add item might be called for every item in the shopping cart
   // where your ecommerce engine loops through each item in the cart and
   // prints out _addItem for each
  _gaq.push(['_addItem',
    'orders_id',           	// order ID - required
    'products_model',           	// SKU/code - required
    'products_name',        		// product name
    'master_categories_id',  			// category or variation
    'products_price',         	// unit price - required
    'products_quantity'              // quantity - required
  ]);
  _gaq.push(['_trackTrans']); //submits transaction to the Analytics servers

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
