Dashboard
Integrations

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)

1

Create an application password

In WordPress, go to Users → Profile → Application Passwords, name it "PolicifyAI" and click Add. Copy the generated password.

2

Connect your site

In PolicifyAI, go to Dashboard → Integrations → WordPress → Connect and enter your site URL, WordPress username, and the application password.

3

Publish

Press Publish on any policy. PolicifyAI creates (or updates) the page on your site — and re-publishes automatically on every future update.

💡 Requires HTTPS on your site and a paid PolicifyAI plan. Some security plugins disable application passwords — re-enable them in the plugin settings if the option is missing.

Method 2: HTML block (embed snippet)

1

Create or open a WordPress page

Go to Pages → Add New (or edit an existing page like /privacy-policy).

2

Add an HTML block

Click the + button to add a block and search for Custom HTML.

3

Paste the embed code

Copy your pre-filled snippet from PolicifyAI → Dashboard → Integrations and paste it into the HTML block.

4

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>
💡 Change 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:

1

Create a WordPress page for each policy

Create pages like /refund-policy, /privacy-policy, etc., and embed the relevant PolicifyAI policy on each.

2

Assign in WooCommerce settings

Go to WooCommerce → Settings → Advanced → Page Setup and select your policy pages.

💡 WooCommerce will link to these pages from the checkout automatically once assigned.

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.

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.