From 4dcc091b53f55e0df1b503990e28434ab8bff8ae Mon Sep 17 00:00:00 2001 From: soufiane Date: Fri, 5 Dec 2025 13:30:26 +0100 Subject: [PATCH] feat: add GTM + improve mobile hero section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added Google Tag Manager (GTM-WN8H6RTC) script and noscript - Added padding-top on mobile hero to avoid header overlap - Reduced subtitle text size on mobile for better readability - Added Inscription/Connexion buttons on mobile for non-authenticated users 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/layout.tsx | 28 ++++++++++++++++++++++++++++ app/page.tsx | 23 ++++++++++++++++++++--- 2 files changed, 48 insertions(+), 3 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 2f39ee5..5c348da 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -5,7 +5,10 @@ import { Toaster } from "react-hot-toast"; import LayoutClient from "./layout-client"; import { Providers } from "./providers"; +// Google Analytics 4 const GA_TRACKING_ID = "G-E272LVVQRD"; +// Google Tag Manager +const GTM_ID = "GTM-WN8H6RTC"; export const metadata: Metadata = { metadataBase: new URL(process.env.NEXT_PUBLIC_FRONTEND_URL || 'https://dsp5-archi-o24a-15m-g3.fr'), @@ -42,6 +45,22 @@ export default function RootLayout({ children }: { children: React.ReactNode }) return ( + {/* Google Tag Manager */} + + {/* Google Analytics 4 */}