Skip to content
Pulse
← All integrations

Remix

Standard

JavaScript Frameworks · Script tag

Add Pulse to your Remix app via the root route loader.

The universal tag works via a standard head snippet.

app/root.tsx

export default function App() {
  return (
    <html>
      <head>
        <Meta />
        <Links />
        <script defer data-domain="example.com" PULSE_FLAGS src="https://js.ciphera.net/script.js" />
        PULSE_INTERACTIONS
      </head>
      <body>
        <Outlet />
        <Scripts />
      </body>
    </html>
  )
}

Set data-domain to the domain you registered in Pulse. Configure feature toggles, SRI, and storage from the install panel in your dashboard.