Integrations

React integration guide

For React apps, inject the snippet in the root document/head so every route includes it.

Where to paste the snippet

  • React (Vite): index.html in the project root, inside the <head> section.
  • React (Create React App): public/index.html in the <head> section.
  • Next.js: app/layout.tsx head section or Script in root layout.
  • Any head manager setup: add the script globally, not per single page.

Step-by-step

  • Open your root template/layout file used by all routes.
  • Add the Conscriba snippet to the global head area.
  • Build and deploy your React application.
  • Visit production and confirm script is present in page source.
  • Use Conscriba Check verification.