Hi All, Please help me troubleshoot.
I am facing some problem using the google analytics module on dnn 5.2.1 I have added the Google Analytics module on my site. But the page was showing the javascript error.
When i view sources the page, i found the error message pointing to pageTracker._trackPageview(<script type="text/javascript">
So I decided to remove the module and empty the recycle bin.
Even after I done that, all my pages are still showing javascript error and i'm still seeing the google analytics tracking codes when i view sources while rendering the page on IE.
Is there a way I could manually remove the tracking codes from .aspx page?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<script type="text/javascript" src="/Resources/Shared/scripts/initWidgets.js" ></script>
<script type="text/javascript">
//<![CDATA[
Sys.Application.initialize();
//]]>
</script>
</form>
<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">
var pageTracker = _gat._getTracker("UA-xxxxxxxx-1 ");
pageTracker._trackPageview(<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-xxxxxxxx-1");
pageTracker._trackPageview();
} catch(err) {}</script>);
</script>
</body>
</html>