Subversion Repositories SmartDukaan

Rev

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

Rev 2036 Rev 2038
Line 13... Line 13...
13
     
13
     
14
     NOTE: incase reqtype=list then refdivid should be product id
14
     NOTE: incase reqtype=list then refdivid should be product id
15
*/
15
*/
16
 
16
 
17
function trackEventWithGA(eventCategory, actionName, label)	{
17
function trackEventWithGA(eventCategory, actionName, label)	{
18
	var _gaq = _gaq || [];
18
	if(typeof _gaq != "undefined" && _gaq != null)	{
19
	_gaq.push(['_trackEvent', eventCategory, actionName, label, 2]);
19
		_gaq.push(['_trackEvent', eventCategory, actionName, label, 2]);
-
 
20
	}
20
}
21
}
21
	
22
	
22
$(function() {
23
$(function() {
23
	$("a.addtocart").live('click', function() {
24
	$("a.addtocart").live('click', function() {
24
		var catalogid = $(this).attr('catalogid');
25
		var catalogid = $(this).attr('catalogid');