1Consent Docs

Integration Guides

Choose the integration method that fits your stack. All methods use the same 1Consent dashboard for configuration.

Which one should I use?

  • Script Tag is the universal method — it works on any website, with or without a framework. Start here if you're unsure.
  • WordPress wraps the script tag in a plugin so there's no code to add.
  • React adds typed service names and consent gates for React applications. Render timing depends on the app and its available consent and configuration.
  • Next.js covers App Router setup, client components and the limits of server-side consent hints.
  • Native apps adds the banner of the same site to an Android, iOS or Expo app with the 1Consent SDK. A website and its apps can share one site.
  • Google Tag Manager and Consent Mode covers connecting an existing banner to GTM and installing from a container when it has the 1Consent CMP template. The guide also covers a direct Google tag setup.

All methods use the same 1Consent dashboard for configuration.

Connect your coding assistant

Follow Connect your AI assistant for client-specific setup in Lovable, Cursor, Claude, Codex and ChatGPT. It covers the production server URL, site selection, permissions, a first successful account read, and missing-tool recovery. Installing does not need a connection: the prompt in the Dashboard's Install step points your assistant at your site's install guide (/install.md?site=<site ID>). The Lovable guide covers Lovable projects.

Choose the intended site and the access the task needs: 1Consent suggests the recommended setup permissions to your assistant, and you pick a preset or custom access. Installation uses context and site-configuration reads; design and analytics reads are separate permissions. Keep OAuth credentials in the assistant connection, outside your visitor-facing app.

The assistant edits your project using the returned guidance. Theme drafts, framework assignment and private runtime previews require separately approved capabilities. A hosted MCP Live publication needs your separate review and approval of the exact proposal in the Dashboard before execution. Review the changes and verify fresh rejection, a partial grant, withdrawal and navigation against the site's actual trackers.

On this page