From: ShoreTel
Date: Wed, 7 May 2008 11:09:45 -0700 (PDT)
Local: Wed, May 7 2008 2:09 pm
Subject: Re: issue with noscript tag.
Yes, XHTML is a more difficult nut to crack than the out-of-the-box
GWO code can cope with. As an FYI, I'm running live experiments with the code (with some
Here's the latest code below, just paste it into your <head>:
<script type="text/javascript">
}
function startListening (obj,evnt,func) {
if (obj.addEventListener) { obj.addEventListener(evnt,func,false); } else if (obj.attachEvent) { obj.attachEvent("on" + evnt,func); } }
function _gwoVariationWriter () {
if (typeof(utmx_global_vd) == "object") { for (var i in utmx_global_vd) { if (utmx_global_vd[i].index > 0 && document.getElementById(i) && typeof(document.getElementById(i).innerHTML) == "string") { document.getElementById(i).innerHTML = utmx_global_vd[i].contents; } } } if (typeof(_gat) == "object") { var gwoTracker = _gat._getTracker(_gwoUacct); gwoTracker._trackPageview("/" + _gwoKey + "/test"); } else if (typeof(urchinTracker) == "function") { var _oldUacct = _uacct; _uacct = _gwoUacct; urchinTracker("/" + _gwoKey + "/test"); _uacct = _oldUacct; } }
function _gwoLoader () {
var x = getCookie("__utmx") var xx = getCookie("__utmxx") var h = escape(location.hash.substr(1)); var _gwo = document.createElement('script'); _gwo.type = "text/javascript"; _gwo.src = "http://www.google-analytics.com/siteopt.js?v=1" + "&utmxkey=" + _gwoKey + "&utmx=" + (x?x:'') + "&utmxx=" + (xx?xx:'') + "&utmxtime=" + new Date().valueOf() + (h ? "&utmxhash=" +h : ""); document.getElementsByTagName('head')[0].appendChild(_gwo); startListening(window,"load", _gwoVariationWriter); }
if (typeof(_gwoKey) == "string") _gwoLoader();
//--> </script> On May 7, 8:44 am, "[email address]" wrote:
> ShoreTel posted a XHTML compliant solution a while back:
> http://groups.google.com/group/gwo_archive/browse_thread/thread/6d1af...
> Ophirwww.prusak.com
> On May 6, 8:35 pm, swamy wrote:
> > Hi all,
> > I am using the multi variates. I enabled proxy_html_module in apache
> > How I can fix this problem, Please help me. Thanks in advance.
> > kumaraswamy.N
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||