File tree Expand file tree Collapse file tree 6 files changed +6
-5
lines changed Expand file tree Collapse file tree 6 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,3 @@ NEXT_PUBLIC_PROVIDER_ID=5159
6
6
NEXT_PUBLIC_SCIENTIST_API_VERSION = v2
7
7
NEXT_PUBLIC_WEBHOOK_URL = http://ss-mailer/webstore
8
8
NEXT_PUBLIC_APP_BASE_URL = https://webstore-staging.vercel.app
9
-
10
- # optional/conditional variables
11
- GOOGLE_TAG_MANAGER_ID = GTM-PQGCP24G
Original file line number Diff line number Diff line change 44
44
value : " {{ .Values.nextAuthUrl }}"
45
45
- name : NEXT_PUBLIC_APP_BASE_URL
46
46
value : " {{ .Values.appBaseUrl }}"
47
+ - name : NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID
48
+ value : " {{ .Values.googleTagManagerId }}"
47
49
- name : NEXT_PUBLIC_PROVIDER_ID
48
50
value : " {{ .Values.providerId }}"
49
51
- name : NEXT_PUBLIC_PROVIDER_NAME
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ appBaseUrl: ''
14
14
clientId : ' '
15
15
clientSecret : ' '
16
16
fullnameOverride : ' '
17
+ googleTagManagerId : ' '
17
18
imagePullSecrets : []
18
19
nameOverride : ' '
19
20
nextAuthSecret : ' '
Original file line number Diff line number Diff line change 1
1
appBaseUrl : ' https://webstore.softserv.cloud'
2
2
clientId : $CLIENT_ID
3
3
clientSecret : $CLIENT_SECRET
4
+ googleTagManagerId : ' '
4
5
nextAuthSecret : $NEXTAUTH_SECRET
5
6
nextAuthUrl : ' https://webstore.softserv.cloud/api/auth'
6
7
nextPublicToken : $NEXT_PUBLIC_TOKEN
Original file line number Diff line number Diff line change 1
1
appBaseUrl : ' https://webstore-staging.softserv.cloud'
2
2
clientId : $CLIENT_ID
3
3
clientSecret : $CLIENT_SECRET
4
+ googleTagManagerId : ' '
4
5
nextAuthSecret : $NEXTAUTH_SECRET
5
6
nextAuthUrl : ' https://webstore-staging.softserv.cloud/api/auth'
6
7
nextPublicToken : $NEXT_PUBLIC_TOKEN
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import {
21
21
headerAndFooterLinkColors ,
22
22
} from '../utils'
23
23
import '../utils/theme/globals.scss'
24
- const gtmId = process . env . NODE_ENV === 'production' ? process . env . GOOGLE_TAG_MANAGER_ID : ''
25
24
26
25
const WebStore = ( { Component } ) => {
27
26
/**
@@ -42,7 +41,7 @@ const WebStore = ({ Component }) => {
42
41
enableCookies={enableCookies}
43
42
getCookieConsent={getCookieConsent()}
44
43
/> */ }
45
- < GoogleTagManager gtmId = { gtmId } />
44
+ < GoogleTagManager gtmId = { process . env . NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID } />
46
45
< Header
47
46
auth = { {
48
47
signIn : ( ) => signIn ( process . env . NEXT_PUBLIC_PROVIDER_NAME ) ,
You can’t perform that action at this time.
0 commit comments