[IMP] Added code to track new GA goals
bzr revid: vta@openerp.com-20130115105423-icv69atfjpt9rqsi
This commit is contained in:
parent
7ec52bb84b
commit
7b3cd577c2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue