2017-04-11 211 views
-1
<script type="text/javascript"> 
    ar _gaq = _gaq || []; 
    _gaq.push(['_setAccount', 'UA-30365726-4']); 
    _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> 

我越來越線路上無2 Uncaught SyntaxError: Unexpected identifier錯誤,不知道是什麼問題。 當我按下F12鍵我得到錯誤的控制檯Uncaught SyntaxError: Unexpected identifier未捕獲的SyntaxError:意外的標識

+0

爲什麼這個標籤'php'? –

+0

這不是'php' –

+0

也'ar _gaq = _gaq || [];'應該是'var _gaq = _gaq || [];' –

回答

0

你錯過了在

ar _gaq = _gaq || []; 

v更高的IT必須

var _gaq = _gaq || []; 
相關問題