diff --git a/nuxt.config.js b/nuxt.config.js index 121c390..e970d10 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -135,7 +135,7 @@ export default { [ '@adinvadim/nuxt-segment-analytics', { - id: (process.env.FLYLOCAL_ENV === 'prod') ? "QpcGXqVfScXUfRPbAGkbtyst6x5HNpRf" : "9dEbke7oGZjUCbF01hbcycoHxrpLvVBV", + id: (process.env.NODE_ENV === 'production') ? "QpcGXqVfScXUfRPbAGkbtyst6x5HNpRf" : "9dEbke7oGZjUCbF01hbcycoHxrpLvVBV", useRouter: true } ],