다른 도메인 간 추적 문제는 여기에서 설명 할 수 없습니다.Google 웹 로그 분석 : URL에서 전송되었지만 보고서를 통해 소스를 전달하지 않은 교차 도메인 매개 변수
나는 두 개의 별도 도메인을 가지고 있으며 그들 사이에 _link 메소드를 사용하고 있습니다. Google 애널리틱스 utm 매개 변수가 하나의 도메인에서 다른 도메인으로 전달되는 것을 볼 수는 있지만 그럼에도 불구하고 두 번째 도메인에 도달하면 새로운 방문자로 간주됩니다 (Google 애널리틱스 디버거를 사용하면 새로운 방문자 ID와 캠페인/소스/매체 정보가 domaina의 추천으로 대체되었습니다. 나는 모든 GA URL 매개 변수 첨부와 secure.domainb.com로 이동 얻을 링크를 클릭하면 <a href="https://secure.domainb.com" onClick="_gaq.push(['_link', 'https://secure.domainb.com']); return false;">Donate Now</a>
:
domaina.com에 코드 :
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(["_setAccount", "UA-111111"]);
_gaq.push(["_setDomainName", "none"]);
_gaq.push(["_setAllowLinker", true]);
_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>
그리고 링크는 지금처럼 보인다 하지만 내가 말했듯이, 소스 데이터는 통과하지 못했습니다. secure.domainb.com에
코드 (나는이 직접 제어 2 개 UA 코드는이 페이지에 있다는 것을주의하지 않는다, 내 두 번째 나열된 인) :
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(["_setAccount","UA-222222"]);
_gaq.push(["_trackPageview"]);
_gaq.push(["_setAccount","UA-111111"]);
_gaq.push(["_setAllowLinker",true]);
_gaq.push(["_setDomainName","none"]);
_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>
내가했습니다 이전에이 설정으로 도메인 간 추적을 성공적으로 구현했기 때문에 이것이 작동하지 않는 이유를 당황스럽게 생각합니다.
의견이 있으십니까?
미리 감사드립니다.