feat: support setting up GTM

This commit is contained in:
Fred Liang
2024-01-22 15:06:41 +08:00
committed by Fred Liang
parent 0cf6614186
commit 31d9d2efcd
2 changed files with 8 additions and 1 deletions

View File

@@ -89,6 +89,8 @@ export const getServerSideConfig = () => {
googleApiKey: process.env.GOOGLE_API_KEY,
googleUrl: process.env.GOOGLE_URL,
gtmId: process.env.GTM_ID,
needCode: ACCESS_CODES.size > 0,
code: process.env.CODE,
codes: ACCESS_CODES,