Subversion Repositories SmartDukaan

Rev

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

Rev 1775 Rev 1780
Line 8... Line 8...
8
 
8
 
9
 
9
 
10
/**
10
/**
11
 * Code to track user clicks on Product slides and 'Proceed to Payment' option
11
 * Code to track user clicks on Product slides and 'Proceed to Payment' option
12
 */
12
 */
13
$('a.vt').live('click', function(){
13
$('a.vt').click(function(){
14
	_gaq.push(['_trackEvent', 'Product', $(this).children('span').text(), 'ProductName', $('title').text().split('|')[0].trim()]);
14
	_gaq.push(['_trackEvent', 'Product', $(this).children('span').text(), 'ProductName', $('title').text().split('|')[0].trim()]);
15
});
15
});
16
$('#btnProceedToPay').live('click', function(){
16
$('#btnProceedToPay').click(function(){
17
	_gaq.push(['_trackEvent', 'Payment', 'Proceed to Payment', '', '']);
17
	_gaq.push(['_trackEvent', 'Payment', 'Proceed to Payment', '', '']);
18
});
18
});
19
 
19
 
20
 
20
 
21
(function() {
21
(function() {