1
我在谷歌分析中遇到了一些問題。 Ot說有一個缺少的http響應。 我使用TYPO3模板中的代碼,它可以在整個站點上運行,但是不能在我現在正在使用的頁面上運行。所以你有什麼想法,爲什麼我可能會這樣?TYPO3中谷歌分析缺少HTTP響應
這裏是鏈接到頁面: http://www.operation-karriere.de/index.php?id=241
這裏是我的網頁代碼。
<script type="text/javascript">
var gaProperty = 'UA-11409155-21';
var disableStr = 'ga-disable-' + gaProperty;
if (document.cookie.indexOf(disableStr + '=true') > -1) {
window[disableStr] = true;
}
function gaOptout() {
document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStr] = true;
}
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-11409155-21', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
親切的問候,
安德烈
但似乎沒有任何js錯誤 –
這是一個鏈接到頁面:http://www.operation-karriere.de/index.php?id=241 –
鉻插件「谷歌標籤助手」告訴我你應該把它移動到頭部。 https://support.google.com/tagassistant/answer/3059154?ref_topic=2947092#move_head –