Install a visitor ID tag on WordPress (block theme)

On WordPress (block theme), your visitor identification tag goes in: Custom HTML block in page editor or theme.json script registration. Note the plan gate: Plugin-enabled plan with hosting features. The install itself takes minutes; the part that goes wrong on WordPress (block theme) is below.

Where the tag goes

  1. Custom HTML block in page editor or theme.json script registration.
  2. Plan requirement: Plugin-enabled plan with hosting features
  3. Paste your vendor’s tag snippet exactly as issued. Do not wrap it in extra script tags or reformat it.
  4. Publish or deploy, then verify (below) before trusting data.

What breaks visitor tracking on WordPress (block theme)?

Script tags in custom blocks don't fire until page is published; editor preview won't show execution.

How do you verify the tag fires?

View published page and check browser DevTools Network tab for script load.

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