QuackChat on HubSpot CMS
Add the QuackChat widget to your HubSpot CMS website. This guide covers HubSpot CMS Hub (not the free CRM or Marketing Hub pages).
Quick Start (TL;DR)
- Go to Settings > Website > Pages
- Click Site Footer HTML
- Paste the widget code
- Save
Prerequisites
- HubSpot CMS Hub access
- Bot ID from your QuackChat dashboard
Step-by-Step Installation
Option A: Site Settings (Recommended)
- Log into your HubSpot account
- Click the Settings gear icon
- Navigate to Website > Pages
- Scroll to Site Footer HTML
- Paste the widget code:
html
<script
src="https://www.quackchat.app/widget/quackchat-widget.js"
data-bot-id="YOUR_BOT_ID"
></script>
- Click Save
The widget will appear on all HubSpot CMS pages.
Option B: Page-Specific (Landing Pages)
For specific landing pages:
- Edit the page
- Go to Settings > Advanced options
- In Additional code snippets > Footer HTML, paste the widget code
- Save and publish
Platform-Specific Customization
Using HubL Variables
html
<script
src="https://www.quackchat.app/widget/quackchat-widget.js"
data-bot-id="YOUR_BOT_ID"
{% if request.contact %}
data-welcome-message="Welcome back, {{ request.contact.firstname }}!"
{% endif %}
></script>
Verification
Quick test:
- Preview your page or visit the live site
- Look for the chat bubble
- Test sending a message
Troubleshooting
Widget conflicts with HubSpot chat
Cause: HubSpot has its own chat widget (Conversations).
Solution: Disable HubSpot Conversations on pages where you use QuackChat.
Widget doesn't appear on landing pages
Cause: Landing pages may not inherit site footer.
Solution: Add the code in the landing page's individual settings.
HubSpot CRM Integration
Sync Leads to HubSpot
- Enable lead capture in QuackChat bot settings
- Set up a workflow using Zapier or custom integration
- When QuackChat captures a lead → Create HubSpot contact
- Map fields (email, name, etc.)
Known Limitations
- CMS Hub required for site-wide footer HTML
- Landing pages need individual configuration
- HubSpot Conversations may conflict (disable one)