Framer Installation

Add Simple Commenter to your Framer site using the custom code settings.

Step-by-Step Installation

1. Open Site Settings

  1. Open your project in Framer
  2. Click the gear icon or go to Site Settings
  3. Navigate to the General tab

2. Add Custom Code

  1. Scroll down to Custom Code
  2. In the End of <body> tag section, paste:
<script
  src="https://simplecommenter.com/js/comments.min.js"
  data-domain="your-domain.com"
  defer
></script>
  1. Click Save or close the settings panel

Replace your-domain.com with your actual domain. Use your Framer subdomain (e.g., yoursite.framer.app) or custom domain.

3. Publish Your Site

  1. Click Publish in the top right
  2. Your changes will go live

Using a Custom Domain

If you've connected a custom domain:

<script
  src="https://simplecommenter.com/js/comments.min.js"
  data-domain="www.yourdomain.com"
  defer
></script>

Using a Code Component (Alternative)

You can also create a code component:

  1. Click the + button to add a new component
  2. Select Code component
  3. Add this code:
export default function SimpleCommenter() {
  React.useEffect(() => {
    const script = document.createElement("script");
    script.src = "https://simplecommenter.com/js/comments.min.js";
    script.dataset.domain = "your-domain.com";
    script.defer = true;
    document.body.appendChild(script);

    return () => {
      document.body.removeChild(script);
    };
  }, []);

  return null;
}
  1. Add the component to your page
  2. Publish

The Site Settings method is recommended as it applies to all pages automatically.

Verifying Installation

  1. Publish your site
  2. Visit the live site (not the editor preview)
  3. Look for the feedback widget button
  4. Check browser Developer Tools (F12) for errors

Troubleshooting

Widget not appearing in editor

The widget won't appear in the Framer editor. You must view the published site.

Widget not appearing on published site

  • Ensure you published after adding the code
  • Check the code is in the "End of body" section
  • Verify the domain matches your dashboard settings
  • Clear your browser cache

Staging vs Production

If using staging sites, ensure the domain in your script matches where you're testing.

Need help? Contact support.

Was this page helpful?