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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -