diff --git a/workspaces/website/src/renderer/_default.page.server.tsx b/workspaces/website/src/renderer/_default.page.server.tsx index 8a16c7c072..fa83ba9a62 100644 --- a/workspaces/website/src/renderer/_default.page.server.tsx +++ b/workspaces/website/src/renderer/_default.page.server.tsx @@ -47,15 +47,16 @@ export async function render(pageContext: PageContextServer) { userAgent: pageContext.userAgent, }); - const GOOGLE_TAG_ID = "G-WY42TERK5P"; + const GOOGLE_GTM_ID = "GTM-K6LVSCS9"; + const pageSeo = (pageProps?.data ?? pageProps?.roadmapPost ?? pageProps?.tutorial) as SeoType; const documentProps = pageContext.documentProps ?? pageContext.exports.documentProps; - // @ts-ignore const isGeoRegulationsPage = + // @ts-ignore pageProps?.data?.slug === "provisions-geo-regulations"; const title = isGeoRegulationsPage @@ -123,15 +124,14 @@ export async function render(pageContext: PageContextServer) { } - - - + - gtag('config', '${GOOGLE_TAG_ID}'); -