サイトと別のドメインのショッピングカートの間にGoogleアナリティクスのクロスドメイントラッキングを実装します。WordPressサイトでは、唯一のドメインのレポートの継続性を維持するために、元のプロファイルIDを保持しています。
WordPressサイト
var _gaq = _gaq || [];
_gaq.push(['o._setAccount', 'UA-xxxxxxxx-4']);
_gaq.push(['o._trackPageview']);
_gaq.push(['xd._setAccount', 'UA-yyyyyyy-1']);
// other cross-domain parameters are set here...
_gaq.push(['xd._trackPageview']);
ショッピングカートサイトで、Cookieをまっすぐに保つために、同じ名前のトラッカーを使用する必要がありますか?つまり、2番目のサイトに必要ですか
ショッピングカートドメイン
_gaq.push(['xd._setAccount', 'UA-yyyyyyy-1']);
_gaq.push(['xd._trackPageview']);
または、デフォルトのままにすることもできます。
_gaq.push(['_setAccount', 'UA-yyyyyyy-1']);
_gaq.push(['_trackPageview']);
それぞれの場合の効果は何ですか?