* chore: add more ga event * add download event
@@ -428,6 +428,7 @@
getVars()
.then(() => {
this.showThemeConfigurator = true;
+ ga('send', 'event', 'DocView', 'Inner');
})
.catch((err) => {
console.error(err);
@@ -70,6 +70,7 @@ export default {
this.downloading = false;
});
+ ga('send', 'event', 'ThemeConfigurator', 'Download');
}
};
@@ -44,6 +44,7 @@ router.afterEach(route => {
document.title = 'Element';
+ ga('send', 'event', 'PageView', route.name);
new Vue({ // eslint-disable-line