Skip to Content
CEC Feedback Docs
Installing

WordPress plugin

Install the CEC Feedback plugin on a WordPress site instead of pasting the snippet.

The CEC Feedback plugin adds the widget to every front-end page of a WordPress site, and can limit it to signed-in users with certain roles.

Install it

  1. Download the plugin: cec-feedback-wordpress.zip. In the dashboard, it's the Download plugin (.zip) button under the project's Installation › Plugins & Tools › WordPress.
  2. In WordPress, go to Plugins › Add New › Upload Plugin, choose the zip, then Install Now and Activate.
  3. Open Settings › CEC Feedback and paste the Project key (pk_…) from the project's Installation tab.
  4. Leave Edge origin as it is (https://feedback-api.cec.dev), check that Load the widget on this site is on, then Save.
  5. Clear any page cache (from a caching plugin or the host), so cached pages get the widget too.

Optional settings

  • Widget: turn Load the widget on this site off to remove the widget while keeping the settings, for example once a review is over.
  • Restrict to roles: with none checked, every visitor gets the widget. With any checked, only signed-in users with one of those roles do; everyone else gets no script tag at all.
  • Identify signed-in users by name and email sends each signed-in user's display name and email to the widget, so it doesn't ask for their details before they send feedback.
  • Developers can decide per request in code with the cec_feedback_should_load filter.

Things to check

  • If the project has allowed origins, the WordPress site's address must be one of them.
  • Security plugins that send a Content Security Policy need the sources listed under Content Security Policy.
  • If the project key is rotated, paste the new key into Settings › CEC Feedback.

On this page