javascript - Google Analytics: do I need to encapsulate variables with quotes or not? -
my google analytics isn't functioning anymore. have script loops on array of accounts push data into.
one line of code looks this:
_gaq.push([prefix+'_trackevent', 'app', 'app', 0, true]);
my question:
does prefix-variable need between ' ' or efficient? or need add ' before prefix?
thanks!
mario
Comments
Post a Comment