improved path detection for matomo, added filters behaviours matomo event
This commit is contained in:
@@ -95,6 +95,11 @@ var _Filters = {
|
||||
// activate the filter
|
||||
let type = e.target.getAttribute("type");
|
||||
_dbs.active_type_filter = type;
|
||||
// matomo
|
||||
if(typeof _paq !== 'undefined'){
|
||||
// console.log('Matomo Connection closed', vn.state.breadcrumb);
|
||||
_paq.push(['trackEvent', 'Filter', 'opened', type]);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user