Skip to content

Latest commit

 

History

History

ranking_survey

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Survey (Ranking 1-5)

Get feedback and data from users through an in-app message with a single-choice survey. Users can be asked to rate the app between 1 to 5 stars, sad and happy faces, and more. The results are then tracked in the delivery report.

Ranking Survey Screenshot

About This Template

This HTML template will let you submit a survey with a ranking value between 1-5. You can then add your own click handler to send this value to an API of your choosing.

document
.querySelector("#option_1")
.addEventListener("click", function (e) {
handleSurveyAnswer(1);
OneSignalIamApi.close(e);
});

Be sure to update the click handlers of each ranking button to submit the request to your API.

Ranking Survey Animation