HTML Embed Guide
Add PraiseLane testimonials to any static HTML website with a single script tag.
Setup Steps
Copy the embed snippet
Go to your PraiseLane dashboard, open your project, and copy the embed code from the Widget tab.
Add the display widget
Paste the script tag before the closing </body> tag on any page where you want testimonials to appear.
<!-- PraiseLane Display Widget -->
<script
src="https://yourapp.com/embed.min.js"
data-project="your-project-slug"
defer>
</script>Add the collection widget (optional)
To let visitors submit testimonials directly on your site, add the collection embed.
<!-- PraiseLane Collection Form (inline) -->
<script
src="https://yourapp.com/collect-embed.js"
data-project="your-project-slug"
data-mode="inline">
</script>Configure allowed domains
In your PraiseLane project settings, add your website domain to the allowed domains list. The widget will not load on unauthorized domains.
For local development, add localhost:8080 or whatever port you use.
Is My Embed Working?
Run through this checklist to verify your embed is set up correctly:
- Domain is added to allowed domains in project settings
- Script tag is placed before closing </body> tag
- data-project attribute matches your project slug
- At least one testimonial is approved in your dashboard
- No console errors related to PraiseLane
- Widget container is visible (not hidden by CSS)
Troubleshooting
Widget not appearing
Check the browser console for errors. Verify your domain is in the allowed domains list in project settings.
403 error in console
Your domain is not authorized. Add it to the allowed domains in your PraiseLane project settings.
Widget appears but no testimonials shown
Make sure you have approved testimonials in your project. Pending testimonials are not displayed.