J'ai un soucis sur mon forum (et uniquement là) avec Adsense et GG Analytics uniquement sous firefox.
J'ai ces erreurs :
Sous IE j'ai pas de soucis, mon tracker analytics et mes pubs s'affichent.
J'ai regardé le code mais je ne vois rien. Peut être un pb avec un autre script js? Bizarre que ça ne se passe que sous FF...
Quelqu'un aurais une idée?
J'ai ces erreurs :
a has no properties
http://pagead2.googlesyndication.com/pagead/show_ads.js
Line 2
d has no properties
http://www.google-analytics.com/ga.js
Line 4
Sous IE j'ai pas de soucis, mon tracker analytics et mes pubs s'affichent.
J'ai regardé le code mais je ne vois rien. Peut être un pb avec un autre script js? Bizarre que ça ne se passe que sous FF...
Code:
<script type="text/javascript"><!--
google_ad_client = "pub-1388556807284870";
/* 728x90, Forum */
google_ad_slot = "6093557921";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
...
<script type="text/javascript">
// Only links written to the page (already in the DOM) will be tagged
// Script can be called multiple times
function addExtLinkerEvents() {
var as = document.getElementsByTagName("a");
var extTrack = ["metalorgie.com"];
for(var i=0; i<as.length; i++) {
var tmp = as[i].getAttribute("onclick");
// Track links off site – i.e. no GATC
if (tmp != null && tmp.indexOf('urchinTracker') > -1) continue;
for (var j=0; j<extTrack.length; j++) {
if (as[i].href.indexOf(extTrack[j]) == -1) {
var splitResult = as[i].href.split("//");
as[i].setAttribute("onclick",((tmp != null) ? tmp : "") + "urchinTracker('/ext/" + splitResult[1]+ "');");
break;
}
}
}
}
addExtLinkerEvents();
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">
var pageTracker = _gat._getTracker("UA-340766-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
Quelqu'un aurais une idée?