Integrations
WordPress
Two ways to put your policies on WordPress: connect your site once and let PolicifyAI publish pages automatically, or paste the embed snippet into any page. Works with any theme, WooCommerce, Elementor, and Divi.
Method 1: Connect & auto-publish (recommended)
Create an application password
In WordPress, go to Users → Profile → Application Passwords, name it "PolicifyAI" and click Add. Copy the generated password.
Connect your site
In PolicifyAI, go to Dashboard → Integrations → WordPress → Connect and enter your site URL, WordPress username, and the application password.
Publish
Press Publish on any policy. PolicifyAI creates (or updates) the page on your site — and re-publishes automatically on every future update.
Method 2: HTML block (embed snippet)
Create or open a WordPress page
Go to Pages → Add New (or edit an existing page like /privacy-policy).
Add an HTML block
Click the + button to add a block and search for Custom HTML.
Paste the embed code
Copy your pre-filled snippet from PolicifyAI → Dashboard → Integrations and paste it into the HTML block.
Publish
Click Update or Publish. Your policy will appear live on the page.
<!-- Paste into a Custom HTML block --> <script src="https://policifyai.com/embed.js" data-site-key="YOUR_SITE_KEY" data-policy="privacy-policy" async> </script>
data-policy per page (terms-of-service, refund-policy, cookie-policy, …). On URLs like /privacy-policy the script auto-detects the policy, so the attribute is optional there.WooCommerce policies
WooCommerce has dedicated settings for Refund, Privacy, and Terms pages. To use PolicifyAI policies there:
Create a WordPress page for each policy
Create pages like /refund-policy, /privacy-policy, etc., and embed the relevant PolicifyAI policy on each.
Assign in WooCommerce settings
Go to WooCommerce → Settings → Advanced → Page Setup and select your policy pages.
Elementor
In the Elementor editor, drag an HTML widget onto the page and paste the embed code in the HTML field. Save and preview.
Divi
In Divi, add a Code module to your section and paste the embed code. Save and preview the page.
Legal hub page (all policies)
For a dedicated legal page listing all your policies, create a page at /legal and paste the hub embed into a Custom HTML block:
<!-- On your /legal page --> <script src="https://policifyai.com/embed.js" data-site-key="YOUR_SITE_KEY" data-policy="hub" async> </script>
Troubleshooting
Policy not appearing
Check that the policy ID is correct and the policy status is "ready" in PolicifyAI. Also ensure JavaScript is not being blocked by a plugin.
Script stripped by editor
Some WordPress editors strip script tags. Use the Custom HTML block (not the paragraph block) or add via header/footer plugin.
Conflicts with caching plugins
Exclude the embed.js URL from your caching plugin's script minification/concatenation. The script self-manages caching.
Cookie consent blocking the script
Categorise the PolicifyAI embed under "necessary" in your CMP — it does not set any tracking cookies.