Choose the layout method (with express-ejs-layouts) — it's the standard way most Express + EJS projects handle global scripts (analytics, GA4, PostHog, Matomo, etc.). If you run into any error after implementing, share the exact error message or what doesn't work, and we'll fix it quickly.