8000 [Docs] disable VueAnalytics due to incompatibility · thomasfowler/bootstrap-vue@79532ac · GitHub
[go: up one dir, main page]

Skip to content

Commit 79532ac

Browse files
author
Pooya Parsa
committed
[Docs] disable VueAnalytics due to incompatibility
1 parent e33fcf4 commit 79532ac

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/layouts/components.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
methods: {
122122
viewSrc(){
123123
window.open(this.githubURL, '_blank');
124-
this.$ga.event('docs', 'view_source', this.docs.component);
124+
// this.$ga.event('docs', 'view_source', this.docs.component);
125125
},
126126
},
127127

docs/layouts/docs.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161
methods: {
6262
editPage(){
6363
window.open(this.github, '_blank');
64-
this.$ga.event('docs', 'edit_page');
64+
//this.$ga.event('docs', 'edit_page');
6565
},
6666
issue(){
6767
window.open('https://github.com/bootstrap-vue/bootstrap-vue/issues/new', '_blank');
68-
this.$ga.event('docs', 'open_issue');
68+
//this.$ga.event('docs', 'open_issue');
6969
},
7070
},
7171
mounted(){

docs/plugins/ga.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import VueAnalytics from 'vue-analytics/src'
33

44
if (process.BROWSER_BUILD) {
55

6-
VueAnalytics.install(Vue, {
7-
// debug: true,
8-
});
6+
// VueAnalytics.install(Vue, {
7+
// // debug: true,
8+
// });
99

1010
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
1111
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

0 commit comments

Comments
 (0)
0