0
我已經在谷歌分析中設置了跨瀏覽器跟蹤功能,以便跟蹤目標。然而,在目標流程中,我只能看到我的域名(mysite.com)在訪問源代碼中列出。我已成立了以下列方式追蹤:Google Analytics(分析)跨瀏覽器跟蹤僅在目標流程中顯示自己的域名作爲來源
所有非我的網站的安全頁面包含以下代碼:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXX-Y']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setDomainName', '.mysite.com']);
_gaq.push(['_setAllowHash', false])
_gaq.push(['_trackPageview']);
(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>
我的網站,在那裏的目標得以實現的安全頁面,包含下面的代碼:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXX-Y']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setDomainName', '.my-securesite.com']);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview']);
(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>
從非安全的網頁將數據推到安全頁面包含以下數據形式:
<form id="21343" method="post" action="https://my-securesite.com" onsubmit="return _gaq.push(["_linkByPost", this]);">
望着頁面的源代碼我也看到張貼的所有utmx數據:
action="https://my-securesite.com/confirm.php?__utma=XXXXXXXXXXX" onsubmit="return _gaq.push(["_linkByPost", this]);">
一旦我通過例如在谷歌搜索我看到下面utmx定義發佈數據時訪問mysite.com到my-securesite.com:
utmcsr=google|utmccn=(organic)|utmcmd=organic|
因此很明顯,該代碼的帖子權源....
我在做什麼錯在這裏?