JavaScript consumer review script on site leaving

Asked By 0 points N/A Posted on -
qa-featured

Hello guys,
I would like to know if it is possible to write a JavaScript code that would allow to ask the website visitor to let a feedback before closing the window or leaving the site.
Let's call it a consumer review script, my only requirement is to make it as quick and light as possible in such way it does not annoy visitors.
Any advice ?
Thank you.

SHARE
Best Answer by Mustapha B.
Answered By 0 points N/A #195848

JavaScript consumer review script on site leaving

qa-featured

Hi,

Yes it is possible to write a JavaScript code that would allow to ask the website visitor to let a feedback.You can contact with a JavaScript expert nearby yours.

Best Answer
Best Answer
Answered By 0 points N/A #139943

JavaScript consumer review script on site leaving

qa-featured

 

Hi,
Yes it is possible to do it, but the best choice is to use Server-Side Script Tools like PHP, Perl, Python etc… for more safety and liability.

Also you can find some website that can integrate this kind of services with your site. This will help you to avoid many troubles that you will face if you decide to make your own feedback system.

Answered By 0 points N/A #195850

JavaScript consumer review script on site leaving

qa-featured
There are a number of ways, the easiest one is to use window prompt. The example shows a general concept.

var message=prompt("Please give us your feedback here,"Feedback Window");
if (message!=null && message!="")
  {
alert('Hello ' + message + ', Good to meet you');

}

 

Login/Register to Answer

Related Questions