...

View Full Version : IE ruining my site with "pageTracker" undefined



eiger23
10-07-2011, 06:44 AM
I've been testing my site in firefox and safari and everything was a OK. Now IE is telling me that "pagetracker" is undefined and its not taking me to the other links on my site. Also the content on the first page is not showing up in IE.

jonathaneiger.com (http://www.jonathaneiger.com)

DanInMa
10-07-2011, 02:59 PM
did you recently update your google analytics source code by chance?

DanInMa
10-07-2011, 03:07 PM
I suspect you did. this appears to be the solution: http://stackoverflow.com/questions/3503511/google-analytics-pagetracker-is-not-defined


<div id="h_menu">
<ul id="menu_new">
<li><a href="#home" class="navi_home" onClick="_gaq.push(['_trackEvent', 'Main', 'Home', 'Home']);">home</a></li>
<li><a href="#portfolio" class="navi_portfolio" onClick="_gaq.push(['_trackEvent', 'Main', 'Portfolio', 'Portfolio']);">about</a></li>

<li><a href="#services" class="navi_services" onClick="_gaq.push(['_trackEvent', 'Main', 'Services', 'Services']);">services</a></li>
<li><a href="#about_us" class="navi_about" onClick="_gaq.push(['_trackEvent', 'Main', 'About', 'About']);">portfolio</a></li>
<li><a href="#contact_us" class="navi_contact" onClick="_gaq.push(['_trackEvent', 'Main', 'Contact', 'Contact']);">contact</a></li>
</ul>
</div>

eiger23
10-07-2011, 03:37 PM
Thanks! It solved the error problems it was giving me but it still doesnt go to the other pages of the site. It working in safari and firefox though

DanInMa
10-07-2011, 04:32 PM
if you applied the changes i suggested, they are not showing on your live site.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum