This is a mistake in their documentation; their code will not work properly.
This line should read:
_gaq.push(['myTracker._trackEvent', category , action ]);
You're right. The way they do it has a category and an action passed as literal strings, not the passing of variables that contain strings in them.
source
share