Scale2Rev LogoScale2Rev Logo
Engage:Qualify website visitorsSurface:Get cited by AICraft:Write what ranks
ResourcesPricingAgenciesLogin
Start Free Trial
Scale2Rev LogoScale2Rev Logo

Scale Ignites GrowthTM

Product

  • Engage RevEngine
  • Surface RevEngine
  • Craft RevEngine
  • Pricing

Knowledge

  • Resources
  • Sales Essentials
  • Help & FAQ

Company

  • About
  • Agencies
  • Contact
  • Legal
  • Privacy Policy
  • Terms of Service
© 2026 Scale2Rev. All rights reserved.

Widget & Visitor Experience

Widget not loading

June 2026

Quick answers

Why is the Engage widget not showing on my website?

The most common causes are a performance plugin delaying or rewriting the embed script, or an existing Content Security Policy (CSP) blocking the Engage script or API calls. Paste the snippet before </body>, exclude widget.js from delay/defer optimizations, and purge site caches. If your site already sends a CSP, add the Scale2Rev host from your Engage Deploy page to script-src and connect-src, and allow 'unsafe-inline' in style-src. Do not create a new CSP for Engage.

Also asked as: chatbot not appearing; embed not loading; launcher missing.

How do I know if CSP is blocking Engage?

Open browser DevTools → Console and look for refused script or connect errors mentioning Content-Security-Policy. Check the page response headers for a Content-Security-Policy header that omits your Scale2Rev host.

Also asked as: Content Security Policy error; refused to load script.

Where should I paste the Engage embed code?

Paste the snippet from Engage → Deploy immediately before the closing </body> tag on every public page. Use the exact Tenant ID and Site ID from that page.

Also asked as: embed code placement; install chat widget.

Why does Engage only load after I click the page, or show tenantId is required in the console?

WordPress performance plugins such as Flying Press, WP Rocket, and LiteSpeed can delay JavaScript until user interaction. The optimizer may rewrite your embed tag and inject a second script copy without data-tenant-id and data-site-id. Engage reads those attributes from the script tag that loads widget.js, so the launcher stays missing or fails after a click. Exclude your Scale2Rev host (for example scale2rev.com/widget/widget.js) from Delay JavaScript, combine, and defer settings, then purge the plugin cache — not only your browser cache.

Also asked as: Flying Press chatbot; delay JavaScript Engage; widget loads after click; siteId is required.

Does Engage work on Netlify or WordPress with caching plugins?

Yes, after the embed script is excluded from delay/defer optimizations and any existing CSP headers allow your Scale2Rev host. On WordPress, exclude the Scale2Rev widget script from JavaScript minify, combine, and Delay JavaScript in Flying Press, WP Rocket, LiteSpeed, or similar plugins, then clear site cache.

Also asked as: WP Rocket Engage; Netlify CSP headers; Flying Press exclude.

Related searches: Engage widget not showing · chatbot not loading · embed not working · CSP blocking chat · Scale2Rev script blocked · Flying Press Engage · delay JavaScript widget · tenantId is required · widget after click

Use this guide when visitors cannot see the Engage launcher on your live site.

Check for an existing Content Security Policy

Engage does not need a Content Security Policy (CSP). If your site has none, skip this section. Do not create a new policy for Engage. A new policy blocks every script it does not list, including your own plugins, filters, and analytics.

If your site already sends a CSP header or meta tag:

  1. Open Engage → Deploy and note your Scale2Rev app host.
  2. Add values to the directives your policy already contains:
    • script-src and connect-src: your Scale2Rev host (for example https://scale2rev.com)
    • style-src: 'unsafe-inline'
    • media-src: blob: if you use voice
  3. Redeploy or refresh headers, then hard-reload the page.

Confirm the embed snippet

  • Snippet is before </body>.
  • Tenant ID and Site ID match Engage → Deploy.
  • No duplicate or outdated embed scripts on the same page.

Caching and performance plugins

If you use Flying Press, WP Rocket, LiteSpeed, or similar tools:

  1. Exclude scale2rev.com/widget/widget.js (or your Scale2Rev app host) from Delay JavaScript, combine, minify, and defer.
  2. Confirm the live page still has one embed tag with data-tenant-id and data-site-id on the same <script> that loads widget.js.
  3. Purge the plugin cache after changes — clearing only your browser cache is not enough.

Symptom: launcher missing until click, then console errors

Some optimizers rewrite the embed to load only after user interaction. After a click they may inject a bare <script src="…/widget.js"> without your Tenant ID and Site ID. The browser console may show:

Invalid configuration: tenantId is required; siteId is required

That is a server-side optimization issue, not an Engage outage. Fix the exclude rules above and purge cache.

Not the same as missing knowledge base pages

If the widget works but answers are thin, your website content may not be indexed yet. See Content not loading.

← Widget & Visitor ExperienceAll categories