- Number of positive ratings
- Number of negative ratings
- Overall score, (percentage of good ratings)
The numbers are based on your last 100 ratings, so it's a sliding window that is recalculated every time you receive a rating. The appearance and wording is customizable.
Getting the code for the ratings box
You add the ratings box by pasting a code snippet into the HTML of a page or template. You must be an admin to get the code.
- In Admin Center, click People in the sidebar, then select Configuration > End users.
- Click the Satisfaction tab.
- Make sure that Allow customers to rate tickets is selected and that you have at least 100 ratings.
If you don't have at least 100 ratings, you'll see the following message. In that case you have to wait until you get more ratings to use the ratings box.
- Select Allow me to display public satisfaction statistics.
- Click Save Tab.
The page updates with more information, including statistics based on your last 100 customer satisfaction ratings.
- Under How do I use it, copy all the HTML code in the box. You'll only see this HTML code if you if have 100 or more satisfaction ratings.
Adding the ratings box in the help center
Guide admins can add the ratings box to articles or to the home page of the help center.
To add the ratings box to the home page of your help center
- In Guide, click the Customize design icon () in the sidebar.
- Click the theme you want to edit to open it.
- Click Edit Code.
- In the Templates section, open the home page template.
- Paste the code for the ratings box in the template.
- Click Save.
- Click Preview to preview the effect of your changes on the page.
To add the ratings box to an article in the help center
- In Guide, click the Settings icon () in the sidebar.
- Ensure the Display Unsafe Content setting is enabled.
In this case, you want to allow unsafe content like script tags.
- Back in the help center, navigate to the article where you want the ratings box to appear.
- Click Edit article.
- Switch to the HTML editor by clicking Source code button on the editor's toolbar.
- Paste the code for the ratings box in the page and click Save.
The ratings box appears wherever you paste the code. If you want to customize the wording, the CSS, or place the box in a specific element on the page, see Customizing the ratings box below.
Customizing the ratings box
You can customize the satisfaction ratings box by changing the wording, changing the look, or setting where it appears on the page.
Customizing the wording
If you don't like the default wording that appears under the three numbers in the ratings box, you can change it. In the ratings box code, look for the following values:
Satisfaction.show({ strings: { goodRatings: "Said good", badRatings: "Weren't so sure", score: "Overall happiness", zendeskPlug: "Powered by <a href=\"http://www.zendesk.com/\">Zendesk</a>" } });
You can edit the values in quotes.
Customizing the look
The code you pasted into your HTML imports a CSS stylesheet:
@import url(https://support.zendesk.com/stylesheets/public_satisfaction.css);
If you want to customize the look of the ratings box, you an add your own CSS to the page where you put the ratings box, overwriting the CSS defined in the Zendesk stylesheet.