Displaying your last 100 customer satisfaction ratings is more advanced to set up than using the ratings box widget to display totals. For more information on the ratings box widget, see Displaying satisfaction ratings totals and an overall score .
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, ...]As you can see, it is very basic. It's up to you to decide how to display the data.
You must be an administrator to use this feature.
Accessing your last 100 ratings
You need to turn on satisfaction ratings, if you haven't already done so. Then you can access your last 100 satisfaction ratings.
- Click the Admin icon ( ) in the sidebar, then select 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.
- Select Allow me to display public satisfaction statistics .
The page updates with more information, including statistics based on your last 100 customer satisfaction ratings.
- Go to http:// subdomain .zendesk.com/satisfaction.json (where subdomain is your Zendesk account) to access the JSON file with your ratings.
Displaying your last 100 ratings
The easiest way to display your ratings on a page is to use images to represent responses.
In this example, a happy Buddha face represents a positive rating, and an unhappy Buddha face represents a negative rating.
Here is the jQuery for this example (you can use any framework or language you'd like):
This code snippet gets your last 100 ratings from Zendesk, then iterates through the entire length of the response (which will always be 100) and puts a smiley or sad face in the #last_100_ratings element.
- Add this data to a graph using jCharts or a similar program.
- Collect and store your ratings data daily so you can review historical data.
- Generate an image from it to use in email newsletters or signatures.