Created
February 26, 2011 13:37
-
-
Save boblail/845207 to your computer and use it in GitHub Desktop.
Test Google Analytics, new Image, and Zombie
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'sinatra' | |
get '/image' do | |
<<-HTML | |
<html> | |
<head> | |
<title>new Image Test</title> | |
</head> | |
<body> | |
<h1>new Image(1, 1)</h1> | |
</body> | |
<!-- <script type="text/javascript" src="http://www.google-analytics.com/u/ga_debug.js"></script> --> | |
<script type="text/javascript"> | |
document.write(unescape("%3Cscript src='http://www.google-analytics.com/u/ga_debug.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> | |
<script type="text/javascript"> | |
new Image(1, 1); | |
</script> | |
</html> | |
HTML | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment