From 9730297381f7d4cd0caaaf598a33118b67e7db28 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 26 Jan 2024 15:50:14 +0800 Subject: [PATCH] chore: move register ga to signin page (#2233) --- web/app/components/base/ga/index.tsx | 17 ----------------- web/app/signin/page.tsx | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/web/app/components/base/ga/index.tsx b/web/app/components/base/ga/index.tsx index 67cd1e893d..ec0089ff70 100644 --- a/web/app/components/base/ga/index.tsx +++ b/web/app/components/base/ga/index.tsx @@ -38,23 +38,6 @@ gtag('config', '${gaIdMaps[gaType]}'); }} > - {gaType === GaType.admin && ( - <> - - - - )} ) diff --git a/web/app/signin/page.tsx b/web/app/signin/page.tsx index e0d14b4890..9d70b65877 100644 --- a/web/app/signin/page.tsx +++ b/web/app/signin/page.tsx @@ -1,12 +1,31 @@ import React from 'react' import cn from 'classnames' +import Script from 'next/script' import Forms from './forms' import Header from './_header' import style from './page.module.css' +import { IS_CE_EDITION } from '@/config' const SignIn = () => { return ( <> + {!IS_CE_EDITION && ( + <> + + + + )}