Installing the Embed Code
Learn how to add the FOMOchat widget to your website with our step-by-step installation guide for various platforms.
Installing the Embed Code
Adding FOMOchat to your website is simple. After creating your FOMOchat, you'll get a small script snippet to add to your site.
Basic Installation
- Go to your FOMOchat in the dashboard
- Click on the Embed tab
- Copy the script code provided
- Paste it into your website's HTML just before the closing
</body>tag
<script src="https://app.fomochat.com/widget.js" data-fomochat-id="your-id-here"></script>
Platform-Specific Instructions
WordPress
- Go to Appearance → Theme Editor or use a plugin like "Insert Headers and Footers"
- Add the script to your footer section
- Save changes
Shopify
- Go to Online Store → Themes → Edit Code
- Find
theme.liquidin the Layout folder - Paste the script before
</body> - Save
Webflow
- Go to Project Settings → Custom Code
- Paste the script in the "Footer Code" section
- Publish your site
Squarespace
- Go to Settings → Advanced → Code Injection
- Paste the script in the "Footer" section
- Save
Troubleshooting
- Widget not appearing? Make sure the script is placed correctly and your FOMOchat is set to active
- Multiple widgets? Only include the script once per page
- Testing locally? The widget works on localhost for development
Need Help?
If you're having trouble with installation, check our Widget Not Showing troubleshooting guide or contact support.
Was this article helpful?
Your feedback helps us improve our documentation.