From 5301f745e35f7176c28876d9a02c76b8d5681729 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期二, 26 七月 2022 14:26:38 +0800
Subject: [PATCH] fix: gtm error

---
 PAMapp/plugins/gtm.js |    3 +--
 PAMapp/nuxt.config.js |   15 ++++++++-------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/PAMapp/nuxt.config.js b/PAMapp/nuxt.config.js
index ac032f6..3297a96 100644
--- a/PAMapp/nuxt.config.js
+++ b/PAMapp/nuxt.config.js
@@ -55,16 +55,17 @@
     '@nuxtjs/axios',
     '@nuxtjs/style-resources',
     ['@nuxtjs/dotenv', { filename: '.env.' + process.env.ENV }],
-
+    '@nuxtjs/gtm',
   ],
 
   // Modules: https://go.nuxtjs.dev/config-modules
-  modules: [
-    '@nuxtjs/gtm',
-  ],
-  plugins: [
-    '~/plugins/gtm'
-   ],
+  // modules: [
+  //   '@nuxtjs/gtm',
+  // ],
+  
+  // plugins: [
+  //   '~/plugins/gtm'
+  //  ],
   gtm: {
     enabled: true, /* see below */
     debug: false,
diff --git a/PAMapp/plugins/gtm.js b/PAMapp/plugins/gtm.js
index 981a0ed..d93597d 100644
--- a/PAMapp/plugins/gtm.js
+++ b/PAMapp/plugins/gtm.js
@@ -1,4 +1,3 @@
 export default function({ $gtm, route }) {
-    // TODO: 蝵格�甇�蝣箇�� GTM CODE
-    $gtm.init('GTM-XXXXXXX')
+    $gtm.init('GTM-W2XMVJZ')
   }
\ No newline at end of file

--
Gitblit v1.8.0