[FIX] Don't alter bounce rate when tracking events

bzr revid: vta@openerp.com-20130115124604-ttg5ct8x83iog6ee
This commit is contained in:
vta vta@openerp.com 2013-01-15 13:46:04 +01:00
parent 4eac510461
commit 397e5d2df9
1 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,7 @@ openerp.web_analytics = function(instance) {
'category': r.model,
'action': 'form',
'label': url,
'noninteraction': true,
});
});
this.on('record_saved', self, function(r) {
@ -170,6 +171,7 @@ openerp.web_analytics = function(instance) {
'category': r.model,
'action': 'form',
'label': url,
'noninteraction': true,
});
});
}
@ -204,6 +206,7 @@ openerp.web_analytics = function(instance) {
'category': category,
'action': action,
'label': url,
'noninteraction': true,
});
return this._super.apply(this, arguments);
},