Hi- I added google analytics to my footer.php. Here's the code:
Code:
<div style="clear:both;"></div>
<div id="footer">
Copyright © 2009 · Even Eyes Speak (No More Tears) · All Rights Reserved · Website Design by Adam Swedenburg · <?php wp_loginout(); ?></p>
</div>
<?php do_action('wp_footer'); ?>
</div>
<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-9520847-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
On my G.A. Wordpress Confiduration page, I get this warning:
Quote:
|
Warning wp_footer(); not found in your footer.php file, this might mean this plugin will not work!
|
Did I place the code in the wrong place or am I missing something?
Thanks,
Adam