Note that this snippet has to be inside the <body>
for it to work — it won’t work when included in the <head>
. Also, in IE6, it would cause a security warning in IE6 for HTTPS pages.
Do what you want with this code, but please don’t use it. Use the more robust optimized Google Analytics snippet instead.
This snippet breaks the “no globals!” rule, but then again ga.js
relies on the global _gaq
variable.
okay, i changed it. i just want to make sure it's permissive more than anything. not too thrilled putting profanity in each entry... can we link to the license instead?