Web Survey
Ever wanted to add one of those useless, annoying public opinion polls to your page but don't have the unlimited free time to write it or the database server and the processing engine to support it?
By adding just two lines of code to your HTML you can!
Well, actually, it's not quite that simple, but pretty close.
- Go to Survey Admin
- Create an account
- Add the URL of your host page
- Create a survey
- Add the following lines to your webpage:
In the header -
<script type="text/javascript" src="http://garyrumb.dnsalias.com:88/cgi-bin/Survey.exe"></script>
In the body where you want the survey -
<script type="text/javascript">survey()</script> - You're done.
The details:
In order to view the survey and survey results you must have javascript enabled in your browser. Without it, you will see nothing. You will still experience the delay as the content loads, but nothing will display. No, really, nothing.
Domain mapping is one-to-one. That means the survey will only display on one page — the one listed as the URL in the admin tool.
It uses cookies. Harmlessly. Really. The number of the last survey taken is recorded in a cookie so that each visitor can only take the current survey once. Yes, if your visitor deletes his cookies, he can take it again. And again, and again. If he uses a different machine, or a different browser on the same machine, he can take it again. Consider this carefully if you are planning to use this for scientific studies and need statistical accuracy. I truly can't imagine anybody would, but...
There are two ways to view survey results:
- Take the survey - every time you visit the page it will show the current results
- Open up the survey in the admin tool
This is free for non-commercial use and I reserve the right to terminate any user at any time. My code, my server, my rules.
You want to use it for commercial purposes? I need to cover my bandwidth costs. My rates are reasonable and I'm willing to negotiate, but it's not free.
