I have been working with the product manager of Google web optimizer regarding integrating GWO into Joomla 1.5
There is one last issue I can't seem to figure out!
The problem is with placing this bit of code:
Code: Select all
<script>
function utmx_section(){}function utmx(){}
(function(){var k='0404766662',d=document,l=d.location,c=d.cookie;function f(n){
if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return c.substring(i+n.
length+1,j<0?c.length:j)}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;
d.write('<sc'+'ript src="'+
'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com'
+'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='
+new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
</script>
Code: Select all
<script>
function utmx_section(){}function utmx(){}
(function(){var k='0404766662',d=document,l=d.location,c=d.cookie;function f(n){
if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return c.substring(i+n.
length+1,j<0?c.length:j)}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;
d.write('<sc'+'ript src="/'+
'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com'
+'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='
+new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
</script>
Expected to find: te('<sc'+'ript src="'+'
Found on line 85: te('<sc'+'ript src="/'+
At first I thought Joomla was adding an escape, but when I ran it on an installation that was in the folder, it showed a path as well as the /
I obviously have editor turned off, and even tried using a couple of Jumi-like extensions that embed code. Still the same.
Anyone got any ideas?