Has anyone set up the Google Website Optimizer control script and tracking scripts, so that either an A/B test or Multi-Variate test can be performed on the page content within a template?
I have successfully set up several tests to track variants in my template, where the variants affect every page on the site.
Now, I'm trying to test two versions of my home page - which is a topic inserted into the template. I can't figure out where to put the control group script (which page) and if any modifications are required. I'm using ASPDNSF ML v8.1 C# with full code.
The Google Control script looks like this:
<!-- Google Website Optimizer Control Script -->
<script>
function utmx_section(){}function utmx(){}
(function(){var k='2971641902',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:'')+'&utm xx='+(xx?xx:'')+'&utmxtime='
+new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1 )):'')+
'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
</script><script>utmx("url",'A/B');</script>
<!-- End of Google Website Optimizer Control Script -->
It's supposed to be inserted before the header tag, but has to kick in prior to the template.
Any help is much appreciated.
Jeff