From 2c5a47182a39ec0460a02c705ea441e6b4e3d954 Mon Sep 17 00:00:00 2001 From: Julien Date: Mon, 10 Sep 2018 00:34:30 +0200 Subject: [PATCH] feat(ga): only send events in production --- nuxt.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index 7fe5efe..756af36 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -25,7 +25,8 @@ module.exports = { [ "@nuxtjs/google-analytics", { - id: "UA-125493236-1" + id: "UA-125493236-1", + debug: { sendHitTask: process.env.NODE_ENV === "production" } } ] ],