Webflow Embed Guide
Embed PraiseLane testimonials in your Webflow site using the custom code feature.
Setup Steps
Open Site Settings
In the Webflow Designer, go to Site Settings (gear icon) > Custom Code tab.
Add to Footer Code
Paste the PraiseLane embed snippet in the "Footer Code" section. This adds it to every page.
<!-- PraiseLane Testimonials -->
<script
src="https://yourapp.com/embed.min.js"
data-project="your-project-slug"
defer>
</script>For a specific page only
Open the page settings (gear icon on the page in the Pages panel), scroll to Custom Code, and paste the script in the "Before </body> tag" field.
Using an Embed element
Alternatively, drag an "Embed" element onto your canvas and paste the script inside it. This gives you more control over placement.
<div id="praiselane-testimonials"></div>
<script
src="https://yourapp.com/embed.min.js"
data-project="your-project-slug"
data-mode="inline"
data-inline-target="#praiselane-testimonials"
defer>
</script>Publish your site
Webflow custom code only runs on the published site, not in the Designer preview. Publish your site to see the widget.
Configure allowed domains
Add your Webflow domain (yoursite.webflow.io and your custom domain) to the allowed domains in PraiseLane settings.
Is My Embed Working?
Run through this checklist to verify your embed is set up correctly:
- Site is published (not just saved in Designer)
- Webflow domain is in allowed domains
- Code is in Footer Code or page-specific custom code
- At least one approved testimonial exists
- No console errors on the published site
- Embed element is not inside a Rich Text block
Troubleshooting
Widget not visible in the Designer
Custom code does not execute in the Webflow Designer. You must publish the site to test the widget.
Embed element showing raw code
Make sure you are using the Embed element (not a Rich Text or plain text element). The Embed element renders HTML/JS.
Widget not appearing after publish
Clear the Webflow CDN cache by publishing again. Also verify your domain is in the allowed domains list.