feat(ga): only send events in production

This commit is contained in:
Julien 2018-09-10 00:34:30 +02:00
parent dd4291bbd5
commit 2c5a47182a
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ module.exports = {
[
"@nuxtjs/google-analytics",
{
id: "UA-125493236-1"
id: "UA-125493236-1",
debug: { sendHitTask: process.env.NODE_ENV === "production" }
}
]
],