0

私は2つのドメインにわたって3つのGWO多変量テストを設定しました。リンク先ページが正しく設定されており、3つのテストのすべてについて訪問者をトラッキングしていますが、コンバージョンはそのいずれにも記録されていません。私はGoogleがcross-domain trackingのために提供している指示に従ったが、まだダイスはなかった。Google Site Optimizerはドメイン間のコンバージョンをトラッキングしていません

ここでランディングページのスニペット(IDは削除)です:

<script> 
    // Allows for multiple-domain tracking 
    _udn = "none"; 
</script> 
<!-- Google Website Optimizer Control Script --> 
<script> 
    function utmx_section(){}function utmx(){} 
    (function(){var k='xxxxxxxxxx',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 escape(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 --> 
<!-- Google Website Optimizer Tracking Script --> 
<script> 
    var _gaq = _gaq || []; 
    _gaq.push(['gwo._setAccount', 'UA-xxxxxxxx-x']); 
    _gaq.push(['gwo._setDomainName', 'none']); 
    _gaq.push(['gwo._setAllowLinker', 'true']); 
    _gaq.push(['gwo._trackPageview', '/xxxxxxxxxx/test']); 
    (function() { 
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 
    })(); 
</script> 
<!-- End of Google Website Optimizer Tracking Script --> 

そしてここでコンバージョンページの抜粋です:

<!-- Google Website Optimizer Conversion Script --> 
<script> 
    var _gaq = _gaq || []; 
    _gaq.push(['gwo._setAccount', 'UA-xxxxxxxx-x']); 
    _gaq.push(['gwo._setDomainName', 'none']); 
    _gaq.push(['gwo._setAllowLinker', true]); 
    _gaq.push(['gwo._trackPageview', '/xxxxxxxxxx/goal']); 
    (function() { 
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; 
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 
    })(); 
</script> 
<!-- end of Google Website Optimizer Conversion Script --> 

いくつかの落とし穴:

  • 変換スクリプトスニペットがフッタにあり、閉じる前に</body>タグ。これは、サイトの構築方法によるものです。
  • コンバージョンページのURLは、訪問者がそれに先行するファンネルをどのように処理するかによって異なります。
  • ランディングページ&の両方のコンバージョンページには、GWOスニペットの後にGoogleアナリティクススニペットが挿入されています(ただし、ある場合はコンバージョンページにアナリティクススニペットがありません)。
+0

そして、わかったように、私はhttp://support.google.com/websiteoptimizer/bin/answer.py?hl=ja&answer=151978で手順4を忘れました。だから、常にすべてのステップを守ってください... – jeffbyrnes

+0

または、うーん、まだ動作していなくても、そのステップ4で正しく設定してください。助け、誰ですか? – jeffbyrnes

答えて

0

ユーザーにテストの組み合わせを割り当てるsiteopt.jsコードGWO負荷のコードを読んでから、_udn変数が'none'をサポートしていないようだが、唯一の実際値は、Cookieドメインはにスコープする必要があります。その代わりにGWOコードがあるページで使用されているドメイン('none'の代わりに'my.domain.com')にドメインを設定してみてください。ランディングページで

+0

非常に興味深い、ありがとう! Googleの独自の説明では、「none」の値を使用すると述べています。 – jeffbyrnes

0

は、あなたが持っているスニペット: _gaq.push(['gwo._setAllowLinker', 'true']);

は、Googleドキュメントを見てみる場合は、リンカを有効にする正しい方法があることがわかります。このことができます _gaq.push(['gwo._setAllowLinker', true]); // TRUE is not eclosed in apostrophes

希望。

関連する問題