Statamic Installation
Install Notedis on a Statamic site with the official addon. It works with static caching.
Prerequisites
- Statamic 4, 5 or 6
- PHP 8.1 or higher
- Notedis account with site key
Installation Steps
Step 1: Get Your Site Key
- Log in to your Notedis dashboard
- Navigate to Sites
- Click the Edit button on your site (or create a new one)
- Copy your Site Key (starts with
site_)
Step 2: Install the Addon
composer require notedis/statamic-notedis
The widget script is published to public/vendor/notedis automatically. The addon is also listed on the Statamic Marketplace.
Step 3: Add Your Site Key
In the Control Panel:
- Go to Tools → Notedis
- Paste your Site Key
- Click Save Settings
Or in .env:
NOTEDIS_SITE_KEY=your-unique-site-key-here
The feedback button now appears on every front-end page.
Settings
Every setting can be set in the Control Panel or with an environment variable. Environment variables win and show as read-only in the Control Panel.
| Setting | Environment variable | Default |
|---|---|---|
| Site Key | NOTEDIS_SITE_KEY |
none |
| Button Position | NOTEDIS_WIDGET_POSITION |
bottom-right |
| Button Color | NOTEDIS_WIDGET_COLOR |
#3B82F6 |
| Logged In Only | NOTEDIS_LOGGED_IN_ONLY |
false |
| Show in Control Panel | NOTEDIS_SHOW_IN_CP |
false |
Widget Source (local or cdn) |
NOTEDIS_WIDGET_SOURCE |
local |
| Auto Inject | NOTEDIS_AUTO_INJECT |
true |
To see or change the settings page a user needs the Configure Notedis permission.
Placing the Widget Yourself
Turn Auto Inject off and add the tag to your layout, just before </body>:
{{ notedis }}
Testing
- Open your site in a private window
- Look for the feedback button in the corner you chose
- Click it and confirm the form opens
Troubleshooting
Button doesn't appear
- Check the Site Key is saved under Tools → Notedis, or set in
.env - Confirm
public/vendor/notedis/js/widget.jsexists. If not, runphp please vendor:publish --tag=notedis-assets --force - Clear caches with
php please cache:clearandphp please static:clear
Widget is out of date
Update the addon with composer update notedis/statamic-notedis, or set Widget Source to CDN to always load the latest widget.