1.4.2에서 1.5.1로 업그레이드 한 후 Google Analytics 전자 상거래 추적 기능이 작동하지 않습니다. Google은 트래픽, 방문자, 심지어 목표를 추적하지만 Google Analytics의 전체 전자 상거래 섹션은 작동하지 않습니다 ...Magento 1.5.1 CE의 Google Analytics 전자 상거래 추적 오류
내 템플릿의 googleanalytics.xml이 변경되었으므로 여기 일부 스레드를 읽었으므로 변경 사항이 없습니다. 분석 구글, 아직 http://magentist.com/magento_help/magento-google-analytics-issues/
및 작동하지만 분석에서 전자 상거래 추적 작업을 나던 :
그런 다음이 게시물에 따르면 우선 ga.php 만들었습니다.내가 구매를 할 때, 나의 성공 페이지의 소스 코드를 잘 body 태그 폐쇄하기 전에 이러한 종류의 코드를 제공합니다 : 당신이 그것을 발견하는 경우
<!-- BEGIN GOOGLE ANALYTICS CODE -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXX-X']);
_gaq.push(['_trackPageview']);
_gaq.push(["_setDomainName", "www.mydomain.comindex.php"]);
_gaq.push(["_setAllowHash", false]);
(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 GOOGLE ANALYTICS CODE --> </div>
는, 슬래시가 index.php에 전에없는
_gaq.push(["_setDomainName", "www.mydomain.comindex.php"]);
어쩌면 그게 문제가 뭔지 모르겠지만, 누군가가 그것을 고칠 방법을 알려주 수 있습니까? ((
다음기능 내 ga.php 오버라이드처럼 보이는 방법은 다음과 같습니다 :
<!-- BEGIN GOOGLE ANALYTICS CODE -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
' . $this->_getPageTrackingCode($accountId) . '
_gaq.push(["_setDomainName", "' . $this->getDomainName() . '"]);
_gaq.push(["_setAllowHash", false]);
' . $this->_getOrdersTrackingCode() . '
(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 GOOGLE ANALYTICS CODE -->
내가 거기에 희망을위한 솔루션입니다
나는 어떤 성공없이 구글에있는 모든 솔루션을 시도 .이
은 사전에 감사합니다 :))
여기 아무도 없습니까? : (( –