From dca840c1377f61b454f27ccffd6b2161a92291be Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期五, 29 七月 2022 18:26:37 +0800 Subject: [PATCH] [nuxt] add env variables (GTM_CODE) --- PAMapp/.env.uat | 1 + PAMapp/nuxt.config.js | 2 +- PAMapp/.env.prod | 1 + 3 files changed, 3 insertions(+), 1 deletions(-) diff --git a/PAMapp/.env.prod b/PAMapp/.env.prod index 2d85a14..7b13c10 100644 --- a/PAMapp/.env.prod +++ b/PAMapp/.env.prod @@ -1,2 +1,3 @@ BASE_URL='/pamapi/api' CONSULTANT_FORGET_PASSWORD_URL = 'https://www.eservice.pcalife.com.tw/sso/reset_password/agentInputUserInfo.html?sys=epos' +GTM_CODE = 'GTM-TFKVGTH' \ No newline at end of file diff --git a/PAMapp/.env.uat b/PAMapp/.env.uat index 6e1a065..b3dbe57 100644 --- a/PAMapp/.env.uat +++ b/PAMapp/.env.uat @@ -1,2 +1,3 @@ BASE_URL='/pamapi/api' CONSULTANT_FORGET_PASSWORD_URL = 'https://eserviceuat.pcalife.com.tw/sso/reset_password/agentInputUserInfo.html?sys=epos' +GTM_CODE = 'GTM-W2XMVJZ' \ No newline at end of file diff --git a/PAMapp/nuxt.config.js b/PAMapp/nuxt.config.js index e1a7fe3..b3f8175 100644 --- a/PAMapp/nuxt.config.js +++ b/PAMapp/nuxt.config.js @@ -70,7 +70,7 @@ enabled: true, /* see below */ debug: false, - id: 'GTM-W2XMVJZ', + id: process.env.GTM_CODE, layer: 'dataLayer', variables: {}, -- Gitblit v1.8.0