mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-10-29 00:04:06 -07:00
feat(ga): only send events in production
This commit is contained in:
1 parent
dd4291bbd5
commit
2c5a47182a
1 file changed
+2
-1
+2
-1
@@ -25,7 +25,8 @@ module.exports = {
|
||||
[
|
||||
"@nuxtjs/google-analytics",
|
||||
{
|
||||
id: "UA-125493236-1"
|
||||
id: "UA-125493236-1",
|
||||
debug: { sendHitTask: process.env.NODE_ENV === "production" }
|
||||
}
|
||||
]
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user