[IMP] Added code to track new GA goals

bzr revid: vta@openerp.com-20130115105423-icv69atfjpt9rqsi
This commit is contained in:
vta vta@openerp.com 2013-01-15 11:54:23 +01:00
parent 7ec52bb84b
commit 7b3cd577c2
1 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,12 @@ openerp.web_analytics = function(instance) {
});
},
/*
* Method called in order to send _trackPageview to GA
*/
_push_pageview: function(url) {
_gaq.push(['_trackPageview', url]);
},
/*
* Method called in order to send _trackEvent to GA
*/
_push_event: function(options) {