doo/GAJavaScriptTracker — pull request #4 by hpique (2012-08-20 17:57:59+00:00)
Title: Escape JavaScript parameters 

Only considering "\" and "'" so far. There might be others characters that also need to be escaped.

While we only had problems with the `label` parameter (as it is sometimes user-generated), I think it's best to sanitise all of them just in case a developer forgets that these values will be used between JavaScript single-quotes.

Not heavily tested.