Skip to content
← 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"
          src="https://js.ciphera.net/script.js"
        />
      </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.