Ratings

The Ratings Widget will allow your readers to give basic feedback on each article. 

Setup the Widget

To get started go to Settings > Article Ratings.

The Ratings Widget allows for two types of feedback, a thumbs up/thumbs down or a five star rating. 

 

Rating Text allows you to change how your feedback question is asked. 

Rating Submit Text is the message the reader will see after they input their feedback. 

Once those are in place we will determine where we'd like these feedback widgets.

To get started merge code below is practically all you need! 

[template("rating")]

Display the Widget

Add the Rating Widget to All Articles

You can place the rating merge code in the HTML of all articles. Go to Settings > Style > Custom HTML and select Article. You can place the merge code after the article body merge code or in the hg-article-footer div.


Either of these locations will display at the bottom of each article.

You'll probably also want to add a header to display above the rating as well and perhaps a div with a class so that you can style the rating widget.

Something like the following should do:

<div class="Ratings!">
 <h3>Rate this Article!</h3>
 [template("rating")]
 </div>

Add the Rating Widget to Individual Articles

If you only want to display the rating widget in certain articles you can place the rating merge code at the bottom of individual articles. To do so, edit the article and click the Source button in the top right of the editor toolbar.

Scroll to the bottom of the article and paste the merge code.

You'll probably also want to add a header to display above the rating as well and perhaps a div with a class so that you can style the rating widget.

Something like the following should do:

<div class="Ratings">
 <h3>Rate This Article!</h3>
 [template("rating")]
 </div>

Reporting

You can obtain a report on article ratings from Reporting -> Dashboard. More detail can be found in this article.