Visser Labs

Saturday, February 2, 2008

Integrating Reinvigorate into Wordpress

Why the Reinvigorate for Wordpress plugin – available from Reinvigorate – doesn’t work is beyond me! Making a hard-coded fix isn’t, and as an added bonus it doesn’t distort your statistics by filtering out Administrators browsing the site.

Add the following to your Wordpress theme (recommend footer.php):


<?php
get_currentuserinfo();
global $user_level;
if ($user_level != 10) {
echo "<script src='http://include.reinvigorate.net/re_.js' type='text/javascript'>
<script type='text/javascript'>";
echo "re_('75441-47p89ssr86'); </script>";
}
?>

Remember to change the Site ID to your own.

3 Comments »

  1. Michael,

    How do I get a beta invite?!?!

    Seems they’ve been in private beta FOREVER!

    -Alister

    Alister Cameron // Blogologist
    http://www.alistercameron.com

  2. March 19

    Hi Alister,

    I’ve heard similar requests, I sent them an e-mail enquiry about the delay to no response, the folks at reinvigorate seem to be a quiet bunch.

    I’m sure the back-log of requests will be approved when reinvigorate goes official public release, in the meantime try pestering team members by e-mail and across the web!

Trackbacks

Leave a comment

The perfect comment is interesting, on-topic and/or highly amusing.