Vercel Analytics not working on SvelteKit

I have put the code below in /routes/+layout.ts, yet the analytics are not showing after an hour. I’m not sure what I am missing

import { dev } from "$app/environment";
import { injectAnalytics } from "@vercel/analytics/sveltekit";
import { injectSpeedInsights } from "@vercel/speed-insights/sveltekit";

injectAnalytics({ mode: dev ? "development" : "production" });
injectSpeedInsights();

Hi, Bao! Welcome to the Vercel Community :smile:

Could you provide a minimal reproducible example for us?