How do I install a visitor ID tag on Remix?

On Remix, your visitor identification tag goes in: Resource Route or app/root.tsx layout with dangerouslySetInnerHTML OR external file via import. The install itself takes minutes; the part that goes wrong on Remix is below.

Where the tag goes

  1. Resource Route or app/root.tsx layout with dangerouslySetInnerHTML OR external file via import.
  2. Paste your vendor’s tag snippet exactly as issued. Do not wrap it in extra script tags or reformat it.
  3. Publish or deploy, then verify (below) before trusting data.

What breaks visitor tracking on Remix?

No first-class Script component; must use dangerouslySetInnerHTML (lacks syntax highlighting) or manage external file builds separately.

How do you verify the tag fires?

npm run dev, inspect page source for <script> tag, check browser console for execution.

Then run through the labeled QA checklist before you rely on the numbers, and set expectations with the match-rate calculator — no vendor identifies every visitor.

All platform install guides