Subversion Repositories SmartDukaan

Rev

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

Rev 1767 Rev 1775
Line 9... Line 9...
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').live('click', function(){
14
	_gaq.push(['_trackEvent', 'Product', $(this).children('span').text(), '', '']);
14
	_gaq.push(['_trackEvent', 'Product', $(this).children('span').text(), 'ProductName', $('title').text().split('|')[0].trim()]);
15
});
15
});
16
$('#btnProceedToPay').live('click', function(){
16
$('#btnProceedToPay').live('click', function(){
17
	_gaq.push(['_trackEvent', 'Payment', 'Proceed to Payment', '', '']);
17
	_gaq.push(['_trackEvent', 'Payment', 'Proceed to Payment', '', '']);
18
});
18
});
19
 
19