--- title: "Remix" description: "Add Pulse analytics to your Remix application via the root route. Simple script tag in app/root.tsx." category: "framework" brandColor: "#000000" officialUrl: "https://remix.run/docs" relatedIds: ["react", "nextjs"] date: "2026-03-28" --- Add the Pulse script to your `app/root.tsx` so it's included on every route. --- ## Add script to app/root.tsx The root route is the top-level layout in Remix. Add the Pulse script inside the `
` section. ```tsx filename="app/root.tsx" import { Links, Meta, Outlet, Scripts, ScrollRestoration, } from '@remix-run/react' export default function App() { return (