Skip to content
← All integrations
Planned

Gate the component, not the script tag.

In a framework you control, consent should be a condition on rendering rather than an interception of something already loading. A gate component and a state hook make it deterministic.

i

Status today: Planned. The JavaScript SDK it builds on is in beta.

What it is

A React framework for server-rendered and static sites, where third-party embeds are components rather than raw script tags.

What DotCensus controls

  • Gate component around embeds
  • State hook for conditional logic
  • Server-safe defaults
  • No DOM interception required

How it is installed

  • Install the package
  • Wrap consent-requiring embeds in the gate
  • Use the hook where logic depends on state

How you verify it

  • Three-state scan of the built site

Limits worth knowing

  • Not released yet; the underlying runtime API is in beta and the framework package follows it

Know what runs before you ask visitors to trust it.

Start with a scan of what your website loads today. The list is usually longer than the team expects, and that is the useful part.

No code to install for a scan Public pages only DotCensus runs on DotCensus