Skip to content

Instantly share code, notes, and snippets.

@Poetro
Poetro / GWO.md
Created February 15, 2011 22:58
Potential problems with Google Website Optimizer
  • Adds at least 4 new JavaScript scripts to the site.
    • Makes the site load slower.
    • Makes the site be larger, that may be an issue for mobile devices.
  • Has some past with Cross-Site Scripting (XSS) attacks
  • Doesn't do too good job with dynamically generated data.
    • Needs more setup
    • Needs more custom JavaScript for every case
  • A/B testing needs manually create each version of the page, and requires redirect
  • For MVT the markup of the section needs to be changed to add the script tags for each and every item that is to be tested.
  • Adds development work
@Poetro
Poetro / gist:668369
Created November 8, 2010 22:13
request pass through
var express = require('express'),
underscore = require('underscore')._,
httpRequest = require('request'),
app = express.createServer(express.logger());
// For favicon requests just redirect them.
app.get('/favicon.ico', function (request, response) {
// Set the appropriate content type
response.writeHead(200, {
'Content-Type': 'image/x-icon'