--- uc_googleanalytics/uc_googleanalytics.module.OLD	2010-07-12 11:31:31.000000000 +1000
+++ uc_googleanalytics/uc_googleanalytics.module	2010-09-25 13:00:29.000000000 +1000
@@ -148,7 +148,7 @@
   );
 
   // Add the transaction line to the JS.
-  $script .= 'pageTracker._addTrans('. implode(', ', $args) .');';
+  $script .= '_gaq.push(["_addTrans", '. implode(', ', $args) .']);';
 
   // Loop through the products on the order.
   foreach ($order->products as $product) {
@@ -191,11 +191,11 @@
     );
 
     // Add the item line to the JS.
-    $script .= 'pageTracker._addItem('. implode(', ', $args) .');';
+    $script .= '_gaq.push(["_addItem", '. implode(', ', $args) .']);';
   }
 
   // Add the function to submit the transaction to GA.
-  $script .= 'pageTracker._trackTrans();';
+  $script .= '_gaq.push(["_trackTrans"]);';
 
   return $script;
 }
