Embed a Chatbot in Shopify, WordPress, Webflow, and Framer
Step-by-step instructions for embedding the PageBot widget in the four most common no-code platforms — including the gotchas.
Every chatbot vendor's docs say "just paste this script tag." That's true — but the where varies by platform. Here's the exact path on each of the four platforms we get the most questions about.
Shopify
- Online Store → Themes → Edit code.
- Open theme.liquid.
- Paste the PageBot script just before the closing </body> tag.
- Save. The widget appears on every public page.
WordPress
- Install a footer-script plugin (Insert Headers and Footers, WPCode).
- Paste the script in the Footer slot.
- Save. Refresh your home page to confirm.
Webflow
- Project settings → Custom code.
- Paste the script in Footer Code.
- Publish. The widget will only appear on the published domain, not the staging .webflow.io URL by default.
Framer
- Site settings → General → Custom Code.
- Paste the script in End of <body> tag.
- Publish.
Common gotchas
- If the widget doesn't appear, check that the bot ID in the script tag matches your live bot.
- If you have a strict Content Security Policy, add the PageBot domain to your script-src.
- On Shopify with a checkout extension, the widget intentionally doesn't render on /checkout pages — that's by design to protect conversion.