Problema con Internet Explorer y Google Analytics con dominios de dos letras

Si tienes un dominio de dos letras puedes tener un problema a la hora de que Google Analytics muestre resultados sobre tus visitantes que utilizan Internet Explorer.

La red social de médicos (vi.vu) tenían este problema y después de muchas pruebas lo han solucionado :

Tan sólo hay que  añadir  el texto en negrita en tu código de GA y utilizar el truco que nos indican en Google para multiples subdominios

<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-12345-1″);
pageTracker._setDomainName(”none”);
pageTracker._setAllowLinker(true);

pageTracker._trackPageview();
} catch(err) {}
</script>

Visto en:

Blog Vi.vu >>

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds. Valid XHTML and CSS.

Bad Behavior has blocked 143 access attempts in the last 7 days.