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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -