Skip to main content

WordPress Installation

Time: ~5 minutes

  1. Go to Plugins → Add New and search for "ConsentForge"
  2. Install and activate
  3. Go to Settings → ConsentForge
  4. Paste your Embed Token
  5. Save. Done.

Option 2: Manual (via functions.php)

Add to your theme's functions.php:

function consentforge_enqueue() {
echo '<script src="https://cdn.consentforge.com/consentforge.min.js"
data-token="YOUR_TOKEN" defer></script>';
}
add_action('wp_head', 'consentforge_enqueue', 1);
Caching plugins

If you use WP Rocket, W3 Total Cache, or similar: exclude consentforge.min.js from minification and defer optimization. The script handles its own loading strategy.