From a739ddd2eae59a5aca2dbc48ad8e384f831feade Mon Sep 17 00:00:00 2001 From: Dominik Korsa Date: Sun, 3 Mar 2019 14:03:30 +0100 Subject: [PATCH] Disable localhost logging --- src/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.js b/src/main.js index a718dcf..84cb9eb 100644 --- a/src/main.js +++ b/src/main.js @@ -19,6 +19,7 @@ Vue.use(VueAnalytics, { id: 'UA-99646499-3', debug: { enabled: window.location.hostname === 'localhost', + sendHitTask: window.location.hostname !== 'localhost', }, }); Vue.$ga.page(window.location.pathname);