Subversion Repositories SmartDukaan

Rev

Rev 11725 | Rev 11899 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11725 Rev 11885
Line 719... Line 719...
719
 		var amount = parseFloat(orderConfirmation['response'].totalAmount).toFixed(2);
719
 		var amount = parseFloat(orderConfirmation['response'].totalAmount).toFixed(2);
720
 		var orderId = orderConfirmation['response'].rechargeDisplayId;
720
 		var orderId = orderConfirmation['response'].rechargeDisplayId;
721
 		var deviceNumber = orderConfirmation['response'].rechargeDeviceNumber;
721
 		var deviceNumber = orderConfirmation['response'].rechargeDeviceNumber;
722
 		_gaq.push(['_addTrans',
722
 		_gaq.push(['_addTrans',
723
			orderId,                     // Transaction ID. Required.
723
			orderId,                     // Transaction ID. Required.
724
			'shop2020',   // Affiliation or store name.
724
			'Saholic',   // Affiliation or store name.
725
			amount,               // Grand Total.
725
			amount,               // Grand Total.
726
			'0',                  // Shipping.
726
			'0',                  // Shipping.
727
			'0',                     // Tax.
727
			'0',                     // Tax.
728
			"",
728
			"",
729
			"",
729
			"",
Line 737... Line 737...
737
			amount,                 // Unit price.
737
			amount,                 // Unit price.
738
			'1'                   // Quantity.
738
			'1'                   // Quantity.
739
		]);
739
		]);
740
		 _gaq.push(['_trackTrans']); //submits transaction to the Analytics servers
740
		 _gaq.push(['_trackTrans']); //submits transaction to the Analytics servers
741
 	}
741
 	}
742
 }
-
 
743
742
 }
-
 
743