Commit 0d7aecf8 authored by Clément's avatar Clément

fix: sib-analytics debug

parent 9ecb0473
Pipeline #7199 passed with stage
in 27 seconds
......@@ -18,15 +18,15 @@ export default class SIBAnalytics extends HTMLElement {
SIBAnalytics.vendors = {
debug: {
init(url, id) {
console.log('sib-analitics:init');
console.log('sib-analytics:init');
console.log(url, id);
window._sibAnalitics = [];
window._sibAnalytics = [];
this.navigate(location.href);
},
navigate(url) {
console.log('sib-analitics:navigate');
window._sibAnalitics.push([new Date(), url]);
console.table(window._sibAnalitics);
console.log('sib-analytics:navigate');
window._sibAnalytics.push([new Date(), url]);
console.table(window._sibAnalytics);
},
},
matomo: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment