Commit 463ed66a authored by iamkun's avatar iamkun Committed by hetech

chore: add more ga event (#14633)

* chore: add more ga event

* add download event
parent 701caf3f
......@@ -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 {
.then(() => {
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
......
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