Integrations

Consentr works with any platform. From a simple script tag to comprehensive API integrations. Live within 5 minutes.

Quick start

One line of code is all you need.

index.html
<!-- Add to <head> -->
<script
  src="https://consentr.io/widget/consent.js"
  data-domain-id="YOUR_DOMAIN_ID"
  async></script>

All integrations

Popular

Script Tag

The fastest way to get started. Copy the code and paste into your HTML.

All websitesNo dependencies
1Create a free account
2Add your domain in the dashboard
3Copy the script tag
4Paste into the <head> of your website
Popular

WordPress Plugin

Official WordPress plugin. Install and configure from the WordPress admin panel.

WordPress 5.0+One-click installation
1Download the plugin from the dashboard
2Upload via WordPress > Plugins > Add New
3Activate and enter your Domain ID
4Done! The widget appears automatically
Popular

Google Tag Manager

Integrate via GTM with full Google Consent Mode v2 support.

Google Consent Mode v2GA4 & Google Ads
1Enable Google Consent Mode v2 for your domain
2Consentr automatically sends consent signals
3GTM receives the consent status via dataLayer
4Tags are automatically blocked/released

REST API

Full API access for custom integrations. Manage configurations, consent records and more.

Starter+JSON APIAPI keys
1Generate an API key in the dashboard
2Use our RESTful endpoints
3Manage configurations programmatically
4Export consent records for audits

Next.js / React

Integrate in your React or Next.js application with the script tag or dynamic import.

React 18+Next.js 13+SSR compatible
1Add the script tag to your layout
2Or use next/script for optimal loading
3Listen for consentr:consent events
4Conditionally load third-party scripts

Shopify

Add Consentr to your Shopify store via the theme editor or a custom code snippet.

Shopify 2.0Theme editor
1Go to Online Store > Themes > Edit code
2Open theme.liquid
3Paste the script tag before </head>
4Save and test your store

Ready to integrate?

Most customers are live within 5 minutes. No developer needed.