Static HTML Integration

Static SitesHTML5JAMstack

Simple integration for static websites and landing pages.

Prerequisites
Basic HTML knowledge
Access to website files or CMS
HTTPS enabled (recommended)
A Suggesto account with at least one feedback board

Installation Steps

1. Basic HTML Integration

Add the widget script to your HTML pages before the closing </body> tag:

index.html

2. Verify Installation

After adding the code, reload your webpage. You should see the Suggesto feedback widget appear in the bottom-right corner (or where you have configured the widget to appear).

Static Site Generators

Jekyll Integration

For Jekyll sites, add to your default layout:

_layouts/default.html

Hugo Integration

For Hugo sites, add to your base template:

layouts/_default/baseof.html

Other Static Site Generators

For 11ty, Gatsby, or other static site generators:

Base Layout Template

CDN Integration

For better performance and reliability, use CDN delivery with fallback:

CDN Integration with Fallback

Event Handling

Listen to widget events for analytics tracking, custom integrations, or user experience enhancements:

Event Listeners and Custom Integration

Conditional Loading

Load the widget conditionally based on device type, user behavior, page context, or other JavaScript conditions:

Conditional Widget Loading

Troubleshooting

Widget not appearing?

Check these common issues:

  • Verify the board ID is correct
  • Check browser console for JavaScript errors
  • Ensure the script is placed before closing </body> tag
  • Confirm the website is accessible via HTTPS
Content Security Policy (CSP) blocking?

If your site uses CSP, add these directives:

Loading performance issues?

Optimize widget loading:

  • Use async or defer attributes on script tags
  • Load the widget after page content has loaded
  • Consider lazy loading for better performance
  • Use the CDN version for faster delivery
Widget conflicts with other scripts?

Resolve script conflicts:

  • Load Suggesto after other critical scripts
  • Check for CSS z-index conflicts
  • Ensure no other scripts are modifying the same DOM elements
  • Use browser developer tools to debug conflicts
Finding Your Board ID
Replace xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx with your actual Board ID from the dashboard

How to get your Board ID:

  1. Go to your Suggesto dashboard
  2. Find your feedback board
  3. Click the three dots menu (⋯) on the board card
  4. Select "Copy Board ID" from the dropdown
  5. Replace the placeholder in the code with your Board ID
Opens in new tab
Static HTML Installation - Suggesto.io Documentation