Ghost Installation
Add Simple Commenter to your Ghost blog using the built-in Code Injection feature.
Step-by-Step Installation
1. Open Code Injection
- Go to your Ghost Admin panel
- Click Settings (gear icon) in the left sidebar
- Scroll down and click Code injection
2. Add the Script
- In the Site Footer section, paste:
<script
src="https://simplecommenter.com/js/comments.min.js"
data-domain="your-domain.com"
defer
></script>
- Click Save
Replace your-domain.com with your actual domain from the Simple Commenter dashboard.
Ghost(Pro) vs Self-Hosted
Both Ghost(Pro) and self-hosted Ghost installations support code injection. The process is the same.
Ghost(Pro) Domain
<script
src="https://simplecommenter.com/js/comments.min.js"
data-domain="yoursite.ghost.io"
defer
></script>
Custom Domain
<script
src="https://simplecommenter.com/js/comments.min.js"
data-domain="www.yourblog.com"
defer
></script>
Theme Integration (Advanced)
For more control, edit your theme directly:
- Download your theme from Settings > Design > Change theme > Advanced
- Edit
default.hbs - Add the script before
</body> - Zip and re-upload the theme
{{! In default.hbs, before </body> }}
<script
src="https://simplecommenter.com/js/comments.min.js"
data-domain="{{@site.url}}"
defer
></script>
Theme changes are overwritten when you update your theme. Code Injection is usually preferred.
Page-Specific Installation
To add the widget only to specific posts or pages, use the Code Injection field on individual posts:
- Open the post/page in the editor
- Click the gear icon for Post settings
- Scroll to Code injection
- Add the script in the Post footer section
- Update the post
Verifying Installation
- Save your code injection
- Visit your live blog (not the admin panel)
- Look for the feedback widget button
- Navigate to different posts to verify it appears
Troubleshooting
Widget not appearing
- Ensure you're viewing the public site, not the admin panel
- Check the code is in Site Footer, not Site Header
- Verify the domain matches your dashboard settings
- Clear any caching (Ghost, CDN, browser)
Widget conflicts with Ghost comments
Simple Commenter works alongside Ghost's native commenting system. They serve different purposes - Ghost comments are for blog discussions, while Simple Commenter is for general feedback.
Members-only content
The widget works on members-only posts. It loads after the content is accessible to the logged-in member.
Need help? Contact support.