私は午前中ずっと、Google ウェブサイト オプティマイザーで多変量テストを実行しようとして苦労してきました。
ヘッダー/フッター コードをコピーしてページに貼り付け、基本的なページ セクションをセットアップして、すべてが機能していることを確認しました。
コードを検証しようとすると、失敗したと言っています
"No sections detected on test page
TestSectionName - Unexpected or missing characters - Line: 422 Expected: </noscript>"
ばかげたことは、出力が明らかにそこにあり (asymetric noscript タグを回避するために asp リテラルを使用しました)、次のようにソースで明確に確認できることです。
<script>utmx_section("TestSectionName")</script><h1>Buy This Product!</h1></noscript>
私はすでにサイト内の既存の Google アナリティクス コードを無効化/削除しようとしましたが、競合していた可能性はありませんでした。
asp.net フレームワークとこの WSO フレームワークには互換性がない可能性があると思います。asp.net/page コンテンツのない未加工の html ファイルに保存されたまったく同じコードを使用して、問題なく検証することができました。
例えば
<html><head></head><body>
<!-- Google Website Optimizer Control Script -->
<script>
function utmx_section(){}function utmx(){}
(function(){var k='xxxxx',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>
<!-- End of Google Website Optimizer Control Script -->
<script>utmx_section("TestSectionName")</script><h1>Buy This Product!</h1></noscript>
<!-- Google Website Optimizer Tracking Script -->
<script type="text/javascript">
if(typeof(_gat)!='object')document.write('<sc'+'ript src="http'+
(document.location.protocol=='https:'?'s://ssl':'://www')+
'.google-analytics.com/ga.js"></sc'+'ript>')</script>
<script type="text/javascript">
try {
var gwoTracker=_gat._getTracker("UA-xxxxx-1");
gwoTracker._trackPageview("/xxxxx/test");
}catch(err){}</script>
<!-- End of Google Website Optimizer Tracking Script -->
</body>
</html>
このすべての後、a)多変量テストで asp.net を使用して成功した人がそこにいるかどうか疑問に思っています
b) asp.net の何かとの既知の非互換性
c) WSO 多変量テストでのコーディングに関しては、既知の「禁止事項」
d )私が見逃している本当に明らかなことは何ですか?