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)
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)
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)
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.