Google Analyticator

I have just finished coding my latest WordPress plugin, Google Analyticator. What Google Analyticator does is automatically insert the necessary JavaScript into your template to enable logging for Google Analytics. Google Analytics is Google’s latest service which monitors your website’s traffic for statistical analysis.

The idea for this plugin was suggested to me by Jonathan, and in about two hours we now have a plugin. Keep in mind that Google Analytics was just released within the past day. Enjoy!

8 Comments

  1. 1 Stu on Nov 15, 2005 at 1:46 am (Quote):

    Nice work. Will plug this baby into Dev Dawn.

    Cheers.

  2. 2 Jonathan on Nov 15, 2005 at 1:48 pm (Quote):

    did you have report yet? mine is still waiting for data….

  3. 3 cavemonkey50 on Nov 15, 2005 at 2:00 pm (Quote):

    No I don’t. I’m reading that even people who entered it normally are not getting reports yet.

  4. 4 CarLBanks on Nov 15, 2005 at 2:06 pm (Quote):

    Oh good so it’s not just me.

  5. 5 Jonathan on Nov 15, 2005 at 2:51 pm (Quote):

    Yea i thought for some reason the plug-in was the cause of it not working, bc the mint plugin puts the code at the way bottom of the head section, but good to hear its not just me….

  6. 6 cavemonkey50 on Nov 15, 2005 at 3:20 pm (Quote):

    The code should be at the very bottom of the head section. Unless your theme calls the wp_head function earlier.

  7. 7 Jonathan on Nov 15, 2005 at 4:01 pm (Quote):

    hmm well i have the mint plugin which puts it on the bottom, ur plugin puts in in the middle.

  8. 8 cavemonkey50 on Nov 15, 2005 at 4:25 pm (Quote):

    I see why, that’s just the order WordPress is adding the code. I assume that CSS is included by a plugin and not put in by yourself. So WordPress is just putting it in a different order (perhaps alphabetically).

Post a Comment

If you have the urge to code, run it through Postable and <pre><code>wrap it up</code></pre>.