Subversion Repositories SmartDukaan

Rev

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

Rev 12524 Rev 12528
Line 61... Line 61...
61
	  'tax': '0'                     // Tax
61
	  'tax': '0'                     // Tax
62
	});
62
	});
63
	// addItem should be called for every item in the shopping cart.
63
	// addItem should be called for every item in the shopping cart.
64
	ga('ecommerce:addItem', {
64
	ga('ecommerce:addItem', {
65
	  'id': orderId,                     // Transaction ID. Required
65
	  'id': orderId,                     // Transaction ID. Required
66
	  'sku': orderConfirmation['response'].rechargeProvider,                    // SKU/code
66
	  'sku': deviceNumber,                    // SKU/code
67
	  'name': deviceNumber,                // Product name. Required
67
	  'name': orderConfirmation['response'].rechargeProvider,                // Product name. Required
68
	  'category': 'Digital',       // Category or variation
68
	  'category': 'Digital',       // Category or variation
69
	  'price': amount,                 // Unit price
69
	  'price': amount,                 // Unit price
70
	  'quantity': '1'                   // Quantity
70
	  'quantity': '1'                   // Quantity
71
	});
71
	});
72
	ga('ecommerce:send');      // Send transaction and item data to Google Analytics.
72
	ga('ecommerce:send');      // Send transaction and item data to Google Analytics.