Where’s my Egg?

I just noticed that Crazy Egg stop collecting my blog stats a while ago. It’s my fault because I switched my theme and forgot to embed the Crazy Egg codes back.

As a result, I’ve made a WordPress plugin so that the codes will be automatically added to my theme. With a condition that the <?php wp_footer() ?> must be present in footer.php. Go to Plugins→ Crazy Egg Configuration to configure.

Download

20 Comments

Hiten Shah

Thanks for being on it, and creating the plugin for us. :-)

kobak

WoW, thanks for the plugin! :-)

jazzle

Eggsactly what I was looking for - many thanks!

Fahmishah

Thx for that plugin!

lausse

Greta - Ill try it. just what I needed

Ratio

Howdy,
Has anyone had trouble getting this plug-in to work on a WP blog that have all the blog files in a different directory that the WP blog index page?

i.e.:
inde.php (my blog homepage)
/blog/wp-admin/
/blog/wp-content/
etc.

When I enter in my Crazy Egg code, the JavaScript code is never actually added to my blog pages.

I have even tried :
– Setting up a different Crazy Egg account to get a totally different CE # (in the JavaScript code)
– Deactivating the old CE plug-in from within my WP admin
– Removing the plug-in file from my server
– Downloading the CE plug-in from this web site, again
– Dumping my cache and cookies
– Uploading the CE plug-in back into the /blog/wp-content/plugins/ folder
– Refreshing my WP plug-ins admin page
– And setting my new CE code
… but still no luck.

Notice that I never entered my new CE e-mail address, just the CE code #. The plug-in never asked for my new the CE Account IE (e-mail address in this case).

Any ideas?

Thanks,
_rs

Ratio

Oh, and my theme has the following set in my footer.php:

I’m not a programmer, just a designer, but is this the same as which is mentioned above?

Thanks again

Ratio

Huh, I guess you can’t post PHP in a comment field :-) soory about the extra posts …

My footer code (betwen the php tags):
do_action(’wp_footer’);

Zeo

Ratio, the plugin doesn’t track logged in user.

If you want to, remove && !is_user_logged_in()

Ratio

Awesome, thanks for the reply Zeo, that worked.

Cheers,
_rs

mary_bc

Hi, I can’t find the Crazy Egg plugin download..anyone know where I can download it. Thans much

Zeo

mary_bc, Now there’s a zip. Sorry about that :D

Lee Wilkins

awesome plugin, struggled a little before finding this.

thanks a million

Dantana

Installed the plugin several weeks ago and it worked great. Now that the initial crazy egg test is over, I decided to start a new one. Except now the code isn’t being displayed in my index page. As a result, Crazy Egg thinks I’m not getting any visits.

Any ideas?

Francis

Zeo, thank you for providing such a useful plug-in! One problem though: the code I got was in the following format: “/pages/scripts/1234/5678.js”. The plug-in ignores the slash and everything after it when entering a Crazy Egg ID like 1234/5678. I suppose CE changed their URLs for new accounts… Any chance you can add support for these?

Thanks again,

F

Zeo

Francis, please download the new one. I’ve made a minor fix to the code.

Francis

Works perfectly now :) Thank you very much for the quick fix!

Holger Dieterich

Thanks for the plug-in.

Maybe it’s a dull question, but which page will actually be tracked with this plugin? The blog home page, the post detail page, …?

Since crazyegg creates a heat map of a specific page, this may be important.

thanks.

Leave a Comment

(required)
(will not be published) (required)