Subversion Repositories SmartDukaan

Rev

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

Rev 1829 Rev 1830
Line 10... Line 10...
10
     addToCart(refdivid,reqtype) refdivid=pane1, reqtype=single/multi
10
     addToCart(refdivid,reqtype) refdivid=pane1, reqtype=single/multi
11
     Multiple request: onclick="javascript:addToCart('pane2','multi');"
11
     Multiple request: onclick="javascript:addToCart('pane2','multi');"
12
     Single request: onclick="javascript:addToCart('','single');"
12
     Single request: onclick="javascript:addToCart('','single');"
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
     
-
 
16
*/
15
*/
17
var _gaq;
-
 
18
 
-
 
19
function trackEventWithGA(eventCategory, actionName, label)	{
16
function trackEventWithGA(eventCategory, actionName, label)	{
20
	if(typeof _gaq != undefined && _gaq != null)	{
17
	if(typeof _gaq != "undefined" && _gaq != null)	{
21
		_gaq.push(['_trackEvent', eventCategory, actionName, label, 2]);
18
		_gaq.push(['_trackEvent', eventCategory, actionName, label, 2]);
22
	}
19
	}
23
}
20
}
24
 
21
 
25
$(function() {
22
$(function() {