1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-30 00:33:58 +00:00

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

View File

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