This module demonstrates a simple implementation of the Net Promoter Score (NPS) concept, using a random Javascript popup and a MySql/PHP back end
When you first visit the page, you should see a popup appear after a couple of seconds, that will give you the chance to rate your experience on a scale of 0 to 10, and add any comments about the service
The back end both ensures that users aren't asked to fill out this survey more than once, and collects them into a report, accessible through HTML at this address:
npsreport.php?reportpassword=reportpassword
or as a JSON datasource to combine with other data collection tools at:
npsreport.php?reportpassword=reportpassword&format=json
Written by Pete Warden, using popup code by Michael Leigeber and based on Eric Ries' blog posts on NPS