Now that LunarPages subscribers can use CrazyEgg for free, I thought I'd provide a quick tip for using it with your WordPress blog.
When you set your test on the CrazyEgg site you need to put a script into the very bottom of the page your testing. If you use Wordpress, you need to edit your theme's footer.php file. However, you want to make sure that the script is only called on your blog's main page so here's the php snippet to add right before the
</body>
tag:
<?php if(is_home()) echo '<script enter the generated script></script>'; ?>
Keep in mind, if you use a static front page, you need to change the page slug for your static front page to "home" and use
is_page(home)
rather than the
is_home()
conditional tag.