
Aceasta problema apare din cauza codului javascript. Daca aveti un cod google API, MAPS etc. codul trebuie modificat.
In cazul meu problema a fost in felul urmator:
Inainte de </body> avem urmatorul cod analytics,
<script type=”text/javascript”>
var gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(“%3Cscript src=’” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
try {
var pageTracker = _gat._getTracker(“UA-XXXXXX”);
pageTracker._trackPageview();
} catch(err) {}</script>
, in <head>
pentru flash aveam,
<script src=”swfobject.js” type=”text/javascript”></script>
Rezolvarea a fost sa pun codul, <script src=”swfobject.js” type=”text/javascript”></script> dupa analytics, si arata asa,
<script type=”text/javascript”>
var gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(“%3Cscript src=’” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
try {
var pageTracker = _gat._getTracker(“UA-4207753-12″);
pageTracker._trackPageview();
} catch(err) {}</script>
<script src=”swfobject.js” type=”text/javascript”></script>
Daca intampini probleme lasa mesaj aici.
Articole similare: