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:
parent
dd4291bbd5
commit
2c5a47182a
@ -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" }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user