Avinash makes a great point when he argues that good web analytics must include qualitative as well as quantitative data. We can use Google Analytics (or similar) for the later but how to do the former? I wanted to be able to use a survey to ask my visitors some simple questions but I wanted more than a fixed feedback link. What I really wanted was to ask only those visitors who had committed some time to a site to be asked for their responses.
PollDaddy is a really great Web 2.0 survey engine and is simple to set up and deploy. My project was to write some Javascript (including cookies) that would count the number of pages that a visitor had seen and after a fixed number show a striking but discrete alert asking for their feedback. The visitor could either click and have PollDaddy's survey appear or cancel and not be bothered again.
Like most weekend projects this took a few key steps:
- Sign-up for a PollDaddy account (free for the number of survey responses I expect to get)
- Find code on the web for the bits of Javascript I needed: cookies, overlays, integrating style sheets
- Build the prototype locally on my home machine
- Debug until it was right
- Upload the Javascript code to some of my own hosting space
- Test the remotely hosted code with pages on my laptop
- Integrate the code within my test shop The Market Quarter
- Debug again to remove a name clash between Shopify and my CSS
- Document here and on my own blog www.jonathanbriggs.com
No comments:
Post a Comment