Forum Moderators: martinibuster

Message Too Old, No Replies

does GA allow js script?

         

m2006001

2:20 pm on Mar 21, 2006 (gmt 0)

10+ Year Member



i put all GA script in a js file to make management easily.
does GG allow this method?

thanks!

londrum

9:04 pm on Mar 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



nope!
i thought of doing that too, but they won't allow it. the code has to appear exactly as they give it in the HTML.

i ended up doing a PHP include - which will do exactly the same thing as your external javascript, and keeps Google happy too.

imstillatwork

11:16 pm on Mar 21, 2006 (gmt 0)

10+ Year Member



yeah, I have all the ad types in a include file, and can pass in variables to change the colors, etc. so i can implement any ad i want anywhere i want with any look I want with one line-o-code. (CFML)

m2006001

3:18 am on Mar 22, 2006 (gmt 0)

10+ Year Member



just like some day before, when gg AS crash in my country, AS can not display,then my page cannt display yet.

so i must delete all gg scripts, this will cost me more than one day ,becuase i have 240,000pages, all is html file.

i use js file for AS script, when it down, i just clear js content.