Code Editor
The Code Editor lets you add custom styling rules and scripts to your review page. Use it when you want to tweak the look of your feedback form or add behavior that goes beyond the built-in Appearance options. Your custom styles and scripts apply when customers visit the page to leave reviews and ratings.
Where to Find the Code Editor
Click Review Pages in the sidebar, then select a review page. In the review page sidebar, click Code Editor. You'll see two sections: Styles and Scripts.
Styles
The Styles section lets you add your own styling rules to change how the review page looks. You might use it to:
- Adjust spacing, borders, or colors beyond the Appearance settings
- Match fonts or colors to your website
- Fine-tune the layout of the form or rating selector
Type or paste your styling rules into the editor. When you're done, click Save. Your changes apply to the review page as soon as customers load it.
Scripts
The Scripts section lets you add custom scripts that run when the review page loads. You might use it to:
- Track visits with analytics
- Add custom behavior when customers interact with the form
- Integrate with other tools on your site
Type or paste your scripts into the editor. Click Save when you're done. Scripts run when customers open the page to leave feedback.
Saving Your Changes
Each section (Styles and Scripts) has its own Save button. Click Save in the section you edited to apply those changes.
If you have more than one review page, clicking Save opens a confirmation dialog. You can choose to:
- Save to this page only – Apply your changes only to the review page you're editing.
- Publish to all other review pages – Copy the same styles or scripts to all your other review pages. Useful when you want consistent customization across locations or use cases.