Subversion Repositories SmartDukaan

Rev

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

Rev 12541 Rev 12552
Line 222... Line 222...
222
	          'category': 'Digital',       // Category or variation
222
	          'category': 'Digital',       // Category or variation
223
	          'price': '$order.getTotalAmount()', // unit price - required
223
	          'price': '$order.getTotalAmount()', // unit price - required
224
	          'quantity': '1'                   // Quantity
224
	          'quantity': '1'                   // Quantity
225
	        });
225
	        });
226
	        ga('ecommerce:send');      // Send transaction and item data to Google Analytics.
226
	        ga('ecommerce:send');      // Send transaction and item data to Google Analytics.
227
  
-
 
228
 
-
 
229
      (function() {
-
 
230
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-
 
231
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-
 
232
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-
 
233
      })();
-
 
234
	#end
227
	#end
235
  
228
  
236
	  trackEventWithGA('Recharge', 'Recharge Result', '$status.get(1)');
229
	  trackEventWithGA('Recharge', 'Recharge Result', '$status.get(1)');
237
     </script>
230
     </script>
238
	
231