|
@@ -160,6 +160,11 @@ var _Dot = {
|
|
|
'class':'close-link-btn',
|
|
|
onclick(e){
|
|
|
vn.state.opened = 0;
|
|
|
+ // matomo
|
|
|
+ if(typeof _paq !== 'undefined'){
|
|
|
+ console.log('Matomo Connection closed', vn.state.breadcrumb);
|
|
|
+ _paq.push(['trackEvent', 'Connections', 'closed', vn.state.breadcrumb]);
|
|
|
+ }
|
|
|
}
|
|
|
}//, m('span') // , m.trust("🗙")
|
|
|
),
|
|
@@ -209,12 +214,22 @@ var _Dot = {
|
|
|
'class':'title',
|
|
|
onclick(e){
|
|
|
if(!vn.state.opened) vn.state.opened = 1;
|
|
|
+ // matomo
|
|
|
+ if(typeof _paq !== 'undefined'){
|
|
|
+ console.log('Matomo Connection opened', vn.state.breadcrumb);
|
|
|
+ _paq.push(['trackEvent', 'Connections', 'open', vn.state.breadcrumb]);
|
|
|
+ }
|
|
|
}
|
|
|
}, m.trust(this.nested || _dbs.active_type_filter ? this.breadcrumb : this.title)),
|
|
|
m('p', {
|
|
|
'class':'summary',
|
|
|
onclick(e){
|
|
|
if(!vn.state.opened) vn.state.opened = 1;
|
|
|
+ // matomo
|
|
|
+ if(typeof _paq !== 'undefined'){
|
|
|
+ console.log('Matomo Connection opened', vn.state.breadcrumb);
|
|
|
+ _paq.push(['trackEvent', 'Connections', 'open', vn.state.breadcrumb]);
|
|
|
+ }
|
|
|
}
|
|
|
}, m.trust(this.summary))
|
|
|
]
|