Skip to content

Content Security Policy blocking the widget

Allow the Amevia script host in CSP when the tag is present but the browser blocks it.

Strict Content-Security-Policy headers can block third-party widgets even when the script tag is in HTML. The console usually names the blocked URL.

Fix CSP

  1. Open the live page, open browser DevTools, and read Console for CSP violation messages
  2. Note which directive blocked getamevia.com or the widget script URL
  3. Update script-src to include the Amevia script host shown in Installation
  4. Add connect-src entries if fetch or WebSocket calls to Amevia are blocked
  5. Publish the header change (server, meta tag or CDN transform)
  6. Hard-refresh and run Recheck installation

Common setups

  • Report-only CSP logs violations without blocking — switch to enforce mode only after testing
  • WordPress security plugins add CSP — update the plugin allowlist, not only .htaccess
  • See CSP and script blocking for ad blockers and extension tests
Content Security Policy blocking the widget — Amevia Help