Disable localhost logging
This commit is contained in:
parent
1cf8ed82d1
commit
a739ddd2ea
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ Vue.use(VueAnalytics, {
|
||||||
id: 'UA-99646499-3',
|
id: 'UA-99646499-3',
|
||||||
debug: {
|
debug: {
|
||||||
enabled: window.location.hostname === 'localhost',
|
enabled: window.location.hostname === 'localhost',
|
||||||
|
sendHitTask: window.location.hostname !== 'localhost',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
Vue.$ga.page(window.location.pathname);
|
Vue.$ga.page(window.location.pathname);
|
||||||
|
|
Loading…
Reference in a new issue