Customized Code – Give Me Feedback Code

Today we are moving on from the Rate my app code that we gave previously. The code we are giving you today will enable you to insert a link other than GooglePlay so that app users can rate your app elsewhere, such as on your website. As with all customized code, all you need to do is copy and paste into the script section that is situated within the ‘Advanced Edit’ tab.

Today’s code will help you create a pop up box called ‘Give me Feedback’.

This code is very similar to the ‘rate my app’. The code will insert a pop-up window that asks the user to rate your app, but in this code the rating system is not on GooglePlay. By tapping ‘Yes’, the user will be redirected to the chosen URL that you want you app rated on. This pop-up will not appear numerous times, but will be shown only once after a certain amount of time spent in the app.


setTimeout(function(){
feedbackShow = AppsgeyserJSInterface.getItem('feed')=='true';
if(AppsgeyserJSInterface.getItem('feed')==null){
if (window.confirm("Please, give me a feedback") == true) { /* Enter pop-up text */
AppsgeyserJSInterface.setItem('feed',feedbackShow ?'true':'false');
window.location='your feedback url'; /* Enter your feedback URL */
} else {
AppsgeyserJSInterface.setItem('feed',feedbackShow ?'true':'false');
}
}
}, 60000); /* Message will pop-up once after 60 seconds spent in app. Enter your time value in milliseconds, eg: 60000 ms = 60 sec, 30000 ms = 30 sec, 1000 ms = 1 sec */

To upload the code, please click on Edit.

open edit menu

Then click on Advanced Edit.

free android app
Choose Edit app to edit your free android app.

Scroll to the bottom and add in your customized code.

embed code

This is what the app will look like before and after:  Before the code has been added. No pop up.

This is what your app will look like before customized code
This is what your app will look like before customized code

  After the code has been added. With pop up.

This is what your app will look like after customized code
This is what your app will look like after customized code

We wish you the best of luck with your app, and hope that you enjoy adding in customized code to your app.

Appsgeyser will be adding more codes over the coming few weeks. Don’t forget to come back and learn some more.

*codes are not available on every template. Please check the advanced edit section to see if the coding area is open