_get_user_type: function() {
return 'Local User';
},
+ /*
+ * This method gets the user access level, to be used as CV in GA
+ */
_get_user_access_level: function() {
if (instance.session.uid === 1) {
return 'Admin User';
}
},
/*
- * This method includes the tracker into view and managers. It can be overriden
+ * This method includes the tracker into views and managers. It can be overriden
* by other modules in order to extend tracking functionalities
*/
include_tracker: function() {
},
});
},
+ /*
+ * Method called in order to send _trackEvent to GA
+ */
_push_event: function(options) {
_gaq.push(['_trackEvent',
options.category,
options.noninteraction
]);
},
+ /*
+ * Method called in order to send ecommerce transactions to GA
+ */
_push_ecommerce: function(trans_data, item_list) {
_gaq.push(['_addTrans',
trans_data.order_id,