mirror of https://github.com/ElemeFE/element
parent
701caf3f08
commit
463ed66a4e
|
@ -428,6 +428,7 @@
|
||||||
getVars()
|
getVars()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.showThemeConfigurator = true;
|
this.showThemeConfigurator = true;
|
||||||
|
ga('send', 'event', 'DocView', 'Inner');
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
|
|
@ -70,6 +70,7 @@ export default {
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.downloading = false;
|
this.downloading = false;
|
||||||
});
|
});
|
||||||
|
ga('send', 'event', 'ThemeConfigurator', 'Download');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,6 +44,7 @@ router.afterEach(route => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
document.title = 'Element';
|
document.title = 'Element';
|
||||||
|
ga('send', 'event', 'PageView', route.name);
|
||||||
});
|
});
|
||||||
|
|
||||||
new Vue({ // eslint-disable-line
|
new Vue({ // eslint-disable-line
|
||||||
|
|
Loading…
Reference in New Issue